outdated-deps
This skill should be used when the user asks to "check for vulnerable dependencies", "audit dependencies", "find outdated packages", "scan for CVEs", "check…
от florianbuetow★ 22 звезды на GitHub
Установить outdated-deps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Vulnerable and Outdated Components Analysis
Analyze project dependencies for known vulnerabilities (CVEs), abandoned packages, unpinned versions, typosquatting risks, and excessive transitive dependency chains. This skill heavily relies on external scanners for CVE detection and uses Claude analysis for configuration hygiene, supply chain risks, and contextual assessment.
Supported Flags
Read ../../shared/schemas/flags.md for full flag
documentation. This skill supports all cross-cutting flags.
Key flags for this skill:
| Flag | Effect |
|---|---|
--scope <value> |
Target scope (default: changed). module: and full are common for dependency audits. |
--depth <value> |
Analysis depth (default: standard). deep traces transitive dependency trees. |
--severity <value> |
Minimum severity to report (default: all). |
--format <value> |
Output format: text, json, sarif, md. |
--fix |
Generate dependency update commands or patches for each finding. |
--explain |
Add CVE details, exploit context, and learning material to each finding. |
Framework Context
OWASP Top 10 2021 -- A06: Vulnerable and Outdated Components
Applications are vulnerable when they use components with known vulnerabilities, do not track component versions, do not scan for vulnerabilities regularly, do not fix or upgrade underlying platforms in a timely fashion, or do not test compatibility of updated libraries.
CWE Mappings:
- CWE-1035: Using Software with Known Vulnerabilities (OWASP Top 10 specific)
- CWE-1104: Use of Unmaintained Third-Party Components
- CWE-937: Using Components with Known Vulnerabilities
STRIDE Mapping: All categories -- the impact depends on the specific vulnerability in the component. A vulnerable serialization library maps to Tampering and Elevation of Privilege; a vulnerable TLS library maps to Information Disclosure.
Detection Patterns
Read references/detection-patterns.md before
running analysis. It contains Grep regex patterns for manifest file issues, lockfile
analysis, and supply chain risk indicators.
Workflow
Step 1 -- Determine Scope
- Parse
--scopeflag (default:changed). - Resolve to a concrete file list.
- Identify dependency manifests and lockfiles in scope:
- Node.js:
package.json,package-lock.json,yarn.lock,pnpm-lock.yaml - Python:
requirements.txt,requirements*.txt,Pipfile,Pipfile.lock,pyproject.toml,poetry.lock,setup.py,setup.cfg - Go:
go.mod,go.sum - Rust:
Cargo.toml,Cargo.lock - Java:
pom.xml,build.gradle,build.gradle.kts,gradle.lockfile - Ruby:
Gemfile,Gemfile.lock - PHP:
composer.json,composer.lock - .NET:
*.csproj,packages.config,Directory.Packages.props - Container:
Dockerfile,docker-compose*.yml
- Node.js:
- If
--scope changedreturns no manifest files, expand to--scope module:<auto>to find the nearest manifest.
Step 2 -- Check for Scanners
Detect available scanners in priority order:
| Scanner | Detect | Ecosystem | Best For |
|---|---|---|---|
| npm audit | which npm |
Node.js | Built-in CVE scanning for npm packages |
| pip-audit | which pip-audit |
Python | CVE scanning for Python packages |
| trivy | which trivy |
Universal | Multi-ecosystem CVE + license scanning |
| osv-scanner | which osv-scanner |
Universal | OSV database lookups across all ecosystems |
| cargo-audit | which cargo-audit |
Rust | CVE scanning for Rust crates |
This skill depends heavily on scanners. If no scanners are available, warn the user prominently and recommend installing at least one. Claude analysis alone cannot reliably detect known CVEs -- it can only check configuration hygiene and supply chain indicators.
Step 3 -- Run Available Scanners
For each detected scanner relevant to the project ecosystem, run against the scoped manifests:
- npm audit:
npm audit --json(from package.json directory) - pip-audit:
pip-audit --format json(from requirements.txt or pyproject.toml directory) - trivy:
trivy fs --format json --scanners vuln <target> - osv-scanner:
osv-scanner --format json -r <target> - cargo-audit:
cargo audit --json(from Cargo.toml directory)
Normalize scanner output to the findings schema per
../../shared/schemas/scanners.md.
Important: Run scanners from the correct working directory. Dependency scanners require being in the project root or the directory containing the manifest file.
Step 4 -- Claude Analysis
Even when scanners are available, Claude adds value by analyzing patterns that scanners
miss. Using Grep and Read, search for patterns from references/detection-patterns.md:
- Unpinned versions: Check manifests for loose version constraints (
^,~, `*
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/detection-patterns.md
FAQ
Что делает скилл outdated-deps?
This skill should be used when the user asks to "check for vulnerable dependencies", "audit dependencies", "find outdated packages", "scan for CVEs", "check for typosquatting", or mentions "vulnerable components", "outdated dependencies", or "supply chain" in a security context. Maps to OWASP Top 10 2021 A06: Vulnerable and Outdated Components.
Как установить скилл outdated-deps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл outdated-deps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…