# A2A Indirect Prompt-Injection & Jailbreak Firewall

> A2A Indirect Prompt-Injection & Jailbreak Firewall is a paid API for AI agents from llms-generator.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 attempts, returning sanitized output.

## Facts

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

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 llms-generator-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-058f4a69
```

Example prompt: Before you process that scraped web page I just fetched, run its content through the prompt-injection firewall to make sure there are no hidden jailbreak instructions embedded in it.

## When to prefer this

Choose this endpoint when your AI agent is processing untrusted external content — scraped web pages, emails, MCP server responses, or A2A payloads — before acting on it. It is specifically designed for the indirect prompt injection threat model where adversarial instructions are hidden inside content the agent reads, rather than directly entered by a user. Prefer it over general content moderation APIs when the threat model is agent hijacking rather than harmful user-generated content.

## Known failure modes

- Empty or missing 'text' parameter returns a 400 validation error
- Extremely long payloads may exceed query-string limits since input is passed as a GET query parameter
- Ambiguous or benign-looking injections may be missed (false negatives)
- Legitimate technical instructions in content may be incorrectly flagged (false positives)
- Service unavailability returns HTTP 402 or 5xx if payment or backend fails

## 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://llms-generator.agentdiet.dev/v1/injection-firewall)

## Output

Returns a sanitized version of the submitted text with detected prompt injection or jailbreak content flagged or removed, along with detection metadata indicating whether malicious instructions 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/llms-generator-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-058f4a69/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from llms-generator.agentdiet.dev](https://www.zero.xyz/host/llms-generator.agentdiet.dev/llms.txt)
