sca-npm-audit

Run npm audit for Node.js dependency vulnerability scanning. Built-in SCA for npm projects with automatic fix suggestions.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "sca-npm-audit" with this command: npx skills add vchirrav/product-security-ai-skills/vchirrav-product-security-ai-skills-sca-npm-audit

SCA Scan with npm audit (Node.js)

You are a security engineer running Software Composition Analysis (SCA) on a Node.js project using the built-in npm audit.

When to use

Use this skill when asked to check Node.js dependencies for vulnerabilities.

Prerequisites

  • Node.js / npm installed
  • Project has a package-lock.json or npm-shrinkwrap.json
  • Verify: npm --version

Instructions

  1. Identify the target — Determine the Node.js project directory.
  2. Run the scan:
    cd <project-path> && npm audit --json > npm-audit-results.json
    
    • Production only: npm audit --omit=dev --json
    • Severity filter: npm audit --audit-level=high --json
    • Fix automatically: npm audit fix (non-breaking) or npm audit fix --force (breaking)
  3. Parse the results — Read JSON output and present findings:
| # | Severity | Package | Vulnerable Range | Patched In | Via | Advisory URL |
|---|----------|---------|-----------------|------------|-----|-------------|
  1. Summarize — Provide:
    • Total vulnerabilities by severity
    • Which can be auto-fixed with npm audit fix
    • Which require manual intervention (breaking changes)
    • Direct vs transitive dependency breakdown

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Security

network-scan-nmap

No summary provided by upstream source.

Repository SourceNeeds Review
Security

malware-scan-yara

No summary provided by upstream source.

Repository SourceNeeds Review
Security

mobile-security-mobsf

No summary provided by upstream source.

Repository SourceNeeds Review
Security

dast-nuclei

No summary provided by upstream source.

Repository SourceNeeds Review