supply_chain_audit
Audit Node.js dependencies for supply chain attack indicators: dangerous lifecycle scripts, typosquatting against popular packages, and eval() in source files. Reads local node_modules without remote access.
Instructions
Audit a Node.js project's dependencies for supply chain attack indicators. Checks all packages in node_modules for: dangerous lifecycle scripts (postinstall that curl-pipe-to-bash, eval, base64 decode), typosquatting against 50+ popular package names (Levenshtein distance 1), and eval() of runtime data in source files. Reads local filesystem — no remote service can inspect your node_modules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the Node.js project root (must contain package-lock.json and node_modules) |