toxic-flow-auditor

v1.1.1
io.github.GuardBee/toxic-flow-auditor Checked 4 hours ago Published 1 month ago

Finds 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.

ParameterTypeDescription
catalog *stringJSON array of tools, or { tools: [...] } from tools/list
labelstringOptional label for the server/catalog

scan_source

Scan TypeScript/JavaScript MCP server source for .registerTool(...) and .tool(...) registrations and audit them for toxic flows

ParameterTypeDescription
content *stringSource code to scan
labelstring

scan_file

Scan a single source file for toxic flows

ParameterTypeDescription
path *string

scan_directory

Recursively scan a directory of MCP server source for toxic flows across all registered tools

ParameterTypeDescription
path *string
excludearray
maxFilesinteger

explain_trifecta

Explain the lethal trifecta / toxic-flow model this auditor uses