Check a package or tool against known malware
is_dangerousCheck an npm or PyPI package name, or an Agent Tested slug, against Agent Tested's list of known malicious look-alikes of MCP servers and agent tools (from GitHub-reviewed malware advisories and OSV MAL records) and against tools marked 'Dangerous: avoid'. Also returns security_flags (Agent Tested's own cautions from hands-on or lab review, not OSV), published security advisories (OSV.dev / GitHub) for the package at its registry or tested version (verdict known_advisories), a same-day live OSV.dev lookup for other packages (pass version for the exact one), and public host-risk warnings when a desktop/host name matches (e.g. silent agent-config injection). Use it before installing an MCP server or agent package. Not being listed does not prove a package is safe.
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": {
"package_or_slug": "<package_or_slug>"
},
"name": "is_dangerous"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Optional exact version you plan to install; the live OSV.dev lookup then reports only advisories affecting it | |
| ecosystem | No | Optional; narrows the match | |
| package_or_slug | Yes |