# A2A Indirect Prompt-Injection & Jailbreak Firewall

> A2A Indirect Prompt-Injection & Jailbreak Firewall is a paid API for AI agents from shopify-spy.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 output.

## Facts

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

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 shopify-spy-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-add88940
```

Example prompt: Before you summarize this scraped web page, run the raw HTML through the prompt-injection firewall to check for hidden jailbreak instructions — here's the content: '<html>...attacker content...</html>'

## When to prefer this

Choose this endpoint when your agent pipeline ingests content from untrusted external sources — scraped web pages, user emails, external API responses, MCP tool outputs, or A2A messages — and you need a dedicated firewall layer before passing that content to your LLM. Prefer this over manual regex filtering or no filtering at all when operating autonomous agents that process third-party data at scale.

## Known failure modes

- Missing required 'text' parameter returns an error
- Empty string input rejected due to minLength:1 constraint
- Very large payloads may time out or be truncated
- False negatives: sophisticated obfuscated injections may not be detected
- False positives: benign text mentioning AI instructions flagged incorrectly
- Payment failure via x402 if USDC balance is insufficient

## 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://shopify-spy.agentdiet.dev/v1/llm-jailbreak-defense)

## Output

Returns a JSON object indicating whether a prompt injection or jailbreak payload was detected in the input text, along with a sanitized version of the text safe for downstream LLM consumption.

## 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/shopify-spy-agentdiet-dev-a2a-indirect-prompt-injection-jailbreak-add88940/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from shopify-spy.agentdiet.dev](https://www.zero.xyz/host/shopify-spy.agentdiet.dev/llms.txt)
