Context Oversharing Auditor

io.github.GuardBee由 GitHub 帳號 GuardBee 發布v0.4.1更新於 Nov 3, 2026

OWASP MCP10 context oversharing: session dumps, unscoped memory, shared context, prompt leaks

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,掃描 agent 與 MCP 原始碼中的 OWASP MCP10:2025 上下文過度分享問題並產出報告。

可以做什麼
  • 掃描貼上的原始碼文字,檢查完整對話傾印、未限定範圍的記憶工具、共用工作階段儲存、系統提示外洩、未過濾的向量查詢等問題
  • 掃描單一檔案並執行相同檢查
  • 遞迴掃描整個目錄中的 agent 或 MCP 程式碼
  • 列出此稽核器執行的所有 OWASP MCP10 檢查項目,以及樣式名稱與嚴重程度
適用情境
適合在開發或審查 MCP 伺服器與 AI agent 時,快速做一次靜態檢查,確認處理函式不會回傳超出目前使用者或租戶可見範圍的工作階段、記憶或系統提示內容。它無法取代人工安全審查。
執行需求
以本機 stdio 程序執行,通常透過 npx 啟動 npm 套件 @guardbee/mcp-context-oversharing-auditor,因此需要 Node.js 以及下載該套件的網路存取。未宣告驗證、環境變數或標頭;除非將 GUARDBEE_TELEMETRY 設為 1,否則遙測預設關閉。
安裝前請注意
被掃描的原始碼會傳給此工具;若設定 GUARDBEE_TELEMETRY=1,伺服器、工具、成功狀態、耗時以及檔案路徑等短參數值會傳送給第三方,較長的字串與 content、token、password 等欄位會以佔位符取代。檢查採樣式比對,可能漏報或誤報。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Context Oversharing Auditor,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

@guardbee/mcp-context-oversharing-auditor

🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch

[npm version] [npm downloads] [License: MIT]

An MCP server that audits agent/MCP source for OWASP MCP10:2025 — context oversharing.

toxic-flow-auditor grades whether a tool catalog can chain the lethal trifecta. This package asks a different MCP10 question: does a handler return more session, memory, or system context than the current user/tenant should see?

Telemetry is off by default. With GUARDBEE_TELEMETRY=1 it sends the server, tool, success, duration and short parameter values such as a file path; longer strings and fields like content, token or password are replaced with a placeholder. See @guardbee/mcp-telemetry.

What it flags

PatternSeverityMeaning
tool_dumps_full_conversationcriticalTool returns full messages / conversation history
unscoped_memory_recall_toolhighdump_memory / get_all_memories-style tools
shared_global_session_storehighGlobal session Map/dict without per-user keys
system_prompt_exposed_via_toolhighTool returns systemPrompt / developer instructions
cross_session_tool_result_reusemediumPrior tool results mixed into another session's context
vector_query_without_filterhighVector/RAG search with no tenant/user metadata filter

Quick start

json
{  "mcpServers": {    "guardbee-context-oversharing-auditor": {      "command": "npx",      "args": ["-y", "@guardbee/mcp-context-oversharing-auditor"]    }  }}
bash
npx @guardbee/mcp-context-oversharing-auditor scan ./src --format=sarif

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/context-oversharing-auditor/README.md,提交 bc5997d

工具

4

scan_text

Scan agent/MCP source for OWASP MCP10:2025 context oversharing — full conversation dumps, unscoped memory tools, shared global session stores, system-prompt leaks via tools, cross-session tool-result bleed, and unfiltered vector queries.

輸入參數labelcontent必填

scan_file

Scan a single file for OWASP MCP10 context-oversharing issues

輸入參數path必填

scan_directory

Recursively scan a directory for OWASP MCP10 context-oversharing issues

輸入參數path必填excludeincludemaxFiles

list_patterns

List every OWASP MCP10 context-oversharing check this auditor runs

無需輸入參數。

版本歷史

4
  1. v0.4.1最新Oct 30, 2026
  2. v0.3.2Oct 22, 2026
  3. v0.2.2Oct 13, 2026
  4. v0.2.1Oct 9, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分