一键导入
dependency-audit
Scan dependency manifests for known CVEs across multiple programming ecosystems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Scan dependency manifests for known CVEs across multiple programming ecosystems
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Validates API specifications against actual endpoint behavior. Tests any HTTP API regardless of backend technology.
Maps security findings to compliance frameworks (OWASP Top 10, CWE, NIST SP 800-53, PCI DSS, SANS/CWE Top 25, ISO 27001) and generates audit-ready compliance reports
Dynamic Application Security Testing - sends crafted HTTP requests to running web server endpoints to detect vulnerabilities
General-purpose Static Application Security Testing (SAST) skill for code vulnerability analysis. Trigger when the user asks to: "analyze code for vulnerabilities", "review code security", "find security bugs", "do a SAST scan", "check for [vulnerability type] in code", "audit source code", or requests a security code review of any language or framework. Covers 34 vulnerability classes across web, API, auth, mobile, and logic layers.
Remediation validation skill that re-runs targeted scans after fixes to confirm vulnerabilities are resolved and detect regressions. Trigger when the user asks to: "verify a fix", "validate remediation", "confirm a vulnerability is resolved", "re-scan after fixing", "check if a patch works", "did my fix work", "validate the security fix", "re-test after remediation", or "check for regressions after the fix".
Master orchestrator skill for comprehensive security auditing. Auto-detects the project's technology stack and selectively invokes applicable security scanning skills. Produces a unified report with context-aware remediation. Trigger when the user asks for: "security audit", "full security scan", "comprehensive vulnerability assessment", "scan this project for security issues", "run all security checks", "full pentest", or any request for a broad, multi-dimensional security review.
| name | dependency-audit |
| description | Scan dependency manifests for known CVEs across multiple programming ecosystems |
| trigger | ["audit dependencies","check for vulnerable packages","scan for CVEs","review supply chain security","dependency security check","find vulnerable dependencies","package vulnerability scan"] |
Scan project dependency manifests for known CVEs and supply chain risks across all major programming ecosystems. This skill is language-agnostic and supports npm, pip, maven, bundler, go, composer, cargo, dotnet, and more.
Scan the project root and subdirectories for dependency manifest files to auto-detect the language and ecosystem in use. A project may use multiple ecosystems simultaneously.
Detection matrix:
| Ecosystem | Manifest Files |
|---|---|
| Node.js (npm/yarn/pnpm) | package.json, package-lock.json, yarn.lock, pnpm-lock.yaml |
| Python (pip/pipenv/poetry) | requirements.txt, Pipfile, Pipfile.lock, pyproject.toml, poetry.lock, setup.py, setup.cfg |
| Java (Maven/Gradle) | pom.xml, build.gradle, build.gradle.kts |
| Ruby (Bundler) | Gemfile, Gemfile.lock |
| Go (modules) | go.mod, go.sum |
| PHP (Composer) | composer.json, composer.lock |
| Rust (Cargo) | Cargo.toml, Cargo.lock |
| .NET (NuGet) | *.csproj, *.fsproj, packages.config, Directory.Build.props, Directory.Packages.props |
Use glob patterns to find these files. Report which ecosystems were detected before proceeding.
Parse each detected manifest file to extract all direct and transitive dependencies with their version numbers.
For lock files (package-lock.json, yarn.lock, Pipfile.lock, poetry.lock, Gemfile.lock, composer.lock, Cargo.lock, go.sum):
For manifest files without lock files (package.json, requirements.txt, pyproject.toml, Cargo.toml, etc.):
For each dependency, record:
Use the Bash tool to run the appropriate ecosystem-specific audit tool. Try tools in order of preference:
Node.js:
npm audit --json (preferred)yarn audit --jsonpnpm audit --jsonreferences/known_cves.mdPython:
pip-audit --format=json (preferred)safety check --jsonpip install pipdeptree && pipdeptree --warn failreferences/known_cves.mdJava:
mvn org.owasp:dependency-check-maven:check (Maven)gradle dependencyCheckAnalyze (Gradle with OWASP plugin)references/known_cves.mdRuby:
bundle-audit check --update (preferred)bundler-auditreferences/known_cves.mdGo:
govulncheck ./... (preferred)go list -m -json all then cross-referencereferences/known_cves.mdPHP:
composer audit --format=json (preferred, Composer 2.4+)references/known_cves.mdRust:
cargo audit --json (preferred)references/known_cves.md.NET:
dotnet list package --vulnerable --format json (preferred)references/known_cves.mdFallback strategy: If no audit tool is available or the Bash tool cannot execute the command, perform manual version analysis:
references/known_cves.md and cross-reference each package name and version.references/supply_chain.md and check for supply chain risks.For each vulnerability finding, assess the following dimensions:
Severity (CVSS): Report the CVSS v3.1 score and severity rating (Critical >= 9.0, High >= 7.0, Medium >= 4.0, Low < 4.0).
Exploitability in project context:
Patch availability:
Breaking change risk:
Transitive vs Direct:
Generate a structured report with the following sections:
Summary:
Findings table (sorted by severity, highest first):
For each finding, include:
Recommended actions:
npm install package@version, pip install package>=version, etc.)Supply chain observations: