Scan an npm package for supply chain malware, obfuscation, and suspicious behavior
Scan the npm package $ARGUMENTS for supply chain threats using unsus.
bun src/index.ts scan $ARGUMENTS
Review the output:
If the risk score is medium or higher (>3.0) OR the AI verdict is SUSPICIOUS/MALICIOUS, investigate:
Summarize with a clear verdict:
--no-dynamic — skip Docker sandbox analysis (if Docker isn't available)--no-ai — skip AI analysis, scanner only--ai-provider <claude|gemini|codex> — choose AI provider (default: auto-detect)--json — structured JSON output for further processing