check_package
Check a package before installing it to get an allow, warn, or block verdict on hallucinated names, malware, exact-version CVEs, and signs of a compromised release, with evidence and source URLs.
Instructions
Check a package BEFORE installing it. ecosystem: npm | pypi | crates. package: a name with an optional exact version, e.g. "axios@1.15.0", "requests==2.32.3", "serde@1.0.210". Returns verdict allow | warn | block | error and findings with evidence and source URLs: nonexistent (hallucinated) names, malware, CVEs in that exact version, fresh packages/releases, and signs of a compromised release (provenance lost, new publisher, install script added). Do not install on block; tell the user about warn.
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": {
"ecosystem": "<ecosystem>",
"package": "<package>"
},
"name": "check_package"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| ecosystem | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||