Dependency Supply Chain Review
Checks new or updated dependencies for known flaws, lookalike names, unpinned actions and risky install scripts.
Claude's review
7/10 Comprehensive dependency change review with OSV checks, typosquat and pinning rules, signing gaps and severity levels.
We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.
In detail
Use when the diff adds, upgrades, re-sources or re-pins a dependency - manifests, lockfiles, go.mod replace, Docker base images, GitHub Actions uses, Terraform modules, submodules, vendored or generated code, curl-pipe-sh installs - or changes what goes into a package or image, how releases are signed and verified, or how an updater or plugin loader trusts what it installs
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide
Safety check
Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: supply-chain-and-dependency-review
category: security
description: Use when the diff adds, upgrades, re-sources or re-pins a dependency - manifests, lockfiles, go.mod replace, Docker base images, GitHub Actions uses, Terraform modules, submodules, vendored or generated code, curl-pipe-sh installs - or changes what goes into a package or image, how releases are signed and verified, or how an updater or plugin loader trusts what it installs
tech_stack: Supply chain & CI/IaC
source: original; cloudflare/security-audit-skill (MIT) supply-chain and release attack classes (build-context inclusion, generated-input provenance, signing policy, update metadata, plugin trust), adapted; informed by trailofbits/skills (CC BY-SA 4.0, ideas only, own wording); OWASP Top 10:2025 A03, OSV and deps.dev API documentation cited, not reproduced
---
# Supply Chain and Dependency Review
## Overview
A dependency is code you run without reviewing it. A diff that adds or changes one asks the reviewer to vouch for code that is not in the diff. You cannot read it all; you can check whether it is known-bad, misspelled, newly hijacked, or able to run code at install time. OWASP Top 10:2025 lists this as A03 Software Supply Chain Failures.
**Core principle:** judge the dependency change by evidence — advisories, identity, provenance. Unavailable data is never evidence of risk, and an absent measurement is never a clean verdict.
## 1. Find Every Dependency Change
```sh
git diff --name-only "$base" | grep -E 'package(-lock)?\.json|pnpm-lock|yarn\.lock|bun\.lock|go\.(mod|sum)|pom\.xml|\.gradle(\.kts)?|libs\.versions\.toml|requirements.*\.txt|pyproject\.toml|poetry\.lock|uv\.lock|Pipfile|Cargo\.(toml|lock)|Gemfile|Podfile|Package\.resolved|pubspec|\.csproj|packages\.lock\.json|Dockerfile|\.github/workflows|\.terraform\.lock\.hcl|\.gitmodules'
git diff "$base" -- package-lock.json | grep -E '^\+\s+"(node_modules/[^"]+|version|resolved|integrity|hasInstallScript)"'
```
Also: `curl … | sh` and `wget … | bash` in scripts and Dockerfiles, new `uses:` lines, `FROM` lines, `replace` directives, git URLs in manifests, vendored directories.
## 2. Advisories — Version-Matched
Query OSV for each new or changed `name@version`. `fetch_url` is GET-only, so the query goes through `run_terminal` (a network read, not project code):
```sh
curl -s https://api.osv.dev/v1/query \
-d '{"package":{"name":"lodash","ecosystem":"npm"},"version":"4.17.20"}'
```
Ecosystem names: `npm`, `PyPI`, `Go`, `Maven`, `crates.io`, `RubyGems`, `NuGet`, `Packagist`, `Pub`. Details of one advisory: `fetch_url https://api.osv.dev/v1/vulns/<id>`. A cross-check with publish dates and advisory keys: `fetch_url https://api.deps.dev/v3/systems/npm/packages/<url-encoded name>/versions/<version>`.
Then judge it:
- **`MAL-…` id** (OpenSSF malicious packages) → the package is malware: block.
- **Critical/high advisory with a fixed version available**, on a dependency this diff added or changed → block, naming the fixed version.
- Critical/high with no fix yet, or an advisory whose vulnerable function or config is clearly not used → a non-blocking note.
...From makifbaysal's repository, Apache-2.0 licence.
Related skills
-
Checked
Codebase quality audit
Audits a whole code repo for bugs, security holes, slow paths and dead code, ranked in plain English.
7/101 credit -
Checked
Security and CVE audit
Runs a security and CVE audit on code in any language and scores it out of 100, with false alarms filtered.
7/101 credit -
Checked
OWASP code review
Reviews code for security flaws using the latest OWASP Top 10 lists, including those for AI and agent apps.
7/101 credit -
Checked
Code security hardening
Hardens code that handles user input, logins and data against the OWASP Top 10, starting from a threat model.
7/101 credit -
Checked
Android intent security
Audits Android components and incoming intents to fix redirection and unauthorised access holes in your app.
8/101 credit -
Checked
Fuzz harness planning
Plans fuzz harness scope and fuzzer choice for code you are authorised to test, so real bugs surface sooner.
7/101 credit