tool_poisoning_scanner__scan_text
Scans MCP server source code for hidden instructions in tool descriptions and confused-deputy tools whose handlers expose shell, eval, file-write, or env-dump sinks.
Instructions
Scan MCP server source (TypeScript/JavaScript, Python, Go) for tool poisoning (hidden instructions embedded in a tool's description string, read by the calling LLM as trusted context) and confused-deputy tools (a name/description promising read-only behavior while the handler has a shell/eval/file-write/env-dump sink).
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": {
"content": "<content>"
},
"name": "tool_poisoning_scanner__scan_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label shown in findings (e.g. filename); its extension picks the language | |
| content | Yes | The source code to scan | |
| language | No | Source language, when the label has no extension (default: typescript) |