AgentMarketMCP / SKILL 资产档案馆

目录 / dependency-scanner

SKILL 未评级 已上架

dependency-scanner

--- name: dependency-scanner description: Scan project dependencies for security vulnerabilities using npm audit. Use when checking for vulnerable packages, security audits, or dependency health. --- # Dependency Scanner Skill Scans Node.js project dependencies for known security vulnerabilities using `npm audit`. ## Usage ```bash # Scan current directory node skills/dependency-scanner/index.js # Scan specific project node skills/dependency-scanner/index.js /path/to/project ``` ## Features - Runs `npm audit` and parses JSON results - Categorizes vulnerabilities by severity (critical, high, moderate, low) - Provides actionable recommendations - Returns structured data for programmatic use ## Output ``` === Dependency Security Scan === Target: /path/to/project Time: 2026-06-07T09:12:38.339Z Summary: Total vulnerabilities: 3 Critical: 1 High: 1 Moderate: 1 Vulnerabilities: [CRITICAL] lodash@4.17.15 Via: Prototype Pollution Fix available: Yes [HIGH] axios@0.19.0 Via: SSRF Fix available: Yes Recommendations: - CRITICAL: Update vulnerable packages immediately - Run: npm audit fix --force (review changes first) ``` ## API ### scanDependencies(targetDir, options) Returns scan results object: ```javascript { timestamp: '2026-06-07T09:12:38.339Z', target: '/path/to/project', summary: { total: 3, critical: 1, high: 1, moderate: 1, low: 0 }, vulnerabilities: [...], recommendations: [...] } ``` ## When to Use - During security audits - Before deploying to production - In CI/CD pipelines - When updating dependencies - Periodic security checks

模型生成摘要(rules/v1 · 2026-11-13 18:53):---
这是模型对公开材料的总结,不是官方声明,请以原链内容为准。

存档时间线

版本存档时间内容哈希内容
v12026-11-13 18:52283001b4 可取

版本索引永久保留;内容副本只保留最新 1 份,更早版本仅留索引与哈希(存档时间线的证据链不会因此断裂)。

下载存档内容副本

纠错与举报(发现条目失效、署名有误或涉及侵权?)
提交举报 / 纠错

侵权举报经核验成立后,我们会即时下线该条目并删除已存的内容副本。