Review Dependency Vulnerabilities
Purpose
Reduce a noisy list of dependency findings to a small set of upgrade actions and documented risk decisions, so that real exposure drops with the least change.
When to use
- An SCA, SBOM or container image scan report is produced for an application.
- A release gate blocks on known vulnerable components (OWASP A06: Vulnerable and Outdated Components).
- The team plans periodic dependency hygiene work.
When not to use
- A single high-profile CVE needs deep assessment. Use
vulnerability-triage.
- The upgrade itself (code changes, breaking API migration) is being implemented. Use
dependency-upgrade.
- The base image or Dockerfile structure is the concern. Use
dockerfile-review.
Inputs
Required:
- The SCA or scan report (package, version, CVE/advisory, severity, fixed version) for a named application.
Optional, improves quality:
- Lock files or dependency tree, SBOM (CycloneDX/SPDX).
- Runtime context: which packages are loaded in production, exposure, data sensitivity.
- Remediation SLAs, risk acceptance process, license policy.
If the report is missing, ask for it. If fixed versions are not in the report, mark them [UNKNOWN]; do not guess versions.
Process
- Normalize findings: deduplicate the same CVE across paths, group by package, and separate application dependencies from OS/base image packages.
- Classify each package as direct or transitive and note the dependency path (A -> B -> vulnerable C).
- Filter scope: dev/test-only dependencies, unused code paths and build-time tools get lower priority; state the evidence.
- For each package find the minimal fixed version and whether it is a patch, minor or major upgrade; flag known breaking changes.
- Prefer upstream fixes in this order: bump the direct dependency that pulls the fix, apply a version override/resolution for the transitive package, replace the package, patch or configure around it.
- Prioritize using severity, known exploitation (KEV, EPSS if available), reachability and exposure; for top items, apply
vulnerability-triage reasoning.
- Bundle actions into upgrade batches by risk and blast radius, each with tests to run and rollback approach.
- For findings that cannot be fixed now, write a risk acceptance: reason, compensating control, owner, expiry.
- Note systemic improvements: automated update bots, lock file policy, base image refresh cadence, SBOM generation in the pipeline.
- Label every reachability or exploitability judgement not backed by evidence as
[ASSUMPTION], then hand off: vulnerability-triage for findings that need deeper analysis, dependency-upgrade for the upgrade work, security-finding-report for accepted risks that must be documented.
Output format
# Dependency Vulnerability Review: <application> (<report date>)
## Summary
- Findings: <raw> -> <unique packages> · Critical/High after context: <n>
## Upgrade Plan
| Batch | Package | Current -> Target | Direct/Transitive | Fixes (CVE IDs) | Change type | Tests | Owner |
## Risk Acceptances
| Package / CVE | Reason | Compensating control | Owner | Expires |
## Deprioritized (with evidence)
- <package> – dev-only / not loaded / not reachable
## Systemic Improvements
- ...
## Open Questions
Quality checklist
Common pitfalls
- Upgrading everything to latest in one change. Batch by risk and test each batch.
- Ignoring findings because the package is transitive. Transitive code runs in production just the same.
- Permanent overrides that silently pin old versions. Track overrides and remove them when the parent updates.
Example
Input: "Node.js API, 47 findings, 6 critical; 5 of the critical ones come from an old version of a JSON web token library pulled by the auth middleware."
Excerpt of output:
| 1 | auth middleware (direct) | 2.x -> fixed major [UNKNOWN: confirm version in advisory] | Direct | 5 critical CVEs via token library | Major | Auth integration tests | API lead |
| Risk acceptance | image processing lib CVE | Not reachable: only used by a disabled feature | Feature flag off + removal in next release | Tech lead | 30 days |
1---2name: dependency-vulnerability-review3description: "Reviews software composition analysis (SCA) findings for third-party dependencies and container images, groups them by package, identifies direct versus transitive paths, proposes minimal safe upgrade paths, and documents risk acceptance for what cannot be fixed yet. Use when an SCA, SBOM or container scan report needs to become an actionable upgrade plan, or before a release gate on known vulnerable components."4license: MIT5metadata:6 source: https://skillmd.com/skills/muratdincer/dependency-vulnerability-review7 version: "1.0.0"8 language: en9 category: 09-security10 role: security-engineer11 area: assessment12 title: "Review dependency vulnerabilities"13 related: "vulnerability-triage, dependency-upgrade, dockerfile-review, security-finding-report, release-quality-gate"14 prompt: "Here is the SCA report for our Node.js API: 47 findings, 6 critical. Turn it into an upgrade plan and tell me what we can accept for now."15---1617# Review Dependency Vulnerabilities1819## Purpose20Reduce a noisy list of dependency findings to a small set of upgrade actions and documented risk decisions, so that real exposure drops with the least change.2122## When to use23- An SCA, SBOM or container image scan report is produced for an application.24- A release gate blocks on known vulnerable components (OWASP A06: Vulnerable and Outdated Components).25- The team plans periodic dependency hygiene work.2627## When not to use28- A single high-profile CVE needs deep assessment. Use `vulnerability-triage`.29- The upgrade itself (code changes, breaking API migration) is being implemented. Use `dependency-upgrade`.30- The base image or Dockerfile structure is the concern. Use `dockerfile-review`.3132## Inputs33Required:34- The SCA or scan report (package, version, CVE/advisory, severity, fixed version) for a named application.3536Optional, improves quality:37- Lock files or dependency tree, SBOM (CycloneDX/SPDX).38- Runtime context: which packages are loaded in production, exposure, data sensitivity.39- Remediation SLAs, risk acceptance process, license policy.4041If the report is missing, ask for it. If fixed versions are not in the report, mark them `[UNKNOWN]`; do not guess versions.4243## Process441. Normalize findings: deduplicate the same CVE across paths, group by package, and separate application dependencies from OS/base image packages.452. Classify each package as direct or transitive and note the dependency path (A -> B -> vulnerable C).463. Filter scope: dev/test-only dependencies, unused code paths and build-time tools get lower priority; state the evidence.474. For each package find the minimal fixed version and whether it is a patch, minor or major upgrade; flag known breaking changes.485. Prefer upstream fixes in this order: bump the direct dependency that pulls the fix, apply a version override/resolution for the transitive package, replace the package, patch or configure around it.496. Prioritize using severity, known exploitation (KEV, EPSS if available), reachability and exposure; for top items, apply `vulnerability-triage` reasoning.507. Bundle actions into upgrade batches by risk and blast radius, each with tests to run and rollback approach.518. For findings that cannot be fixed now, write a risk acceptance: reason, compensating control, owner, expiry.529. Note systemic improvements: automated update bots, lock file policy, base image refresh cadence, SBOM generation in the pipeline.5310. Label every reachability or exploitability judgement not backed by evidence as `[ASSUMPTION]`, then hand off: `vulnerability-triage` for findings that need deeper analysis, `dependency-upgrade` for the upgrade work, `security-finding-report` for accepted risks that must be documented.5455## Output format56```markdown57# Dependency Vulnerability Review: <application> (<report date>)58## Summary59- Findings: <raw> -> <unique packages> · Critical/High after context: <n>60## Upgrade Plan61| Batch | Package | Current -> Target | Direct/Transitive | Fixes (CVE IDs) | Change type | Tests | Owner |62## Risk Acceptances63| Package / CVE | Reason | Compensating control | Owner | Expires |64## Deprioritized (with evidence)65- <package> – dev-only / not loaded / not reachable66## Systemic Improvements67- ...68## Open Questions69```7071## Quality checklist72- [ ] Duplicates are merged and counts before/after are shown.73- [ ] Every target version comes from the report or advisory, not guessed.74- [ ] Transitive fixes use the smallest safe override and are noted for later cleanup.75- [ ] Every risk acceptance has an owner and expiry date.76- [ ] Deprioritized items have explicit evidence.77- [ ] Base image and OS packages are handled separately from application packages.78- [ ] All checks pass; if any fails, revise the output and re-run this checklist before answering.7980## Common pitfalls81- Upgrading everything to latest in one change. Batch by risk and test each batch.82- Ignoring findings because the package is transitive. Transitive code runs in production just the same.83- Permanent overrides that silently pin old versions. Track overrides and remove them when the parent updates.8485## Example86Input: "Node.js API, 47 findings, 6 critical; 5 of the critical ones come from an old version of a JSON web token library pulled by the auth middleware."8788Excerpt of output:89| 1 | auth middleware (direct) | 2.x -> fixed major [UNKNOWN: confirm version in advisory] | Direct | 5 critical CVEs via token library | Major | Auth integration tests | API lead |90| Risk acceptance | image processing lib CVE | Not reachable: only used by a disabled feature | Feature flag off + removal in next release | Tech lead | 30 days |