check_dependency
Scan packages for vulnerabilities and verify registry existence before installation to block CVEs and prevent fake or hallucinated npm and PyPI dependencies.
Instructions
Check a package for known vulnerabilities and verify it exists on the registry. MUST be called before installing any dependency.
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": {
"name": "<name>"
},
"name": "check_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Package name (e.g., 'lodash', 'express') | |
| version | No | Specific version to check. If omitted, checks latest. | |
| ecosystem | No | Package ecosystem. Defaults to npm. |