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 集成