# A2A Indirect Prompt-Injection & Jailbreak Firewall

> A2A Indirect Prompt-Injection & Jailbreak Firewall is a paid API for AI agents from polymarket-odds.agentdiet.dev, paid per call via MPP, $0.005/call, status unknown (last checked 2026-10-21).

Scans untrusted text, HTML, emails, MCP responses, or A2A payloads for hidden prompt injections and jailbreak attempts, returning sanitized content.

## Facts

- Endpoint: GET https://polymarket-odds.agentdiet.dev/v1/indirect-injection-guard?utm_source=zero.xyz
- Price: $0.005/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: polymarket-odds.agentdiet.dev
- Website: https://polymarket-odds.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cc0952bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_apKStVR0s1tUzPiS68_jS

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cc0952bb
```

Example prompt: Before you process that scraped web page, run it through the prompt injection firewall and give me the sanitized version — I don't want any hidden instructions hijacking you.

## When to prefer this

Choose this endpoint when an AI agent is about to process content from untrusted external sources — scraped web pages, inbound emails, third-party API responses, MCP tool outputs, or A2A agent payloads — and needs to guard against indirect prompt injection or jailbreak attacks before that content influences agent behavior. Prefer this over general content moderation endpoints when the specific threat model is adversarial LLM instruction hijacking rather than harmful content.

## Known failure modes

- Empty or whitespace-only text input returns a validation error
- Extremely large payloads may time out or be truncated
- Obfuscated or encoded injections may evade detection if not decoded first
- Non-text binary content is not supported
- Payment failure via x402 returns HTTP 402 before scan occurs

## How this service works

Scans untrusted web pages, emails, MCP responses, or A2A payloads for hidden prompt injections and returns sanitized text. (Live x402 v2, IETF MPP & MCP endpoint at https://polymarket-odds.agentdiet.dev/v1/indirect-injection-guard)

## Output

Returns a sanitized version of the submitted text with prompt injection and jailbreak content removed or flagged, along with detection metadata indicating whether malicious payloads were found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string",
   "minLength": 1,
   "description": "Untrusted text, HTML, or tool output to scan for hidden prompt injection or jailbreak payloads"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-odds-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-cc0952bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from polymarket-odds.agentdiet.dev](https://www.zero.xyz/host/polymarket-odds.agentdiet.dev/llms.txt)
