depguard_audit
Audits a single npm package for security: scans source code for malware, checks vulnerabilities via npm and GitHub Advisory, analyzes install scripts, and verifies license compatibility. Pass a specific version to audit instead of latest.
Instructions
Deep security audit of a single npm package. Downloads the tarball, scans source code for malware, checks vulnerabilities (npm + GitHub Advisory), analyzes install scripts, verifies license. Use when you need full details on a specific package. Pass a version to audit a specific installed version instead of latest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | npm package name | |
| version | No | Specific version to audit (e.g. "4.17.1"). If omitted, audits the latest version. | |
| targetLicense | No | Project license for compatibility check (default: MIT) |