security-dependency-audit
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-11-06
- Stars
- ★ 8
- Forks
- 0
02 资源文件 1
- 参考文档evals.json657 B
03 SKILL.md 正文
security-dependency-audit
The lockfile is the attack surface; an audit is only worth it if it ends in patches.
What you do
Run the relevant SCA tooling (npm audit, pip-audit, cargo audit, go mod audit, osv-scanner, Trivy, Snyk, GitHub Dependabot data), cross-reference the lockfile for transitive depth, and deliver a plan — not a raw JSON dump.
- Scan both direct and transitive dependencies; depth matters because transitives ship the bulk of CVEs.
- Triage CVEs by exploitability in this codebase, not CVSS alone — some are unreachable code.
- Check license obligations: GPL/AGPL in a closed-source product, field-of-use restrictions, attribution.
- Prefer patching over pinning — pinned vulnerable versions are temporary debt with an expiry.
- Propose a continuous policy: PR-time checks, nightly re-scan, renovate/Dependabot rules.
- Test the patch: upgrading a transitive can break the app silently.
Output shape
An audit-report.md plus a patch plan:
- Summary — total packages, direct vs transitive, count by severity, license exceptions.
- Findings table — package · version · CVE · CVSS · reachable? · fix version · notes.
- License review — packages with policy-sensitive licenses.
- Patch plan — ordered list: package · from → to · risk · test scope · owner.
- Ongoing policy — CI check, auto-PR cadence, allowlist rules.
Anti-patterns
- Only top-level scan — transitives hold most of the risk.
- Snapshot-in-time report with no ongoing scan — stale within a week.
- Auto-upgrading everything without running tests — swaps CVEs for breakage.
- Ignoring CVSS context — patching all 7.5s equally, missing a reachable 5.0.
- Noise-heavy output without triage — devs tune out.
- License audit skipped — legal surprises ship with the next release.
Handoff
Return the report and patch-plan paths to the invoking security specialist. Patch PRs typically hand off to the owning service specialist (backend / mobile) for test and merge; continuous policy changes chain into devops-ci-cd-pipeline. This skill does not dispatch.
04 同仓库更多 Skills
technical-writer-tutorial
暂无简介
social-media-thread
暂无简介
marketing-launch-plan
暂无简介
marketing-ab-copy-variants
暂无简介
frontend-bundler-config
暂无简介
doc-writer-onboarding-doc
Authors onboarding documentation and contributor guides — getting-started narrative pages, CONTRIBUTING.md, developer onboarding docs, new-user setup guides, CODE_OF_CONDUCT.md, GOVERNANCE.md. Pulled by the `doc-writer` specialist. TRIGGER: "write a getting-started guide", "create a CONTRIBUTING.md", "onboarding guide for new developers", "write the contributor guide", "new-user setup documentation", "developer onboarding doc", "write the getting started page", "add a CODE_OF_CONDUCT". DO NOT TRIGGER for: project README overview (use `doc-writer-readme`), onboarding email sequences for existing SaaS users (use `copywriter-email-sequences` — copywriter owns lifecycle nurture emails), API reference docs (use `technical-writer-api-docs`), formal step-by-step tutorials with prerequisite/verify blocks (use `technical-writer-tutorial`), changelogs or release notes (use `technical-writer-release-notes`), marketing copy about onboarding (use `copywriter-long-form`).