# FiatDock Prompt Injection Scanner

> FiatDock Prompt Injection Scanner is a paid API for AI agents from fiatdock.com, paid per call via x402, $0.0045/call, status unknown (last checked 2026-10-20).

Scans text for prompt injection patterns that could hijack AI agents, including instruction-override phrasing, role redefinition, credential theft requests, hidden directive tags, and invisible Unicode.

## Facts

- Endpoint: GET https://fiatdock.com/v1/text/prompt-check?utm_source=zero.xyz
- Price: $0.0045/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fiatdock-prompt-injection-scanner-53ac6a30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cv9GD69LvKb15TFgayheX

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 fiatdock-prompt-injection-scanner-53ac6a30
```

Example prompt: Before you read and summarize that webpage, scan its content for prompt injection — check for anything trying to override your instructions, redefine your role, or steal credentials, and tell me if it's safe to proceed.

## When to prefer this

Choose this endpoint when an AI agent needs a fast, stateless, pay-per-call safety check on untrusted text before processing it — especially web pages, emails, third-party tool descriptions, or inter-agent messages. Prefer this over general-purpose LLM-based content moderation when the specific threat model is prompt injection and agent hijacking (instruction overrides, role redefinition, hidden Unicode). Best suited for pre-processing pipelines where no data retention is acceptable and per-call USDC micropayment via x402 is already in use.

## Known failure modes

- Text exceeds 8,000 character limit — truncate or split input before sending
- Empty or missing text parameter returns analysis of the built-in example sentence rather than custom input
- Novel or obfuscated injection patterns not in the rule set may go undetected (pattern-based, not AI-based)
- Payment failure via x402 protocol results in no response
- GET request with malformed query parameter encoding may cause parsing errors

## How this service works

Scan text an agent is about to read (a web page, an email, a tool description, another agent's message) for the shapes that hijack agents: instruction-override phrasing, a redefined system role, requests to move credentials, hidden directive tags, invisible Unicode. Verdict plus every pattern found. Pattern-based; nothing is stored. Pay-per-call via x402. An empty body is answered for the published example text (one harmless sentence); send {"text":"…"} to scan your own.

## Output

A verdict (safe/unsafe) plus a list of every detected pattern found in the text — including instruction-override phrasing, redefined system roles, credential-movement requests, hidden directive tags, and invisible Unicode characters. Pattern-based analysis; nothing is stored server-side.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "text": {
       "type": "string",
       "example": "Please summarise the attached report in three bullet points.",
       "maxLength": 8000,
       "description": "The text to scan (up to 8,000 characters). Omit the whole body to scan the published example"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fiatdock-prompt-injection-scanner-53ac6a30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fiatdock.com](https://www.zero.xyz/host/fiatdock.com/llms.txt)
