dependency-audit

Audit dependencies for CVEs, supply-chain risks, and safe upgrade paths.

15|3|Updated Jul 9, 2026
One-click install
npx skills add https://github.com/thefear078/cursor-kit-for-ai --skill dependency-audit-thefear078
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dependency-audit
Source: https://github.com/thefear078/cursor-kit-for-ai/tree/main/plugins/security/skills/dependency-audit
Command: npx skills add https://github.com/thefear078/cursor-kit-for-ai --skill dependency-audit-thefear078

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Third-party packages carry two distinct risks — known vulnerabilities (CVEs) and supply-chain attacks (malicious or hijacked packages) — and teams often lack a structured process to scan, triage, and remediate them before they reach production. ## Core Features & Use Cases - CVE Scan & Triage: Run pip-audit, npm audit, or trivy and triage findings by reachability, exploitability, and fix availability instead of raw severity scores. - Supply-Chain Hygiene: Enforce lockfile discipline, vet new dependencies before adding them, check for typosquats, and harden CI with audit jobs and release cooldowns. - Safe Upgrades & CVE Response: Plan one-major-per-PR upgrades with changelog review, and follow a drill for responding to published CVEs including transitive overrides and exposure-window checks. - Use Case: A critical CVE is published for a library in your stack — use this Skill to confirm whether you are affected, force the patched transitive version, deploy, and document the exposure verdict. ## Quick Start Audit this project's dependencies for known vulnerabilities and supply-chain risks, then produce a triage report with actions and due dates.

Frequently Asked Questions about dependency-audit

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

FAQPage Schema
How do I scan Python dependencies for vulnerabilities?▼

Install pip-audit and run it against your requirements file or installed environment to list known CVEs. Triage each hit by checking whether the vulnerable code path is actually reachable in your application before prioritizing patches.

How do I check npm packages for security issues?▼

Run npm audit --omit=dev to scan production dependencies for known vulnerabilities. For deeper coverage including containers, use trivy against your filesystem or built images filtered to HIGH and CRITICAL severities.

What should I check before adding a new dependency?▼

Verify the exact package name against official docs to avoid typosquats, confirm the package is actively maintained, inspect install scripts for surprising behavior, and measure transitive cost with npm ls or pipdeptree.

How do I fix a vulnerability in a transitive dependency?▼

Use npm overrides or a pip constraint pin to force the patched version of the transitive package, then verify the dependency tree resolved correctly. After deploying, check logs for exploitation signatures since the CVE disclosure date.

Why is npm install risky in CI pipelines?▼

npm install can resolve version ranges differently than your lockfile, meaning a hijacked release could slip into a deploy. Use npm ci in CI so installs are reproducible from the committed lockfile.

When should a critical CVE be patched immediately?▼

Patch today when a Critical vulnerability is reachable in your code and exposed in your deployment. Everything else should get a dated ticket with documented reasoning rather than being ignored.