toxic-flow-auditor
v1.1.1Finds lethal-trifecta toxic flows in MCP tool catalogs: untrusted input, sensitive data, egress
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
audit_catalog
Audit a tools/list-shaped JSON catalog for the lethal trifecta (toxic flow): untrusted content + sensitive/private data + exfiltration or destruction on the same MCP server. Returns an A–F grade.
| Parameter | Type | Description |
|---|---|---|
catalog * | string | JSON array of tools, or { tools: [...] } from tools/list |
label | string | Optional label for the server/catalog |
scan_source
Scan TypeScript/JavaScript MCP server source for .registerTool(...) and .tool(...) registrations and audit them for toxic flows
| Parameter | Type | Description |
|---|---|---|
content * | string | Source code to scan |
label | string |
scan_file
Scan a single source file for toxic flows
| Parameter | Type | Description |
|---|---|---|
path * | string |
scan_directory
Recursively scan a directory of MCP server source for toxic flows across all registered tools
| Parameter | Type | Description |
|---|---|---|
path * | string | |
exclude | array | |
maxFiles | integer |
explain_trifecta
Explain the lethal trifecta / toxic-flow model this auditor uses