# A2A Indirect Prompt-Injection & Jailbreak Firewall

> A2A Indirect Prompt-Injection & Jailbreak Firewall is a paid API for AI agents from preflight.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 injection and jailbreak attacks, returning sanitized output

## Facts

- Endpoint: GET https://preflight.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: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-6eaab08c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CIdXSoxyB8H80dSxvzM2U

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 preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-6eaab08c
```

Example prompt: Before you process the content from that third-party website, scan it for hidden prompt injections or jailbreak instructions and give me the sanitized version.

## When to prefer this

Use this endpoint whenever an AI agent is about to process content from untrusted external sources — scraped web pages, inbound emails, third-party API or MCP responses, or A2A agent payloads — and you need to defensively sanitize that content before it can influence the agent's behavior. Prefer this over generic content filters when specifically protecting LLM pipelines from adversarial prompt manipulation.

## Known failure modes

- Empty or missing 'text' parameter returns a validation error
- Extremely long text inputs may be truncated or rejected
- Obfuscated or encoded injections may evade detection
- Payment failure via x402 returns HTTP 402 before scan is performed
- Network timeout on large HTML payloads

## 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://preflight.agentdiet.dev/v1/indirect-injection-guard)

## Output

Returns a structured object containing the sanitized version of the input text with detected prompt injection or jailbreak payloads removed or flagged, along with security assessment signals indicating whether malicious content was 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/preflight-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-6eaab08c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
