dependency-supply-chain-review

Audit package dependencies, lockfiles, and install scripts for CVEs and supply chain risks.

2|Updated Jun 1, 2026
One-click install
npx skills add https://github.com/FluxonLab/Skillry --skill dependency-supply-chain-review-fluxonlab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dependency-supply-chain-review
Source: https://github.com/FluxonLab/Skillry/tree/main/plugins/security/skills/50-dependency-supply-chain-review
Command: npx skills add https://github.com/FluxonLab/Skillry --skill dependency-supply-chain-review-fluxonlab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Modern projects pull in hundreds of direct and transitive packages, and a single vulnerable dependency, typosquatted package, or malicious postinstall script can compromise the entire application. This Skill performs a structured, read-only audit of the dependency graph so risks are found and prioritized before they reach production. ## Core Features & Use Cases - CVE Triage in Context: Runs npm audit, pip-audit, or govulncheck and classifies each finding by actual exploitability in your project, not just registry severity. - Install-Time Script Inspection: Flags postinstall, preinstall, and prepare scripts that download binaries, execute curl/wget, or modify system files. - Lockfile and CI Integrity Checks: Verifies lockfile presence and version, and confirms CI uses npm ci or --frozen-lockfile instead of npm install. - Typosquatting and Dependency Confusion Detection: Compares package names against popular counterparts and checks private registry scoping in .npmrc. - Use Case: Before merging a PR that adds new packages, run this review to verify provenance, check for unreviewed postinstall scripts, and produce a prioritized remediation table with severities and safe versions. ## Quick Start Audit this project's dependencies for supply chain risks and produce a prioritized remediation report.

Frequently Asked Questions about dependency-supply-chain-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I audit npm dependencies for security vulnerabilities?▼

Run npm audit --json to capture findings non-destructively, then classify each CVE by whether the vulnerable code path is reachable in your project. Check for non-breaking fix versions and use overrides or resolutions for unresolvable transitive dependencies.

How to check for malicious postinstall scripts in packages?▼

Read the package.json scripts field of every dependency and flag postinstall, preinstall, install, or prepare hooks that download binaries, run curl or wget, or modify system files. Legitimate packages like esbuild and puppeteer download binaries but should verify checksums.

Does this dependency review modify or upgrade packages?▼

No, the audit is read-only and non-destructive. It never runs npm audit fix --force, npm install, or any command that modifies node_modules or the lockfile without explicit user approval.

Why should CI use npm ci instead of npm install?▼

npm ci fails when the lockfile is out of sync with package.json, guaranteeing reproducible installs, while npm install silently mutates the lockfile between CI runs. A failing npm ci signals a real inconsistency that should be fixed, not suppressed.

When should I not run a dependency supply chain review?▼

Skip it when the project has no third-party dependencies, when the task is auditing application runtime logic unrelated to packages, or when a dedicated scanner like Snyk or Dependabot has already triaged all findings and you only need to implement fixes.

What is dependency confusion and how do I prevent it?▼

Dependency confusion occurs when an attacker publishes a public package matching your private package name with a higher version, causing npm to prefer it. Prevent it by scoping private registries to your organization namespace in .npmrc and claiming your org scope on the public registry.