security-review
Skill63 starsChanged 6 months agoMITView on GitHub
ox 6-phase AI security review pipeline. Combines deterministic OSS scanners (OpenGrep, govulncheck, OSV-Scanner, Syft+Grype, gitleaks) with parallel Claude hunter/validator subagents to find CLI input handling bugs, secret/credential redaction bypasses, daemon IPC authz holes, supply-chain risks, and LLM trust-boundary issues. Diff-scoped (vs origin/main by default). Never blocks merge. Use when asked to "security review", "/security-review", "review this for security", "audit this PR", "check for vulns", or before merging anything touching auth, lockfiles, daemon IPC, public command surfaces, or secrets/tokens/redaction code.
- Reads credentials
187 other projects use a version of this.
Adopted by
Most recently taken up by
- rafaelob/pragmatic-agent-skillstheir own version, first seen Oct 5, 2026
- Lukk17/agent-standardstheir own version, first seen Oct 5, 2026
- CaseyLabs/kc-secure-repo-templatetheir own version, first seen Oct 4, 2026
- HMBSbige/skillstheir own version, first seen Oct 3, 2026
- aprameyak/coding-skillstheir own version, first seen Oct 2, 2026
- hahuyhungdev/ai-coding-configtheir own version, first seen Oct 2, 2026
Used with
Projects with it also use kotlin-testing, configure-ecc 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.
tpavanipradeepSkillkotlin-testing
Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.
Also in 6 projects that use this
saxon-ySkillconfigure-ecc
Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Also in 12 projects that use this
InfopibeSkillcontent-hash-cache-pattern
Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.
Also in 12 projects that use this
InfopibeSkillralphinho-rfc-pipeline
RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.
Also in 10 projects that use this
mryeastcodeSkillpytorch-patterns
PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.
Also in 9 projects that use this
berntpoppSkilldependency-cve-sweep
Use when handling Dependabot PRs, CodeQL/Trivy alerts, or doing a routine dependency/CVE sweep for this repo.
Also in 5 projects that use this
Other versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 187
- github/awesome-copilot★ 40ksame name
- WorldFlowAI/everything-claude-code★ 4ksame name
- compozy/compozy★ 2.8ksame name
- getsentry/sentry-python★ 2.2ksame name
- xu-xiang/everything-claude-code-zh★ 2ksame name
- codeaholicguy/ai-devkit★ 1.6ksame name
- getsentry/skills★ 1ksame name
- microsoft/power-platform-skills★ 961same name
- thesongzhu/Friday★ 837same name
- ktnyt/cclsp★ 675same name
177 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 repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- monitor-prSkill
- review-incoming-prSkill
- sageoxSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 44
Do not paste the full FINDINGS.md into the chat — it can be hundreds of lines.
- Very specific: line 49
If ANTHROPIC_API_KEY is unset and CC_SUBSIDIZED is not set, the AI tier won't run.
- Very specific: line 50
If a run hits the cap mid-pipeline, the orchestrator emits a partial FINDINGS.md and the run-log notes which phase paused.
- Distinctive: line 63
If a finding needs deeper expertise, suggest the user route through one of these (don't auto-invoke — let the user decide):
- Distinctive: line 72
Don't block the user. Even on critical findings, the merge button stays green.
- Very specific: line 73
Don't re-run the pipeline phases manually.
- Distinctive: line 74
Don't paste raw deterministic-tool output into the chat.
- Very specific: line 75
Don't ask the user to install tools.
- Distinctive: line 76
Don't quote OWASP without a concrete reproducer.
“Common” is measured: kept by at least 6 in 10 of the 165 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-review — ox AI security pipeline
You are orchestrating a Synthesia-style 6-phase security review over the user's diff against origin/main. The pipeline shape, the dedup-before-validate ordering, and the right-size-models-per-phase principle all come from that post; the ox specifics (threat model, CLI/daemon primitives, hunter perspective frames) are local.
Trigger phrases
/security-review(no args) — review the diff vsorigin/main. Default./security-review --scope=<path-glob>— narrow to a specific path./security-review --hunter=<name>— run only one hunter (debug). Valid names:cli-input,secrets-redaction,daemon-ipc,supply-chain,llm-trust./security-review --rerun— re-run on the same diff, dedupe against the previous run's findings./security-review --cap=<usd>— raise the per-run cost cap (default $2; persisted insecurity/config.yml).
What you do
You are not the pipeline. You are the dispatcher. You shell out to security/scripts/orchestrate.sh and surface its output to the user concisely. The pipeline runs the AI subagents itself; do not try to re-implement them in this skill body.
bash security/scripts/orchestrate.sh "$@"The orchestrator drives all six phases:
- Prep — compute scope (diff vs origin/main, language mix, touched packages), write
security/.output/scope.md. - Map — run
security/scripts/deterministic.sh(parallel OSS scanners) + spawn the Cartographer subagent (Haiku) to draw the call graph from entry points (CLI commands, daemon IPC handlers) to sinks. Writessecurity/.output/surface.md. - Hunt — spawn 5 hunter subagents in parallel (Sonnet). Each has an explicit perspective frame (
cli-input/secrets-redaction/daemon-ipc/supply-chain/llm-trust) to fight finding convergence. Writessecurity/.output/findings-raw.jsonl. - Dedup — single Sonnet pass merges hunter findings + deterministic findings by root cause. Writes
security/.output/findings-deduped.jsonl. - Validate — one call per finding, model split: Sonnet for ~90%, Opus for the hard classes (
secrets-redaction-bypass,daemon-ipc-authz-bypass,supply-chain-tampering). Stricter than hunters; traces real call paths; checks existing mitigations. - Aggregate — drop false-positives, rank by severity, emit
security/.output/FINDINGS.md(markdown) +security/.output/findings.sarif(machine).
After the orchestrator returns
Show the user:
- The headline counts:
N critical, M high, P medium, Q low(from FINDINGS.md frontmatter). - The top 3 findings (by severity then exploitability).
- The path to the full report:
security/.output/FINDINGS.md. - The cost (from the orchestrator's run-log):
$X.XX, Yth-percentile vs last 30 runs.
Do not paste the full FINDINGS.md into the chat — it can be hundreds of lines. Summarize, link. Keep the summary under 120 words.
Cost behavior
- On-demand runs (this skill) via Claude Code subsidized tokens are effectively $0 marginal. The cost cap still applies as a budget signal, not a billing limit.
- If
ANTHROPIC_API_KEYis unset andCC_SUBSIDIZEDis not set, the AI tier won't run. Surface this with: "AI tier disabled (noANTHROPIC_API_KEYand not running under Claude Code). Runmake sec-fastfor the deterministic-only pass." - If a run hits the cap mid-pipeline, the orchestrator emits a partial
FINDINGS.mdand the run-log notes which phase paused. Re-run with--cap=5to continue, or accept the partial report.
Sensitive paths (auto-elevate severity, always in scope)
internal/auth/**internal/session/**internal/daemon/**cmd/ox/adapter.gocmd/ox/redaction.gogo.mod,go.sum
Specialized agents you can hand off to
If a finding needs deeper expertise, suggest the user route through one of these (don't auto-invoke — let the user decide):
@pentester— confirm exploitability, build attack chain, write reproducer.@threat-modeler— broader STRIDE/LINDDUN model when a finding reveals a systemic gap.@opengrep-rule-engineer— encode a new pattern as an OpenGrep rule undersecurity/rules/so the next run catches it deterministically.@security-engineer— for the structural fix design once a finding is confirmed.
Don't
- Don't block the user. Even on critical findings, the merge button stays green; the user decides.
- Don't re-run the pipeline phases manually. Always shell to
security/scripts/orchestrate.sh. - Don't paste raw deterministic-tool output into the chat. The orchestrator merges it; show the synthesis.
- Don't ask the user to install tools. If
bin/opengrepis missing, tell them to runmake sec-installonce — the script idempotently installs everything to workspacebin/. - Don't quote OWASP without a concrete reproducer. The pentester agent enforces this; you should too.
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.

