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/kiurakku/cursor-kit-for-ai --skill dependency-audit-kiurakku
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: dependency-audit
Source: https://github.com/kiurakku/cursor-kit-for-ai/tree/main/plugins/security/skills/dependency-audit
Command: npx skills add https://github.com/kiurakku/cursor-kit-for-ai --skill dependency-audit-kiurakku

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Modern projects inherit risk from every package they install: known CVEs in honest packages, malicious or hijacked releases, and upgrade debt that compounds until it becomes unmanageable. This Skill provides structured workflows to scan, triage, harden, and upgrade dependencies instead of reacting blindly to audit output. ## Core Features & Use Cases - CVE Scan & Triage: Run pip-audit, npm audit, or trivy and triage findings by reachability, exploitability, and fix availability rather than raw severity scores. - Supply-Chain Hygiene: Enforce lockfile discipline, vet new dependencies before adding them (typosquat checks, maintainer health, transitive cost), and harden CI with audit jobs, release cooldowns, and scoped registries. - 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 CVE is published for a library in your stack. Use this Skill to determine whether you are affected, force a patched transitive version via npm overrides or pip constraints, deploy, and document the exposure window. ## Quick Start Audit this project's dependencies for vulnerabilities and supply-chain risks, then give me a triaged report with prioritized actions.

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?▼

Run pip-audit against your requirements file with 'pip-audit -r requirements.txt' or against the installed environment directly. It checks each pinned version against the OSV vulnerability database and reports CVEs with fix availability.

How do I check npm packages for security vulnerabilities?▼

Run 'npm audit --omit=dev' to scan production dependencies for known vulnerabilities. For deeper coverage including containers and filesystems, use trivy with severity filters like 'trivy fs . --severity HIGH,CRITICAL'.

How do I fix a CVE 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.

What should I check before adding a new dependency?▼

Verify the exact package name against official docs to avoid typosquats, check maintenance health and install scripts, and measure transitive cost with 'npm ls --all' or pipdeptree. Prefer stdlib or existing dependencies for small functionality.

Why is npm install risky in CI pipelines?▼

npm install resolves version ranges at install time, so a hijacked or broken release can enter your build unpredictably. Use 'npm ci' to install reproducibly from the committed lockfile, and add a cooldown period for fresh releases.

When should a critical CVE not be patched immediately?▼

When the vulnerable code path is unreachable in your usage or not exploitable in your deployment configuration, you can schedule it with normal updates. Always document the reasoning rather than silently ignoring the finding.