npm-package-vulnerability-scanner

Scans npm dependencies for known vulnerabilities using the npm audit JSON API and the OSV.dev REST API (api.osv.dev/v1/query), and cross-references results with the GitHub Advisory Database (GHSA) for severity scoring.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "npm-package-vulnerability-scanner" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-174b57cb58597fdee612f47e7b8a8f0ccb7772b9baa9a3b54a04de2e446842f0. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/npm-package-vulnerability-scanner before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Scans npm dependencies for known vulnerabilities using the npm audit JSON API and the OSV.dev REST API (api.osv.dev/v1/query), and cross-references results with the GitHub Advisory Database (GHSA) for severity scoring.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "NPM 包漏洞扫描器"
slug: "npm-package-vulnerability-scanner"
version: "1.0.0"
displayName: "NPM 包漏洞扫描器"
summary: "使用 npm audit JSON API 和 OSV.dev REST API (api.osv.dev/v1/query) 扫描 npm 依赖中的已知漏洞。将结果与 GitHub Advisory Database (GHSA) 进行交叉参考以进行严重性评分。"
license: "MIT"
description: "使用 npm audit JSON API 和 OSV.dev REST API (api.osv.dev/v1/query) 扫描 npm 依赖中的已知漏洞。将结果与 GitHub Advisory Database (GHSA) 进行交叉参考以进行严重性评分。"
verification: "security_reviewed"
source: "https://docs.npmjs.com/cli/v10/commands/npm-audit/"
author: "1991513ccie-png"
category: "Library & API Reference"
framework: "Cursor"

NPM 包漏洞扫描器

Scans npm dependencies for known vulnerabilities using the npm audit JSON API and the OSV.dev REST API (api.osv.dev/v1/query). Cross-references findings with the GitHub Advisory Database (GHSA) for severity scoring.

Installation

Use the upstream install or setup path that matches your environment:

  • npm-audit | npm Docs Skip to search Skip to content
  • npm Docs
  • npm package scope, access level, and visibility
  • Docker and private modules

Requirements and caveats from upstream:

  • Downloading and installing Node.js and npm
  • Try the latest stable version of node
  • Creating Node.js modules

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value75/100

Highlights

  • 提供 npm 依赖漏洞扫描功能,结合多个权威安全数据库
  • 面向开发者安全需求,具有明确实用场景
Trigger Precision90/100

Highlights

  • 触发描述完整清晰,涵盖核心功能和使用方式
Structure and Standards60/100

Areas to improve

  • 缺少 When to Use/示例章节 Reported severity: Minor

    文档缺少具体的使用场景说明和端到端示例

    Recommendation: 补充 When to Use 章节说明适用场景,添加具体的使用示例和步骤划分

Execution Reliability65/100

Areas to improve

  • 主要异常未处理 Reported severity: Major

    未提及网络请求失败、API 限流、数据解析错误等主要异常情况的处理机制

    Recommendation: 补充异常处理说明,包括网络错误重试机制、API 限流处理和错误日志记录

Evidence Verifiability (mean of the first four)73/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • docs.npmjs.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.