Title: Dependency Vulnerability Auditing Keywords: vulnerability-scan, security-audit, npm-audit, package-upgrade, supply-chain Agents: security, pipeline-specialist, infrastructure When to use: When scanning third-party package dependencies for security vulnerabilities, triaging advisories, and upgrading packages safely. Version: 1.0.0 Last updated: 2026-06-30 Run and analyze dependency audits to locate, evaluate, and fix third-party package vulnerabilities without breaking compilation. ---
4 stars
0 votes
0 copies
1 view
Added November 13, 2026
ai-agentsgorefactoringsecurity
Security analysis
A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Vulnerability Auditing?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ronnikc-vulnerability-auditing)
Title: Dependency Vulnerability Auditing
Keywords: vulnerability-scan, security-audit, npm-audit, package-upgrade, supply-chain
Agents: security, pipeline-specialist, infrastructure
When to use: When scanning third-party package dependencies for security vulnerabilities, triaging advisories, and upgrading packages safely.
Version: 1.0.0
Last updated: 2026-06-30
Run and analyze dependency audits to locate, evaluate, and fix third-party package vulnerabilities without breaking compilation.
---
## Workflow
### Step 1 — Execute Dependency Audit
Run the package manager security scan command in the local workspace directory (e.g. `npm audit --json`).
### Step 2 — Parse Advisory Report
Analyze the JSON audit output. Categorize the advisories by severity scale (Critical, High, Moderate, Low) and extract:
- Package name and vulnerable version ranges.
- Dependency paths (direct vs. transitive dependencies).
- Patch availability status.
### Step 3 — Triage Security Risks
Evaluate the risk footprint:
- Assess whether the vulnerable function is actually imported or exercised in the codebase.
- Flag direct dependencies that can be upgraded safely without breaking compatibility boundaries.
### Step 4 — Implement Safe Upgrades
Upgrade vulnerable packages using precise tags:
- Execute target upgrades (`npm install package@latest`).
- Run the build and test suites to verify that the upgrade did not introduce breaking changes or type mismatch errors.
---
## Input Schema
```yaml
input:
scan_level:
type: enum
values: [all, critical_only]
required: false
default: all
description: "Triage audit severity level filter"
```
## Output Schema
```yaml
output:
audit_summary:
type: object
properties:
total_vulnerabilities: { type: integer }
severity_distribution: { type: object }
status: { type: enum, values: [Secure, ActionRequired] }
remediations:
type: array
items:
type: object
properties:
package: { type: string }
severity: { type: string }
installed_version: { type: string }
fixed_in_version: { type: string }
```
## Quality Gate
- Zero critical or high vulnerabilities remain after fix operations (where path updates exist)
- Upgrade commits modify only the targeted dependency packages in package.json
- The codebase builds and passes all test suites post-upgrade
## Chain Metadata
```yaml
chain_metadata:
skill_slug: "vulnerability-auditing"
stage: "S3"
suggested_next:
- slug: "security-and-hardening"
stage: "S3"
reason: "Audited dependencies should be matched by runtime boundary security checks"
```
## Error Handling
- If upgrading a dependency introduces breaking changes, roll back package-lock.json and flag the issue for manual developer refactoring.
- If direct upgrades are blocked by package constraint graphs, suggest dependency overrides or resolutions.