cve-audit
Skill0 starsChanged 46 days agoMITView on GitHub
Dependency vulnerability audit via npm audit + pip-audit: severity table, fails at a set level (default high); says so if pip-audit is missing, never fakes results. Use when: "audit dependencies", "are my deps vulnerable", "scan for CVEs".
1 other project uses a version of this.
Adopted by
Most recently taken up by
- runxhq/runxtheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- runxhq/runx★ 97same name
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 repository34 other files it gives its agents.
- audit-codeSkill
- audit-docsSkill
- auditSkill
- bisect-driverSkill
- coding-conventionsSkill
- commit-gateSkill
- compact-ioSkill
- cron-task-manageSkill
- data-integrity-auditSkill
- decision-logSkill
- deck-builderSkill
- determinism-guardSkill
- etl-validateSkill
- experiment-logSkill
- fetch-firstSkill
- flaky-test-detectorSkill
- github-repo-polishSkill
- golden-lockSkill
- history-leak-scanSkill
- landing-checkSkill
- llm-eval-harnessSkill
- local-secrets-manageSkill
- long-taskSkill
- milestone-trackSkill
- opus-workersSkill
- path-quirk-auditSkill
- reorg-proposalSkill
- research-briefSkill
- seed-controlSkill
- shell-portabilitySkill
- skill-vetSkill
- small-taskSkill
- token-squeezeSkill
- venue-fitSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
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
- Very specific: line 75
No files are written. Output is the severity table + verdict on stdout.
- Very specific: line 94
MUST print CANARY PASS n/n before you trust a result.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
cve-audit — dependency-vulnerability audit
The engine is cve-audit.js (portable Node, zero deps). The advisory data is
live — npm audit reaches the npm registry and pip-audit its own database, and
what they return moves as advisories publish. The deterministic, canary-pinned
part is the PARSE + REPORT layer: the severity bucketing, the counts, and the
fail-level→exit-code logic. That is what makes this usable as a release gate and
what the canary proves.
Typical target: a Next.js/TypeScript frontend (npm) paired with a FastAPI/Python backend (pip). Both ecosystems, one auditor. When the backend holds sensitive user data, a high/critical advisory in a request-handling dependency is a launch blocker, not a nag.
Commands
node cve-audit.js [--dir <path>] [--fail-level critical|high|moderate|low]
node cve-audit.js --fixture <npm-audit.json> [--fail-level <lvl>]
node cve-audit.js --canary- default (auto-detect): audits
--dir(default cwd). Runsnpm audit --jsonwhenpackage.json+ a lockfile are present, andpip-audit --format jsonwhenrequirements.txt/pyproject.toml/poetry.lockis present. If both exist, both run. Prints a severity table; exits 1 when any finding is at/above the fail-level. - --fixture parses a SAVED
npm audit --jsonfile offline — no network. Use it on a CI-captured audit log, or to reproduce a result deterministically. This is the mode the canary exercises. - --fail-level sets the gate (default
high):highfails on any high or critical;criticalfails only on critical;lowfails on anything.
Examples
- Gate a Next.js frontend (npm):
node cve-audit.js --dir /path/to/frontend --fail-level high— a high/critical advisory exits 1 and blocks the release. - Audit a FastAPI backend (Python):
same command in the backend dir runs
pip-audit. If pip-audit isn't installed the run reportsMISSING: pip-audit is not on PATHwithpipx install pip-auditand exits 2 — it never pretends the backend is clean. - Re-check a CI audit log offline:
node cve-audit.js --fixture ci/npm-audit.json --fail-level critical— parses the captured JSON with no registry call, applies the same gate logic.
What each ecosystem reports
- npm (audit v2 schema): a table of
critical / high / moderate / lowwith the vulnerable package names and per-severity counts, plus a total. Fail-level logic runs on those counts. - pip-audit: its default JSON carries no CVSS severity, so cve-audit reports vulnerable-package and total-advisory counts; ANY finding fails the run (fail-level does not sub-divide it).
Windows notes
npm auditshells out tonpm(npm.cmdon Windows) — it must be on PATH.pip-auditis checked withwhere pip-audit(which pip-auditon POSIX); if it is not installed, the Python path correctly reports MISSING rather than a false all-clear.- The
--fixturemode is pure file parsing — no shell, safe everywhere.
Storage / output
No files are written. Output is the severity table + verdict on stdout; errors and
the MISSING notice go to stderr. The bundled fixture.json (an npm-audit v2 sample:
1 high, 1 moderate, 1 low) is shipped only as an offline --fixture example.
Exit codes
0 clean or all findings below fail-level · 1 a finding at/above the fail-level
(or canary failure) · 2 usage error / audit tool missing / unparseable input.
Verification (the done-check)
node cve-audit.js --canaryDrives the parse/report core off a temp npm-audit fixture in BOTH directions — a
fail-level high run with a high finding exits 1 (catches), a fail-level critical
run with no critical exits 0 (stays quiet) — plus exact severity counts, clean-input
pass, malformed-input exit 2, and pip-audit parsing. No network, no npm, no pip.
MUST print CANARY PASS n/n before you trust a result.
node cve-audit.js --canary — MUST print CANARY PASS 22/22 before you trust a result.
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.

