sca-runner

Detect vulnerable dependencies using npm audit and Trivy with unified JSON output.

3|1|Updated Dec 23, 2025
One-click install
npx skills add https://github.com/naporin0624/claude-web-audit-plugins --skill sca-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sca-runner
Source: https://github.com/naporin0624/claude-web-audit-plugins/tree/main/skills/sca-runner
Command: npx skills add https://github.com/naporin0624/claude-web-audit-plugins --skill sca-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill wraps npm audit and Trivy to perform Software Composition Analysis (SCA) and detect vulnerable dependencies. It provides a unified, JSON-friendly output to help you automate dependency vulnerability management.

Core Features & Use Cases

  • Auto-detects the scanner (npm audit or Trivy) based on project context.
  • Outputs a structured JSON report with findings and a summary.
  • Supports multi-language project scans (Node, Python, Go, etc.) for proactive security.

Quick Start

Run in your project folder to scan dependencies: npx sca-runner .

Frequently Asked Questions about sca-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan my project for vulnerable dependencies?

Dependency scanning detects security vulnerabilities in your project's libraries. Run `npx sca-runner .` in your project folder to scan dependencies using npm audit or Trivy, which auto-detects based on your project type and outputs a structured JSON report with findings and severity levels.

Does npm audit work with multi-language projects?

Yes, npm audit covers Node.js projects, but multi-language scanning requires Trivy, which supports Python, Go, Java, and other ecosystems. The Skill auto-selects the appropriate scanner or lets you specify npm audit explicitly for Node.js-only projects.

What information does a dependency vulnerability scan provide?

A vulnerability scan output includes the tool used, scan path, scan date, discovered vulnerabilities with severity levels, CVSS scores, CWE identifiers when available, and a summary of findings. The unified JSON format makes results easy to integrate into CI/CD pipelines.

Can I use this for automated security checks in CI/CD?

Yes, the Skill outputs structured JSON and standard exit codes suitable for automation. Run it in your deployment pipeline to detect vulnerable dependencies before release and fail builds when security issues exceed your risk threshold.

What's the difference between npm audit and Trivy for dependency scanning?

npm audit detects vulnerabilities in Node.js packages, while Trivy scans multi-language projects including Python, Go, and container images. The Skill prefers Trivy when available for broader ecosystem coverage, but falls back to npm audit for Node.js-only analysis.