AgentDiet A2A Indirect Prompt-Injection & Jailbreak Firewall

dev.agentdiet由 agentdiet.dev 發布官方發布者v7.0.17更新於 Nov 4, 2026

Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections an.

發布方自己的服務:AgentDiet AI Token Diet & Context Window Distiller

已驗證Streamable HTTP可網頁執行安全與監控AI 與機器學習

概覽

AI 產生的概覽

遠端 MCP 伺服器,可掃描不受信任文字中的隱藏提示注入並回傳淨化後的文字,另提供帳戶餘額與用量查詢。

可以做什麼
  • 掃描網頁、電子郵件、MCP 回應或 A2A 酬載等不受信任內容中的隱藏提示注入,並回傳淨化後的文字。
  • 查詢代理帳戶的剩餘免費試用次數、預付美元餘額、累計支出、API 呼叫總數與節省的 token 數。
適用情境
適合在助理處理來自外部來源的內容、需要在據此行動前做確定性注入檢查時使用;也適合在批次執行付費工具呼叫前確認帳戶餘額。
執行需求
需要一個遠端 streamable HTTP 端點;未宣告任何套件、環境變數或請求標頭。掃描工具說明提供有限免費試用(5 次),之後為付費使用。
安裝前請注意
送出的不受信任內容會傳送到第三方服務進行掃描。超出免費試用後會從預付美元餘額扣款,大量使用前應先查看錢包狀態。README 描述的端點與觀測站和清單中的不一致,連線前請確認實際使用的位址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AgentDiet A2A Indirect Prompt-Injection & Jailbreak Firewall,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/dev.agentdiet%2Fprompt-guard/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "agentdiet-a2a-indirect-prompt-injection": {
      "type": "http",
      "url": "https://prompt-guard.agentdiet.dev/mcp"
    }
  }
}

README

Assay — A2A & MCP Provider Assurance Observatory

[Assay Badge]

Live Observatory: https://assay-207908449630.us-central1.run.app

Assay continuously probes remote MCP, A2A, and x402 endpoints to verify liveness, pin canonical SHA-256 tools/list schema hashes (detecting silent MCP Rug Pulls), and scan for prompt-injection tool poisoning before your agent pays or executes a tool.

MCP Endpoint

  • Streamable HTTP MCP: https://assay-207908449630.us-central1.run.app/mcp
  • Pre-Flight REST API: POST https://assay-207908449630.us-central1.run.app/v1/preflight
  • Live Leaderboard: GET https://assay-207908449630.us-central1.run.app/v1/leaderboard

來源:README.md,提交 fd42696

工具

2

scan_prompt_injection

Scan prompt injection

Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and returns sanitized text. WHEN TO USE: Call `scan_prompt_injection` when your task requires deterministic `prompt-guard` analysis for `text`; use `get_agent_wallet_status` to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target `text` as a non-empty string; omit `agent_id` and `tx_hash` during your 5 free trial calls, or supply `agent_id` (`agd_pass_...`) / `tx_hash` for paid execution. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.005 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: scan_prompt_injection(text='example')

輸入參數text必填tx_hashagent_id

get_agent_wallet_status

Get agent wallet status

Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to check a specific funded wallet. Free and read-only: never charges a fee or consumes a free trial call. Example: get_agent_wallet_status(agent_id='example')

輸入參數agent_id

版本歷史

2
  1. v7.0.17最新Oct 21, 2026
  2. v7.0.15Oct 19, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Agentdiet 整合