
Elicitation Auditor
io.github.4hmetuyar由 GitHub 帳號 4hmetuyar 發布v0.1.1更新於 Oct 24, 2026
MCP elicitation anti-patterns: secrets in forms, third-party authorize URLs, credentials in URLs
概覽
本機 MCP 伺服器,靜態掃描 MCP 伺服器原始碼中的 elicitation 反模式,例如表單索取密鑰、URL 夾帶憑證。
- 可以做什麼
- 掃描原始碼字串、單一檔案,或遞迴掃描整個目錄以找出 elicitation 反模式
- 列出內建檢查項目(表單模式索取密鑰、第三方 authorize 連結、URL 內嵌憑證、明文 HTTP、表單中的可點擊連結、把表單答案當成身分、忽略 decline/cancel)
- 輸出檢查結果供審閱,命令列另可輸出 text、JSON 或 SARIF 格式
- 適用情境
- 適合在開發或審查使用 elicitation 的 MCP 伺服器時,依 2026-07-28 規格中表單模式與 URL 模式的界線做一次快速靜態檢查。
- 執行需求
- 以 npm 套件 @guardbee/mcp-elicitation-auditor 透過 stdio 在本機執行,需要 Node.js 與 npx。不需 API 金鑰,未宣告環境變數,也不需要驗證。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Elicitation Auditor,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@guardbee/mcp-elicitation-auditor
🇬🇧 English | 🇹🇷 Türkçe | 🇨🇳 中文 | 🇯🇵 日本語 | 🇰🇷 한국어 | 🇧🇷 Português | 🇪🇸 Español | 🇩🇪 Deutsch
[npm version] [npm downloads] [License: MIT]
An MCP server that scans MCP server source for elicitation anti-patterns in the 2026-07-28 specification.
That revision deprecated sampling and roots. Elicitation is the remaining way a server asks the client for something. Form mode collects structured data through the client. URL mode sends the user to a page the client must not read. The spec draws a hard line between them.
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
- Form-mode secrets.
elicitInput/ctx.elicit/elicitation/createwith mode omitted orform, whose schema asks forpassword,apiKey,access_token,cvv, and the same family. A name and email form is allowed by the spec and is not flagged.secretQuestionis not treated assecret. - Direct third-party authorize. URL mode whose
urlpath containsauthorize,oauth, oroauth2, unless the path goes through your own/connectroute. That is the forwarded-link phishing case in the spec: the user who opens the link must be checked against the MCP user before any redirect. - Credential or personal data in the URL. Query keys such as
access_token,code, oremail. The URL is shown to the MCP client. - Cleartext HTTP, except
localhostand127.0.0.1. - Clickable URL in a form. A form message or field description that contains an
httplink. The spec says that link belongs in URL mode. - Form answer used as identity. The submitted email or username is passed to
findUser,loginAs, or assigned toreq.user, with no comparison to the tokensubclaim. - Ignored decline/cancel. Code reads
.contentand never looks at.action,decline, orcancel. Checkingaction !== "accept"is enough. Sending the email as a notification address is not treated as an identity check.
Tools
CLI
guardbee.yml:
No API key. Static analysis only.
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/elicitation-auditor/README.md,提交 82be7b9
工具
0版本歷史
1- v0.1.1最新Sep 30, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分