
Toxic Flow Auditor
io.github.4hmetuyar由 GitHub 帳號 4hmetuyar 發布v0.1.4更新於 Oct 24, 2026
Finds lethal-trifecta toxic flows in MCP tool catalogs: untrusted input, sensitive data, egress
概覽
一個本機 MCP 伺服器,用來稽核 MCP 工具目錄中的致命三要素(lethal trifecta)有毒流程:不可信輸入、敏感資料與對外傳送。
- 可以做什麼
- 稽核 tools/list 形式的 JSON 目錄,以 A–F 評級,檢查整個目錄或單一工具註冊中的有毒流程,以及敏感加外洩、不可信加外洩、敏感加破壞等危險組合。從原始碼文字中擷取工具註冊,並掃描單一原始碼檔案。遞迴掃描目錄並合併各檔案中的工具。說明致命三要素模型及其分類規則。僅做靜態目錄分析,不呼叫實際工具。
- 適用情境
- 適合在把某個 MCP 伺服器或一組 MCP 工具接入助理之前進行審查或核准,尤其是找出同一個伺服器同時具備抓取不可信內容、讀取私有資料以及向外傳送或刪除資料的能力。也適合在 CI 中讓被標記的目錄或原始碼導致建置失敗。
- 執行需求
- 以 npm 套件 @guardbee/mcp-toxic-flow-auditor 透過 stdio 在本機執行,需要 Node.js 和 npx。不需 API 金鑰,也未宣告環境變數或標頭。輸入為 tools/list 的 JSON 匯出或 MCP 伺服器原始碼檔案。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Toxic Flow Auditor,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@guardbee/mcp-toxic-flow-auditor
🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch
[npm version] [npm downloads] [License: MIT]
An MCP server that audits an MCP tool catalog for toxic flows — Simon Willison's lethal trifecta:
- Untrusted content (fetch, scrape, browse, issues, feeds)
- Sensitive / private data (vault, DB, secrets, KVKK-regulated PII)
- Exfiltration or destruction (send, webhook, export, delete, drop)
When one MCP server exposes all three, a single prompt injection can chain them. Mapped primarily to OWASP MCP10:2025.
Telemetry is off by default. With
GUARDBEE_TELEMETRY=1it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields likecontent,tokenorpasswordare replaced with a placeholder. See@guardbee/mcp-telemetry.
What it flags
- Lethal trifecta across the catalog. Tools that fetch untrusted content, reach vault/DB/PII, and can send data out or destroy it — on the same server.
- Single-tool trifecta. One registration whose name/description itself spans all three capabilities.
- Dangerous pairs. Sensitive+exfil, untrusted+exfil, or sensitive+destructive even when the full trifecta is not present.
- KVKK-aware heuristics. Turkish PII signals (
tc_kimlik,müşteri,KVKK) count as sensitive data. - snake_case names read word by word.
read_vault_secretanddrop_tableare classified by each word; opening a pull request counts as exfiltration.
Grades A–F. No API key. Static / catalog analysis only — does not call live tools.
The classification rules come from @guardbee/guard-core; @guardbee/mcp-security-proxy uses the same rules to block toxic flows at runtime.
Tools
CLI
Example catalog:
Feedback
Questions, ideas, or a false positive? Start a thread in GitHub Discussions or open an issue. If GuardBee is useful to you, a ⭐ on the repository helps others find it.
來源:packages/toxic-flow-auditor/README.md,提交 ae591f4
工具
0版本歷史
2- v0.1.4最新Oct 2, 2026
- v0.1.3Sep 30, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分