Purpose
Trail of Bits supply-chain-risk-auditor uses manifests, locked versions, and public metadata to assess dependency risks. It reviews maintenance and publishing signals for direct dependencies and checks the full resolved lock list against advisories. Results distinguish assessed-clean, flagged, and unassessable packages.
When to use it
Use it before adopting packages or during periodic reviews of npm, PyPI, and Go projects. Signals include archived or abandoned upstream projects, concentrated npm publishers, and install scripts. Install scripts are metadata signals, not commands executed during review.
Example
Suppose a Node.js project plans a dependency update. Use package.json and package-lock.json to assess exact versions, advisories, and upstream status, and ask that incomplete data remain unassessable. Missing advisories or metadata do not establish safety. This scenario is hypothetical; no packages were assessed here.
Limitations
The workflow supports package-lock/npm-shrinkwrap, uv.lock, and Go 1.17+ go.mod. It does not read yarn.lock, pnpm-lock.yaml, or poetry.lock. Without supported lock information, it may fall back to pinned or latest versions; the report must disclose that difference. It does not install, build, or execute dependencies and is not a source-code or license-compliance audit.
Installation
The Codex commands install the matching plugin; see the README for Claude Code’s marketplace/menu route. Collection and report scripts use uv. GitHub data is fetched through gh; authentication raises API quotas. The workflow also needs network access to registries, advisories, and repository sources. API permissions, quotas, and missing data affect the assessment.
codex plugin marketplace add trailofbits/skills
codex plugin add supply-chain-risk-auditor@trailofbits