npm-vulnerability-analysis

Analyze npm package vulnerabilities across versions and generate upgrade reports.

Updated Feb 2, 2026
One-click install
npx skills add https://github.com/Konata9/npm-vulnerability-analysis-skills --skill npm-vulnerability-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: npm-vulnerability-analysis
Source: https://github.com/Konata9/npm-vulnerability-analysis-skills/tree/main
Command: npx skills add https://github.com/Konata9/npm-vulnerability-analysis-skills --skill npm-vulnerability-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

The NPM Vulnerability Analysis Skill helps teams identify safe, secure versions of dependencies by evaluating vulnerabilities across multiple versions and generating actionable upgrade reports.

Core Features & Use Cases

  • Multi-Version Analysis: Analyze vulnerabilities across multiple versions of a package simultaneously.
  • Safe Version Identification: Automatically identify safe version ranges based on vulnerability thresholds.
  • Trend Tracking & Reports: Generate Markdown, HTML, and CSV vulnerability reports and track trends over time.
  • Use Case: When preparing an upgrade, run analyses across versions to select safe options and document recommendations.

Quick Start

Run the master script to analyze the latest 10 versions of a package and generate vulnerability reports in the reports directory.

Frequently Asked Questions about npm-vulnerability-analysis

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

FAQPage Schema
How do I find safe npm package versions during a dependency audit?

To find safe npm package versions during a dependency audit, this analysis evaluates vulnerabilities across multiple versions simultaneously and generates actionable upgrade recommendations. It identifies safe version ranges based on configurable vulnerability thresholds.

Does the npm vulnerability analysis support pnpm and yarn package managers?

Yes, the npm vulnerability analysis supports pnpm and yarn package managers. You can configure the package manager selection when invoking the master workflow, allowing flexible dependency auditing across different JavaScript project environments.

How do I track npm vulnerability trends and generate audit reports?

To track npm vulnerability trends and generate audit reports, the analysis saves multi-version vulnerability results to a designated reports directory. It outputs actionable data in Markdown, HTML, and CSV formats for straightforward trend tracking over time.

What is the best way to analyze multiple versions of an npm package for security vulnerabilities?

The best way to analyze multiple versions of an npm package for security vulnerabilities is running the master script with configurable thresholds. It evaluates vulnerabilities across specified versions simultaneously and returns aggregated data for safe version identification.

How do I configure vulnerability thresholds for npm dependency analysis?

You configure vulnerability thresholds for npm dependency analysis by passing parameters to the master script invocation. This sets the acceptable security risk level, allowing the analysis to automatically identify safe version ranges that meet your defined criteria.

Can I export npm audit results to CSV and HTML formats?

Yes, you can export npm audit results to CSV and HTML formats. The analysis generates vulnerability reports in Markdown, HTML, and CSV formats, saving them to a configured output path for documentation and long-term trend tracking.