supply-chain-risk-auditor
Skill by trailofbits
Audits a project's npm, PyPI and Go dependencies for supply-chain risk. It is for developers and security reviewers who need a dependency tree report before an engagement.
Install supply-chain-risk-auditor
Built from the published package, never by AI.
git clone --depth 1 https://github.com/trailofbits/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor ~/.claude/skills/supply-chain-risk-auditorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install supply-chain-risk-auditor in Claude Code
git clone --depth 1 https://github.com/trailofbits/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor ~/.gemini/antigravity-cli/skills/supply-chain-risk-auditorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install supply-chain-risk-auditor in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
Audits a project's dependencies for supply-chain risk across npm, PyPI and Go. It runs two deterministic scripts, collect.py and render.py, that check version-matched advisories for direct dependencies and the full lockfile tree, abandoned or archived upstreams, npm publisher concentration, and install-time script execution.
The skill reads package-lock.json, npm-shrinkwrap.json, uv.lock and go 1.17+ go.mod files. It does not read yarn.lock, pnpm-lock.yaml or poetry.lock. It never installs, builds or executes anything, and it does not read dependency source. Criteria that cannot be assessed are reported with a reason rather than counted as clean. It is intended for teams reviewing a dependency tree before an engagement.
Written from the project's SKILL.md and checked against it.
What it can do
- Advisory sweepChecks version-matched advisories for direct dependencies and the full lockfile tree.
- Abandoned upstream checkFlags dependencies whose upstream repositories are abandoned or archived.
- npm publisher concentrationMeasures how many npm publish rights holders a package has.
- Install script detectionFlags dependencies that execute scripts at install time.
- Risk reportRenders collected findings into a report.md and a findings.json artifact.
- Replacement candidatesSuggests verified registry alternatives for abandoned or archived dependencies, labeled as judgment.
What you need
- uv, to run the collect.py and render.py scripts
- GitHub CLI (gh), authenticated, to avoid rate limits on repository criteria
- Project manifests: package.json, pyproject.toml, requirements files or go.mod
Try asking
- Audit the dependencies in this project for supply-chain risk.
- Check the package-lock.json tree for known advisories and install scripts.
- Review the dependency tree before our security engagement next week.
Good to know
- Does not read yarn.lock, pnpm-lock.yaml or poetry.lock; versions fall back to pins or latest release.
- Unauthenticated GitHub allows 60 requests per hour, so repository criteria may be unassessable.
- PyPI publishes no maintainer ACL and Go has no registry for some criteria.
- Does not perform license compliance, source scanning, or install and build checks.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/SKILL.md, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/collect.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/model.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/render.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/sources.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/test_collect.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/test_model.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/test_render.py, plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/test_sources.py. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: Read Write Bash Glob Grep
-
SKILL.md7 KB -
agents/openai.yaml252 B -
assets/trail-of-bits-mark.svg3 KB -
scripts/collect.py64 KB -
scripts/model.py17 KB
Show all 13 files
-
scripts/pyproject.toml683 B -
scripts/render.py34 KB -
scripts/sources.py29 KB -
scripts/test_collect.py37 KB -
scripts/test_model.py8 KB -
scripts/test_render.py14 KB -
scripts/test_sources.py10 KB -
scripts/uv.lock337 B
Alternatives to supply-chain-risk-auditor
All alternatives →Retrieves lab biomarker results and clinician notes from Function Health through its FHIR API. It is for people who want an AI assistant to review their own lab history and notes.
Gives an AI assistant a methodology for finding and exploiting privilege escalation weaknesses on Windows systems during authorized penetration tests. It is for security testers and defenders validating escalation paths.
Guides the assistant through designing, debugging and hardening GitHub Actions CI/CD workflows. It is aimed at teams that run production pipelines on GitHub.
Develops evidence-backed structural security hardening proposals from disclosures, findings, source code, or Codex Security scans. It is for teams that need systemic fixes and architectural tradeoffs.
Claude Security scans code for security issues with Claude Code. It covers whole repositories, branch or pull request diffs, single commits, and existing findings from SARIF files or earlier reports.
Turns vulnerability notes, disclosure reports, PoCs, source code, or Codex Security findings into self-contained vulnerability reports. Built for security researchers who need claims the evidence supports.
Compare with function_health, windows-privilege-escalation or github-actions-advanced
supply-chain-risk-auditor: common questions
Which lockfiles does the supply chain risk auditor read?
It reads package-lock.json, npm-shrinkwrap.json, uv.lock and go 1.17+ go.mod files. yarn.lock, pnpm-lock.yaml and poetry.lock are not read, and the report says so when they are present.
Does it install or run my project's code?
No. The source states the audit works from manifests and lockfiles only and never installs, builds or executes anything.
Why do some dependency checks show as unassessable?
PyPI publishes no maintainer ACL and Go has no registry, so those criteria cannot be measured. Unauthenticated GitHub access can also limit repository criteria.
How do I install supply-chain-risk-auditor?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is supply-chain-risk-auditor free?
The code is published under the CC-BY-SA-4.0 licence. The service it connects to may have its own pricing.
Is supply-chain-risk-auditor safe to use?
It scores 92 of 100. Grades: maintenance A, licence C, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to supply-chain-risk-auditor?
Similar skills: function_health, windows-privilege-escalation, github-actions-advanced, propose-security-hardening.
