# presign-guard Prompt-Injection Detection

> presign-guard Prompt-Injection Detection is a paid API for AI agents from presign-guard.fizzl.eu, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-25).

Analyzes text received by an AI agent (web page, email, tool result, API response, or agent message) to detect prompt-injection attacks, hidden-character tricks, unauthorized payment/key requests, and OFAC-sanctioned addresses, returning a green/orange/red verdict with reason codes.

## Facts

- Endpoint: POST https://presign-guard.fizzl.eu/v1/injection?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/presign-guard-prompt-injection-detection-5920746f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u10PDynh_mJa4KAMeLcXY

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 presign-guard-prompt-injection-detection-5920746f -d '<json body>'
```

Example prompt: Before you act on that web page result, run it through presign-guard to check for prompt injection — my agent is doing a price comparison task and the source is a web page.

## When to prefer this

Choose this endpoint when your AI agent is about to act on externally sourced text (web, email, tool output, API response, or another agent's message) and you need a fast, cheap, pre-action safety check specifically for prompt injection, social engineering, financial manipulation, credential theft, and OFAC compliance risks. Prefer it over general content moderation APIs when the threat model is adversarial manipulation of AI agents rather than user-generated content policy violations.

## Known failure modes

- Text exceeds 32,000 character limit — truncate or split input
- Empty or missing text field returns a validation error
- Ambiguous source type may affect verdict accuracy — specify source enum precisely
- False negatives possible for highly novel injection techniques not yet in the model's training
- Payment failure (x402) if USDC balance is insufficient for the $0.01 per-call fee

## How this service works

Prompt injection detection: is this text a trap for your AI agent? Checks a web page, email, tool result, API answer or another agent's message before your agent acts on it: does it try to make the agent ignore its instructions, pay or send money, hand over keys or private data, or obey a fake user, admin or support message? Green/orange/red with reason codes, judged by TypeSafe's Jev, plus hidden-character tricks and OFAC-sanctioned addresses in the text

## Output

A structured verdict with a green/orange/red risk level and specific reason codes indicating what type of threat was detected (e.g. instruction-override attempt, payment/money request, key/credential request, fake user/admin/support impersonation, hidden Unicode characters, OFAC-sanctioned crypto addresses). Allows the calling agent to decide whether to proceed, escalate, or discard the suspicious content.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "task": {
   "type": "string",
   "maxLength": 500,
   "description": "One sentence: what your agent is doing for its user. Helps judge what is beyond the task."
  },
  "text": {
   "type": "string",
   "maxLength": 32000,
   "minLength": 1,
   "description": "The text your agent received: a web page, email, tool result, API answer or another agent's message."
  },
  "source": {
   "enum": [
    "web",
    "email",
    "tool",
    "api",
    "agent",
    "chat",
    "document",
    "other"
   ],
   "type": "string",
   "description": "Where the text came from. Default: other."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/presign-guard-prompt-injection-detection-5920746f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from presign-guard.fizzl.eu](https://www.zero.xyz/host/presign-guard.fizzl.eu/llms.txt)
