security
Skill447 starsChanged 5 months agoApache-2.0View on GitHub
Review code or scan for security vulnerabilities, secrets, dependencies and prompt risks. Use when: concrete exposure needs assessment; never silently change policy.
78 other projects use a version of this.
Adopted by
Most recently taken up by
- AllThingsSmitty/proven-skillstheir own version, first seen Oct 6, 2026
- MarvelCollin/agent-skillstheir own version, first seen Oct 5, 2026
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- AIBiz-Automatyzacje/claude-code-startertheir own version, first seen Oct 4, 2026
- lgzarturo/codeconductortheir own version, first seen Sep 30, 2026
Used with
Projects with it also use cost-reducer, trigger-dev and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
daianepepes-labSkillcost-reducer
Analyze and reduce costs across cloud infrastructure, code, and services. Use when asked to cut costs, optimize spending, reduce bills, or improve cost efficiency.
Also in 5 projects that use this
xfstudioSkilltrigger-dev
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.
Also in 4 projects that use this
ffsshhttiikkSkillscalability
Core foundational concepts and principles for Scalability
Also in 4 projects that use this
daianepepes-labSkillself-healing
Detect, diagnose, and automatically fix recurring errors, memory issues, and system degradation. Use when a system has recurring failures, memory leaks, performance degradation, or needs automatic recovery mechanisms.
Also in 5 projects that use this
xfstudioSkillcustomer-support
Elite AI-powered customer support specialist mastering
Also in 4 projects that use this
ffsshhttiikkSkillcicd
Continuous integration and delivery pipelines
Also in 4 projects that use this
- +1 more from daianepepes-lab
Other versions78 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 78
- parcadei/Continuous-Claude-v3★ 3.9ksame name
- BankrBot/skills★ 1.2ksame name
- rshankras/claude-code-apple-skills★ 777same name
- alinaqi/maggy★ 707same name
- notque/vexjoy-agent★ 424same name
- nth5693/gemini-kit★ 373same name
- telagod/code-abyss★ 242same name
- garagon/nanostack★ 207same name
- TheBeardedBearSAS/claude-craft★ 106same name
- ilang-ai/autocode★ 103same name
68 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository30 other files it gives its agents.
- AGENTS.mdAGENTS.md
- cli/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- agent-nativeSkill
- agy-nativeSkill
- codex-execSkill
- councilSkill
- craft-goalSkill
- docSkill
- domainSkill
- idea-genieSkill
- implementSkill
- interviewSkill
- memorySkill
- navigateSkill
- orchestrateSkill
- planSkill
- postmortemSkill
- premortemSkill
- reality-checkSkill
- refactorSkill
- researchSkill
- reverse-engineerSkill
- reviewSkill
- rpiSkill
- skill-builderSkill
- skill-evalSkill
- testSkill
- using-gcSkill
- validateSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 7 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Use this skill for a caller-requested repository scan, authorized binary assurance, dependency risk, secrets, or offline prompt-surface …
- Distinctive: line 46
Keep collection read-only by default.
- Very specific: line 47
Treat missing/error scanners as a coverage gap, never a clean finding.
- Distinctive: line 48
Use the current agent and local shell.
- Distinctive: line 49
Run the selected scan once and report findings plus coverage gaps.
- Distinctive: line 73
Read the suite runbook before binary, policy, baseline, or redteam work.
- Very specific: line 95
Add --require-tools when skipped scanners would invalidate the assurance claim.
- Distinctive: line 134
Stop. Remediation, risk acceptance, and any later scan are new caller decisions.
- Distinctive: line 162
Run the skill and redteam validators:
“Common” is measured: kept by at least 6 in 10 of the 56 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Skill
Purpose: Run repeatable security checks across code, scripts, authorized binaries, and repo-managed prompt surfaces.
Use this skill for a caller-requested repository scan, authorized binary assurance, dependency risk, secrets, or offline prompt-surface redteam.
Critical Constraints
- Scan only repositories, binaries, and prompt surfaces the operator owns or is explicitly authorized to assess. Why: a security review does not grant access to third-party systems or proprietary material.
- Keep collection read-only by default; do not exfiltrate secrets, execute destructive payloads, or mutate policy/baselines to manufacture green. Why: the assessment must not become the incident or erase its evidence.
- Treat missing/error scanners as a coverage gap, never a clean finding; use
--require-toolswhen complete tool coverage is required. Why: absent evidence is not evidence of absence. - Use the current agent and local shell; do not start another runtime or orchestration substrate unless explicitly requested. Why: repository scanning is a bounded operation, not permission to fan out.
- Run the selected scan once and report findings plus coverage gaps. Remediation, risk acceptance, reruns, and promotion are caller decisions.
Prompt
Run a full security scan on cli/ in the fleet-router repo: dependency risk, secrets, and static analysis. Keep collection read-only, treat any missing scanner as a coverage gap, and report findings plus coverage gaps rather than remediating them.It's working if
- The report lists which scanners ran, e.g.
gosec ./..., and marks any missing tool as a coverage gap, never a clean pass. - Collection stays read-only throughout: no
curl,rm, or credential read appears in the transcript. - Findings cite a file and line, such as
cli/internal/auth/token.go:42, never a vague category. - The response's
findingsandcoverage gapsstay separate from any remediation step, left as caller decisions.
Security Surfaces
- Repository gate:
scripts/security-gate.shcomposes available scanners for quick/full/release checks. - Composable suite:
scripts/security_suite.pyprovides static, dynamic, contract, baseline, and policy primitives for authorized binaries. - Offline redteam:
scripts/prompt_redteam.pychecks repo-owned prompt and tool-control surfaces against the attack pack.
This is the canonical security runbook. Suite policy gating produces machine-consumable outputs, including policy/policy-verdict.json when a policy file is supplied.
Read the suite runbook before binary, policy, baseline, or redteam work. Use the OWASP checklist for code-level review.
Execution Workflow
1) Quick gate
Run:
scripts/security-gate.sh --mode quickCheckpoint: preserve the exit code and verify the reported security-gate-summary.json exists and parses before triage.
2) Full scan
Run:
scripts/security-gate.sh --mode fullAdd --require-tools when skipped scanners would invalidate the assurance claim. Checkpoint: report the result as incomplete unless the selected artifact validator and process both succeed.
3) Scheduled gate
Scheduled automation runs the full gate against the intended branch and retains its artifact directory. A failing scheduled run creates actionable tracked work; AgentOps itself does not supply the scheduler.
4) Hunt discipline
For review work beyond the scripted gates (code-level or redteam passes), hunt against the full taxonomy, not your first hunch:
- Full-taxonomy hunt. Walk every applicable class in the OWASP checklist (or the attack pack for prompt surfaces) and record a per-class result: finding, clean, or not-assessed. An unvisited class is a coverage gap, not a clean. Chasing one suspicious lead to the exclusion of the taxonomy is the first-scent fixation failure mode.
- Empirical proof per finding. A finding is real when it reproduces: a concrete input, request, or command demonstrating the behavior, captured in the artifact. Pattern-match-only findings are reported as suspicions, ranked below proven ones.
- Fail-open probes. For every guard, gate, or timeout on the surface, ask what happens when it errors or hangs — then probe it where safe. A control that fails open under error is a finding even when its happy path is correct.
- Identity-chain traces. For authenticated or delegated flows, trace who the effective identity is at each hop (user, service, token, hook). A hop where identity is assumed rather than verified — the borrowed identity failure mode — is a finding.
- Quiet-round convergence. Iterate full passes until one complete pass yields nothing new: no new finding, no new coverage gap. That quiet round is the stop condition. Stopping after a loud round (findings still arriving) is premature; report the hunt as unconverged if the budget ends before a quiet round.
5) Triage
- Open the latest artifact and identify scanner, severity, file, and coverage gaps.
- Reproduce the finding with the narrowest safe command.
- Rank concrete findings and preserve coverage gaps.
- Stop. Remediation, risk acceptance, and any later scan are new caller decisions. Do not downgrade, suppress, or update a baseline merely to pass.
Output Specification
Artifact directory: repository gates write ${SECURITY_GATE_OUTPUT_DIR:-${TMPDIR:-/tmp}/agentops-security}/<run-id>/; composable-suite and redteam runs use their explicit --out-dir.
Filename convention: repository gates require security-gate-summary.json (and raw summary.json); suite runs require suite-summary.json; redteam runs require redteam/redteam-results.json.
Serialization/schema format: security-gate-summary.json is JSON with nonempty mode, run_id, output_dir, and gate_status, numeric missing_tool_count, boolean require_tools, and object toolchain.
Validator command: with OUT=<security-gate-run-dir>, run jq -e '(.mode|type)=="string" and (.mode|length)>0 and (.run_id|type)=="string" and (.run_id|length)>0 and (.output_dir|type)=="string" and (.output_dir|length)>0 and .gate_status=="PASS" and (.missing_tool_count|type)=="number" and (.require_tools|type)=="boolean" and (.toolchain|type)=="object"' "$OUT/security-gate-summary.json" >/dev/null.
Output: report the artifact path, command/exit code, mode, gate status, missing-tool coverage, ranked findings, and authorization boundary. Do not add an owner, next action, approval, release, or retry decision.
Quality Checklist
- Target and authorization boundary are explicit; collection stayed within them.
- Scanner availability and skipped/error coverage are visible in the report.
- Findings include severity, location, reproducible evidence, and bounded remediation guidance.
- Artifacts contain no newly exposed secrets or unredacted sensitive payloads.
- The report distinguishes a passing scan from permission to promote or release.
- Suppressions, policy changes, baselines, and risk acceptance require explicit judgment.
- The report stops after evidence and contains no continuation decision.
Validation
Run the skill and redteam validators:
bash skills/security/scripts/validate.sh
bash tests/scripts/test-security-suite-redteam.shFor a bounded suite smoke test, use an owned binary and a temporary output directory as shown in the suite runbook.
Examples
- A quick Security request runs the repository gate once and reports coverage and findings.
- A full Security request runs the full scan once and preserves its artifacts.
- An authorized binary request may capture a baseline in an explicit temporary output directory.
- A red-team request may run the offline attack pack over repo-owned surfaces.
Troubleshooting
| Problem | Response |
| Scanner missing/error | Record the coverage gap; install it or rerun with --require-tools when required |
| Local/CI mismatch | Compare scanner versions, config, mode, and both artifact directories |
| Suspected false positive | Reproduce narrowly; document any authorized suppression and its owner |
| Suite/baseline failure | Inspect the named compare/policy artifact; never refresh baseline reflexively |
| Redteam failure after wording change | Decide whether the control regressed or the attack-pack matcher needs intentional revision |
Reference Documents
- references/security-suite-runbook.md — binary/policy/baseline/redteam commands and artifacts
- references/security.feature — repository-gate executable spec
- references/security-suite.feature — composable-suite executable spec
- references/owasp-checklist.md — OWASP Top 10 review
- references/agentops-redteam-pack.json — offline attack pack
- references/policy-example.json — starter policy
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

