dependency_typosquat_audit
Scans npm package.json and Python requirements.txt for typosquatting, unpinned versions, git/tarball URLs, and risky install hooks to catch dependency supply-chain risks before install.
Instructions
[x402 $0.03 USDC on Base/Solana] Scans npm package.json and Python requirements.txt for Levenshtein typosquats, unpinned ranges, git/tarball URLs, and risky install hooks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "dependency_typosquat_audit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ecosystem | No | npm or pypi | |
| packageJson | No | Raw package.json string | |
| dependencies | No | Map of package name to version spec | |
| requirementsTxt | No | Raw requirements.txt string | |
| _paymentSignature | No | Optional base64-encoded x402 v2 payment-signature header (overrides X402_PAYMENT_SIGNATURE env var). |