supply-chain-risk-auditor
Audit a project's npm, PyPI, and Go dependencies for supply-chain risk: version-matched advisories for direct dependencies and the full lockfile tree, abandoned upstreams, npm publisher concentration, and install scripts
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Read this before you download
Talqeen never runs anything from this item. But what you download runs on your machine if you run it or let Claude Code run it, so read the files first.
- The item has script files.
Install
Plugins are installed from a plugin marketplace in Claude Code, not by copying files. Download the package to read its content and its license.
Instructions
Supply Chain Risk Auditor
Generate a supply-chain risk report for a project's direct dependencies across npm, PyPI, and Go, plus a known-advisory sweep of everything the lockfile resolves. A deterministic collector queries registries and advisory databases; a renderer turns the artifact into a Markdown report; the model adds narrative and remediation judgment on top, clearly separated from what was measured.
Author: Spencer Michaels (original), Eric Quintero (current design)
What it measures
| Criterion | Depth | Where it is measurable |
|---|---|---|
| Known advisories, version-matched (OSV) | direct + full lockfile tree | all three ecosystems |
| Deprecated / yanked releases | direct | npm, PyPI |
| Archived or abandoned upstream repository | direct | any GitHub-hosted repo |
| Publisher concentration (registry publish ACL) | direct | npm only — PyPI and Go publish no ACL |
| Install-time script execution | direct | npm (Go has none by design) |
| Dangerous CI workflows, checked-in binaries (OpenSSF Scorecard individual checks) | direct | repos Scorecard covers |
| Download volume, publish provenance, security policy | direct, informational — measured, never flagged | varies |
Every criterion resolves to assessed-clean, assessed-flagged, or unassessable-with-a-reason, and the report carries a coverage table stating what could and could not be measured. Two rules are enforced by the code rather than by convention: unavailable data is never treated as evidence of risk, and an absent measurement is never a clean verdict — a run that measures nothing refuses to produce a report.
Usage
Ask Claude to "audit this project's dependencies" or "assess the supply-chain risk of this repo", or run the scripts directly:
cd skills/supply-chain-risk-auditor/scripts
uv run collect.py <project-dir> --json findings.json
uv run render.py findings.json --out report.md
Requirements: uv (the scripts are stdlib-only Python). Authenticated gh is strongly
recommended — unauthenticated GitHub allows 60 requests/hour against 5,000, and the
collector makes several per dependency. HTTP responses are cached (six-hour freshness
bound) under the system temp directory; --offline reruns from cache alone.
Scope and audience
Written for the reader who owns or is engaged on the audited project. Direct
dependencies carry the full criteria set; the transitive tree is checked for advisories
only, and only where a lockfile (package-lock.json/npm-shrinkwrap.json, uv.lock,
or a go 1.17+ go.mod) resolves it. yarn.lock, pnpm-lock.yaml, and poetry.lock
are not read; the report notes their presence and versions fall back to manifest pins
or the latest release. Dependencies that resolve from outside their public registry
(workspace, git, vendored) are reported as unassessable rather than looked up by name.
The report states what was not examined rather than leaving it to be inferred.
The audit is designed to be useful given nothing more than a list of dependencies: it reads manifests and lockfiles, and never installs, builds, or executes the project or its packages. Whether the pinned set actually installs or imports cleanly is out of scope, as are scanning the target's own source, reading dependency source, and license compliance.
Installation
/plugin install trailofbits/skills/plugins/supply-chain-risk-auditor
Files
- folder.claude-plugin454 B
- plugin.json454 B
- folderevals4.4 KB
- folderfixtures586 B
- folderdata-service190 B
- pyproject.toml190 B
- folderrusty-svc141 B
- Cargo.toml141 B
- foldershipping-api255 B
- package.json255 B
- .gitignore9 B
- evals.json3.9 KB
- folderskills225 KBscript
- foldersupply-chain-risk-auditor225 KBscript
- folderagents252 B
- openai.yaml252 B
- folderassets3 KB
- trail-of-bits-mark.svg3 KB
- folderscripts214 KBscript
- collect.py64 KBscript
- model.py17 KBscript
- pyproject.toml683 B
- render.py34 KBscript
- sources.py29 KBscript
- test_collect.py37 KBscript
- test_model.py7.7 KBscript
- test_render.py14 KBscript
- test_sources.py10 KBscript
- uv.lock337 B
- SKILL.md6.8 KB
- LICENSE20 KB
- README.md3.3 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookA script file
In file plugins/supply-chain-risk-auditor/skills/supply-chain-risk-auditor/scripts/collect.py
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).