ln-625-dependencies-auditor by levnikolaevich/claude-code-skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-625-dependencies-auditor路径说明: 文件路径(
shared/、references/、../ln-*)是相对于技能仓库根目录的。如果在当前工作目录未找到,请定位此 SKILL.md 文件所在的目录,然后向上返回一级以找到仓库根目录。如果缺少shared/目录,请通过 WebFetch 从https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}获取文件。
专门用于审计依赖项管理、代码复用和安全漏洞的工作器。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 参数 | 取值 | 默认值 | 描述 |
|---|
| mode | full / vulnerabilities_only | full | full = 执行全部 5 项检查,vulnerabilities_only = 仅执行 CVE 扫描 |
必读: 加载 shared/references/audit_worker_core_contract.md。
接收包含技术栈、包清单路径、代码库根目录、output_dir 的 contextStore。
来自 ln-620 (代码库审计器): mode=full (默认) 来自 ln-760 (安全设置): mode=vulnerabilities_only
必读: 加载 shared/references/two_layer_detection.md 以了解检测方法。
shared/templates/audit_worker_report_template.md 在内存中构建完整的 Markdown 报告,通过单次 Write 调用写入 {output_dir}/625-dependencies.md模式: 仅 full
检测:
npm outdated --json (Node.js)pip list --outdated --format=json (Python)cargo outdated --format=json (Rust)严重性:
建议: 更新到最新版本,测试是否存在破坏性变更
工作量: 小-中(更新版本,运行测试)
模式: 仅 full
检测:
import/require 语句严重性:
建议: 从包清单中移除
工作量: 小(删除行,测试)
模式: 仅 full
检测:
严重性:
建议: 使用原生替代方案
工作量: 中(重构代码以使用原生 API)
模式: 仅 full
检测:
严重性:
建议: 替换为成熟的库
工作量: 中(集成库,替换调用)
模式: full 和 vulnerabilities_only
检测:
references/vulnerability_commands.md 运行审计命令shared/references/cvss_severity_mapping.md 解析结果并进行 CVSS 映射严重性:
修复分类:
建议: 更新到已修复的版本,验证锁文件完整性
工作量: 小-大(取决于破坏性变更)
必读: 加载 shared/references/audit_worker_core_contract.md 和 shared/references/audit_scoring.md。
注意: 当 mode=vulnerabilities_only 时,分数仅基于漏洞发现项计算。
必读: 加载 shared/references/audit_worker_core_contract.md 和 shared/templates/audit_worker_report_template.md。
将报告写入 {output_dir}/625-dependencies.md,其中包含 category: "Dependencies & Reuse" 和检查项:outdated_packages, unused_deps, available_natives, custom_implementations, vulnerability_scan。
向协调器返回摘要:
Report written: docs/project/.audit/ln-620/{YYYY-MM-DD}/625-dependencies.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
| 文件 | 用途 |
|---|---|
references/vulnerability_commands.md | 特定生态系统的审计命令 |
references/ci_integration_guide.md | CI/CD 集成指南 |
shared/references/cvss_severity_mapping.md | CVSS 到严重性级别的映射 |
shared/references/audit_output_schema.md | 审计输出模式 |
必读: 加载 shared/references/audit_worker_core_contract.md。
vulnerabilities_only 模式下,完全跳过检查 1-4shared/references/cvss_severity_mapping.md 映射漏洞严重性必读: 加载 shared/references/audit_worker_core_contract.md。
shared/references/audit_scoring.md 计算分数{output_dir}/625-dependencies.md(原子性单次 Write 调用)版本: 4.0.0 最后更新: 2026-02-05
每周安装次数
159
仓库
GitHub 星标数
245
首次出现
2026年1月24日
安全审计
安装于
claude-code145
gemini-cli141
cursor141
opencode141
codex140
github-copilot135
Paths: File paths (
shared/,references/,../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. Ifshared/is missing, fetch files via WebFetch fromhttps://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.
Specialized worker auditing dependency management, code reuse, and security vulnerabilities.
| Param | Values | Default | Description |
|---|---|---|---|
| mode | full / vulnerabilities_only | full | full = all 5 checks, vulnerabilities_only = only CVE scan |
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
Receives contextStore with tech stack, package manifest paths, codebase root, output_dir.
From ln-620 (codebase-auditor): mode=full (default) From ln-760 (security-setup): mode=vulnerabilities_only
MANDATORY READ: Load shared/references/two_layer_detection.md for detection methodology.
shared/templates/audit_worker_report_template.md, write to {output_dir}/625-dependencies.md in single Write callMode: full only
Detection:
npm outdated --json (Node.js)pip list --outdated --format=json (Python)cargo outdated --format=json (Rust)Severity:
Recommendation: Update to latest version, test for breaking changes
Effort: S-M (update version, run tests)
Mode: full only
Detection:
import/require statementsSeverity:
Recommendation: Remove from package manifest
Effort: S (delete line, test)
Mode: full only
Detection:
Severity:
Recommendation: Use native alternative
Effort: M (refactor code to use native API)
Mode: full only
Detection:
Severity:
Recommendation: Replace with established library
Effort: M (integrate library, replace calls)
Mode: full AND vulnerabilities_only
Detection:
references/vulnerability_commands.mdshared/references/cvss_severity_mapping.mdSeverity:
Fix Classification:
Recommendation: Update to fixed version, verify lock file integrity
Effort: S-L (depends on breaking changes)
MANDATORY READ: Load shared/references/audit_worker_core_contract.md and shared/references/audit_scoring.md.
Note: When mode=vulnerabilities_only, score based only on vulnerability findings.
MANDATORY READ: Load shared/references/audit_worker_core_contract.md and shared/templates/audit_worker_report_template.md.
Write report to {output_dir}/625-dependencies.md with category: "Dependencies & Reuse" and checks: outdated_packages, unused_deps, available_natives, custom_implementations, vulnerability_scan.
Return summary to coordinator:
Report written: docs/project/.audit/ln-620/{YYYY-MM-DD}/625-dependencies.md
Score: X.X/10 | Issues: N (C:N H:N M:N L:N)
| File | Purpose |
|---|---|
references/vulnerability_commands.md | Ecosystem-specific audit commands |
references/ci_integration_guide.md | CI/CD integration guidance |
shared/references/cvss_severity_mapping.md | CVSS to severity level mapping |
shared/references/audit_output_schema.md | Audit output schema |
MANDATORY READ: Load shared/references/audit_worker_core_contract.md.
vulnerabilities_only mode, skip checks 1-4 entirelyshared/references/cvss_severity_mapping.mdMANDATORY READ: Load shared/references/audit_worker_core_contract.md.
shared/references/audit_scoring.md{output_dir}/625-dependencies.md (atomic single Write call)Version: 4.0.0 Last Updated: 2026-02-05
Weekly Installs
159
Repository
GitHub Stars
245
First Seen
Jan 24, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
claude-code145
gemini-cli141
cursor141
opencode141
codex140
github-copilot135
OpenClaw 安全 Linux 云部署指南:私有优先、SSH隧道、Podman容器化
33,700 周安装