security-review
Skill5 starsChanged 4 months agoMITView on GitHub
Security review orchestrator for dependency lockfiles and source: inventory of lockfiles/manifests (npm, pip, cargo, go, gem, maven, gradle, composer), exit-code classifier for 13 security tools (semgrep, bandit, gitleaks, osv-scanner, pip-audit, trufflehog, checkov, trivy, grype, npm audit, cargo audit), JSON normalizer to a unified finding schema, and human-readable reports. Stdlib-only Python helper + workflow for OWASP-aligned security review.
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 repository59 other files it gives its agents.
- skills/chronos/references/AGENTS.mdAGENTS.md
- api-contract-testingSkill
- api-doc-generatorSkill
- canonSkill
- censorSkill
- changelog-generatorSkill
- chronosSkill
- code-reviewSkill
- commit-lintSkill
- commit-message-writerSkill
- coverage-analyzerSkill
- csv-proSkill
- data-analysisSkill
- deweySkill
- diagram-makerSkill
- doc-compareSkill
- docs-productSkill
- docs-projectSkill
- docs-systemSkill
- dsh-runnerSkill
- frontend-a11ySkill
- frontend-design-tasteSkill
- frontend-perfectionSkill
- frontend-performanceSkill
- frontend-testingSkill
- github-repo-hygieneSkill
- long-running-agent-workflowSkill
- mermaid-to-imageSkill
- mobile-frontendSkill
- pdf-report-builderSkill
- plan-skillSkill
- prd-to-appSkill
- presentation-craftSkill
- presentation-engineeringSkill
- presentation-makerSkill
- raster-to-svgSkill
- reddit-karmaSkill
- repo-community-filesSkill
- repo-metadata-healthSkill
- repo-readme-assetsSkill
- repo-social-previewSkill
- secret-scannerSkill
- seo-auditSkill
- seo-contentSkill
- seo-crawlSkill
- seo-schemaSkill
- seo-toolkitSkill
- skill-feedbackSkill
- skill-forgeSkill
- skill-suggesterSkill
- sql-helperSkill
- systematic-debuggerSkill
- test-generatorSkill
- test-graphicsSkill
- velesSkill
- version-bumperSkill
- video-script-writerSkill
- web-replicationSkill
- web-scraperSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 165 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 101
Do not use as a dedicated secret scanner.
“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 — dependency & static analysis orchestration
Load this skill when you need to run a security review of a codebase: audit the dependency manifest/lockfile inventory, decide which scanner to run per ecosystem, interpret scanner exit codes correctly (real findings vs. infrastructure errors), and normalize reports from different tools into one unified schema for a final report.
The helper script is offline by design — it inventories, classifies, and normalizes. Actual scans are executed by the well-known external tools listed below (install once locally or in CI).
The helper script
scripts/security_review.py — pure Python 3 stdlib (no dependencies).
| Command | Purpose |
security_review.py inventory --dir . | List dependency locks with ecosystem + suggested tool |
security_review.py inventory --dir . --json | Same, machine-readable |
security_review.py classify --tool semgrep --exit-code 1 | Explain what a tool exit code means |
security_review.py normalize --tool osv-scanner --input out.json | Flatten a tool JSON report into unified findings |
security_review.py normalize --tool pip-audit --input pip.json --output report.json | Save unified report |
security_review.py report --root . | Report skeleton (markdown default, --json for JSON) |
Lockfile inventory (per-ecosystem suggested tool)
| Lockfile / manifest | Ecosystem | Suggested tool |
package-lock.json, pnpm-lock.yaml, yarn.lock | npm / pnpm / yarn | npm audit / osv-scanner |
requirements*.txt, pyproject.toml, Pipfile.lock, poetry.lock | pip | pip-audit |
Cargo.lock | cargo | cargo audit |
go.mod, go.sum | go | osv-scanner |
Gemfile.lock | gem | osv-scanner |
pom.xml, build.gradle(.kts) | maven / gradle | osv-scanner / dependency-check |
composer.lock | composer | osv-scanner |
package.json alone (no lockfile) is still reported, so gate or scan it with npm audit.
Exit-code semantics (verified August 2026)
Get each tool's meaning on the fly with classify --tool X --exit-code N.
| Tool | 0 | findings | error / other |
| semgrep | clean | 1 (findings) | 2 fatal; 3/4/5/7/8/13/99 specific errors |
| bandit | clean | 1 (issues) | 2 error |
| gitleaks | clean | 1 (leaks or error) | 126 unknown flag |
| pip-audit | clean | 1 (vulns) | — |
| osv-scanner v2 | clean | 1 (vulns) | 127 error, 128 no packages, 129 API failed, 130 config |
| npm audit | clean | 1 (vulns) | — |
| cargo audit | clean | non-zero (vulns / errors) | — |
| grype | clean | 2 (vulns ≥ fail-on) | 1 error, 100 DB update |
| truffle | clean | 183 (findings, only with --fail) | 1 error |
| checkov | clean | 1 (failed checks) | 2 error |
| trivy | clean | 1 (vulns, with --exit-code) | — |
| dependency-check | clean | 1 (vulns ≥ threshold) | — |
Rule of thumb: exit 0 == "no findings" only for tools listed as clean=0; other codes are infra errors and must not be treated as "vulnerable".
Workflow
- Inventory —
security_review.py inventory --dir <project> --json→ know exactly which lockfiles exist and which tool applies. - Scan — run the suggested tool per row above with its JSON format (see
references/canonical-patterns.mdfor exact CLI + JSON shapes; e.g. semgrep JSON with--json, osv-scanner--json, pip-audit--format json, gitleaks--report-format json, bandit-f json). - Classify exits — in CI, map exit codes via
classifyso1 = findings,2+ = infra error. - Normalize —
normalize --tool <t> --input <scanner.json>→ unified findings (ruleId/rule/level/message/path/line/col). - Report — merge all normalized findings into one report (markdown or JSON), present severity rollup.
When NOT to use
- Not a scanner itself — it does not detect vulnerabilities; it orchestrates/normalizes the real scanners. Run the real tools.
- Not a secret detector — use the
secret-scannerskill for credentials/tokens. - Not a web scanner — OWASP Top-10 dynamic testing is out of scope.
Success criteria
inventorylists every lockfile in the target directory with correct ecosystem + suggested tool.classify --exit-codematches the verified table above for your installed tools.normalizeproduces a valid unified report for the 5 built-in formats (osv-scanner, pip-audit, semgrep, gitleaks, bandit).- CI gate: exit
1on real findings,EXIT_NEUTRAL(or2) on infra errors, clean on 0.
Boundaries
- Do not use as a dedicated secret scanner; use
secret-scannerfor credential detection.
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.

