# security-sweep
**Claude Code skill: one-prompt vulnerability sweep across many projects, servers and container images — OSV-verified CVEs, KEV/EPSS, reachability, prioritized report**
[](https://github.com/baryonlabs/security-sweep/actions/workflows/ci.yml)
[](https://github.com/baryonlabs/security-sweep/releases)
[](LICENSE)


[Quick Start](#quick-start) · [How it Works](#how-it-works) · [Prioritization](#prioritization) · [Comparison with Other Tools](#what-makes-this-different-from-other-security-tools) · [FAQ](#faq)
**Website:** [baryonlabs.github.io/security-sweep](https://baryonlabs.github.io/security-sweep/)
```text
> /security-sweep:security-sweep ./work full scan
● Tools check: osv-scanner ✓ trivy ✓ govulncheck ✗ (Go estimated via grep)
● Discovery: 6 projects (npm · PyPI · Hex · Go · Cargo + secret samples)
● Scan → OSV validation → Reachability → Report
● Auto-assessment: P0 1 · P1 11 · P2 9 · P3 2
● After code review: P0 0 · P1 6 · P2 15 · P3 2 (12 adjusted, reasons in triage.md)
- go-app GO-2021-0113 P0→P1 language.Parse argument is constant, unreachable from external input
- py-app pyyaml 5.3 P1→P2 safe_load only used, vulnerable full_load not used
- rust-app smallvec P1→P2 vulnerable function insert_many not used
● Suggested fix commands (not executed): npm audit fix · mix deps.update sweet_xml · cargo update -p smallvec …
```
<sub>Above is a condensed result from actually running this in a new Claude Code session on `test/fixtures` in this repository. Results from 26 real dev machine projects are in the [examples folder](examples/dev-machine-2026-10-23).</sub>
**Scans with osv-scanner and trivy → validates all CVE/GHSA IDs against OSV API → enriches with CISA KEV·EPSS → determines actual code usage (reachability) → generates P0~P3 prioritized report.** Read-only by default, nothing installed on servers.
## Why Built This
Similar tools already exist. Each excels in different scopes:
- **secondsky's vulnerability-scanning skill** — single repository dependency and code scan procedures