Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

outdated-deps过时的部门

Agent Skill

outdated-deps 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

247

周安装

10

GitHub Stars

9

下载量

78
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:outdated-deps(过时的部门)
来源仓库:https://github.com/florianbuetow/claude-code
仓库路径:skills/outdated-deps
安装命令:
npx skills add https://github.com/florianbuetow/claude-code --skill outdated-deps
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill outdated-deps

简介

outdated-deps 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于需要从多个来源中筛选过时依赖项或相关技术资料的场景,如代码审计、依赖升级或技术调研。
  • 通过关键词匹配和来源仓库分析,提供结构化的检索结果,便于进一步验证和使用。
  • 安装命令为 npx skills add https://github.com/florianbuetow/claude-code --skill outdated-deps。
  • 使用前请确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。

SKILL.md

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:

FlagEffect
--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.
--fixGenerate dependency update commands or patches for each finding.
--explainAdd 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

  1. Parse --scope flag (default: changed).
  2. Resolve to a concrete file list.
  3. 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

  1. If --scope changed returns no manifest files, expand to --scope module:<auto> to find the nearest manifest.

Step 2 -- Check for Scanners

Detect available scanners in priority order:

ScannerDetectEcosystemBest For
npm auditwhich npmNode.jsBuilt-in CVE scanning for npm packages
pip-auditwhich pip-auditPythonCVE scanning for Python packages
trivywhich trivyUniversalMulti-ecosystem CVE + license scanning
osv-scannerwhich osv-scannerUniversalOSV database lookups across all ecosystems
cargo-auditwhich cargo-auditRustCVE 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:

  1. Unpinned versions: Check manifests for loose version constraints (^, ~, *, >= without upper bound).
  2. Missing lockfiles: Verify that each manifest has a corresponding lockfile committed.
  3. Abandoned packages: Cross-reference package names with known abandoned or deprecated packages when recognizable.
  4. Typosquatting risks: Look for package names that are one edit distance from popular packages.
  5. Excessive dependencies: Flag manifests with unusually large dependency counts that increase attack surface.
  6. License compliance: Note packages with restrictive or unknown licenses if detectable.

Merge Claude findings with scanner findings, deduplicating by package name and version.

Step 5 -- Report Findings

Output findings using the schema from ../../shared/schemas/findings.md.

Use the DEP prefix for finding IDs (e.g., DEP-001, DEP-002).

Group findings by category:

  1. Known CVEs (from scanners) -- highest priority
  2. Unpinned versions -- configuration hygiene
  3. Missing lockfiles -- supply chain risk
  4. Abandoned packages -- maintenance risk
  5. Typosquatting candidates -- supply chain attack risk
  6. Excessive transitive dependencies -- attack surface

What to Look For

  1. Known CVEs in direct dependencies -- Vulnerabilities with published CVE identifiers in packages the project directly depends on.
  2. Known CVEs in transitive dependencies -- Vulnerabilities in packages pulled in indirectly through the dependency tree.
  3. Unpinned dependency versions -- Version ranges that allow automatic updates to potentially vulnerable versions (^, ~, *, >=).
  4. Missing lockfiles -- Manifests without committed lockfiles mean builds are not reproducible and dependency resolution can vary.
  5. Abandoned or unmaintained packages -- Dependencies with no updates in 2+ years, archived repositories, or known deprecation notices.
  6. Typosquatting candidates -- Package names suspiciously similar to popular packages (e.g., lodahs vs lodash, reqeusts vs requests).
  7. Excessive transitive dependencies -- A single direct dependency pulling in hundreds of transitive packages increases supply chain attack surface.
  8. Packages from untrusted registries -- Dependencies sourced from non-default registries, private URLs, or git repositories without integrity checks.
  9. Outdated major versions -- Running multiple major versions behind, even without known CVEs, increases the risk window for future disclosures.

Scanner Integration

See ../../shared/schemas/scanners.md for full scanner invocation details. This skill primarily uses:

ScannerWhat It Catches
npm auditKnown CVEs in npm packages, severity ratings, fix availability
pip-auditKnown CVEs in Python packages via PyPI/OSV advisories
trivyMulti-ecosystem CVEs, license issues, Dockerfile base image vulnerabilities
osv-scannerOSV database matches across all ecosystems, including Go, Maven, PyPI, npm
cargo-auditRustSec advisory database matches for Rust crates

Scanner availability is critical for this skill. Without scanners, the skill can only detect configuration-level issues (unpinned versions, missing lockfiles) but cannot reliably identify known CVEs.

When scanners are unavailable:

  1. Warn: "No dependency scanner available. CVE detection requires a scanner. Install one of: npm audit (built-in), pip-audit, trivy, osv-scanner."
  2. Proceed with Claude-only analysis for configuration hygiene patterns.
  3. Report findings with confidence: low for anything that would need scanner confirmation.

Output Format

All findings use the schema defined in ../../shared/schemas/findings.md.

ID Prefix: DEP (e.g., DEP-001)

References for each finding:

  • references.owasp: A06:2021
  • references.cwe: CWE-1035 (known vulns) or CWE-1104 (unmaintained)
  • references.stride: Depends on the specific vulnerability
  • metadata.tool: outdated-deps
  • metadata.framework: owasp
  • metadata.category: A06

For CVE findings, also include:

  • references.cve: The CVE identifier (e.g., CVE-2023-44270)
  • fix.summary: The fixed version or upgrade command

Summary table after all findings:

| Severity | Count |
|----------|-------|
| CRITICAL | N     |
| HIGH     | N     |
| MEDIUM   | N     |
| LOW      | N     |

| Category                  | Count |
|---------------------------|-------|
| Known CVEs                | N     |
| Unpinned Versions         | N     |
| Missing Lockfiles         | N     |
| Abandoned Packages        | N     |
| Typosquatting Candidates  | N     |
| Excessive Dependencies    | N     |

Followed by:

  • Top 3 priorities (usually the highest-severity CVEs)
  • Recommended upgrade commands
  • Overall dependency health assessment paragraph

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.76%
按下载量换算27

Claude

32.8%
按下载量换算26

Cursor

20.23%
按下载量换算16

Gemini CLI

9.9%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills