用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill dependency-vulnerabilities命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | dependency-vulnerabilities |
| description | Dependency vulnerabilities — scanning, CVE triage, update strategy. |
| Ecosystem | Tool | How to run |
|---|---|---|
| Node.js / npm | npm audit | npm audit --audit-level=high |
| Node.js / npm | Snyk | snyk test |
| Node.js / npm | Dependabot | GitHub-native; auto PRs |
| Python | pip-audit | pip-audit -r requirements.txt |
| Ruby | bundle-audit | bundle audit check --update |
| Go | govulncheck | govulncheck ./... |
| Rust | cargo-audit | cargo audit |
| Java | OWASP Dependency-Check | Maven/Gradle plugin |
| .NET | dotnet list package --vulnerable | Built-in CLI |
| Docker images | Trivy | trivy image <image> |
| Multi-ecosystem | Snyk | SaaS; supports all above |
Run at minimum: on every PR and as a nightly scheduled job.
| CVSS Score | Severity | Fix SLA | Action |
|---|---|---|---|
| 9.0 – 10.0 | Critical | 24 hours | Emergency patch; notify security team; hotfix branch |
| 7.0 – 8.9 | High | 7 days | Prioritize over feature work; tracked in sprint |
| 4.0 – 6.9 | Medium | 30 days | Schedule in next sprint or Renovate auto-PR |
| 0.1 – 3.9 | Low | 90 days | Batch with routine dependency updates |
| N/A | Unscored | Assess manually | Treat as Medium until scored |
If the answer to all three is "no", you may downgrade one severity tier — document the reasoning.
1.2.3), not ranges (^1.2.3), to prevent surprise updates--force bypass is never acceptable in CI — if npm audit fails, fix the vulnerability or use npm audit --omit=dev only when the vulnerable package is provably not in the production bundle{
"extends": ["config:base"],
"vulnerabilityAlerts": { "enabled": true, "labels": ["security"] },
"packageRules": [
{ "matchUpdateTypes": ["patch"], "automerge": true },
{ "matchUpdateTypes": ["major"], "automerge": false }
]
}
| Practice | Why |
|---|---|
Pin exact versions in package-lock.json / Pipfile.lock / go.sum | Prevents dependency confusion attacks and surprise behavior changes |
| Verify package checksums | Lock files include integrity hashes — commit them and verify in CI |
| Prefer packages with active maintainers | Abandoned packages accumulate unpatched CVEs |
| Check publish dates and download counts | Typosquatting packages mimic popular names with low download counts |
Enable npm publish 2FA for owned packages | Prevents account takeover leading to malicious releases |
| Use a private registry mirror (Artifactory, Nexus) | Cache approved versions; block unknown packages |
SECURITY.md or responsible disclosure policy--force bypass in CI audit steps