# Exepal Prompt-Injection Scanner

> Exepal Prompt-Injection Scanner is a paid API for AI agents from api.exepal.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-30).

Scans a web page, raw HTML, or plain text for hidden prompt-injection attacks targeting AI agents, returning a verdict, 0–100 risk score, and detailed findings

## Facts

- Endpoint: POST https://api.exepal.com/v1/scan/injection?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/exepal-prompt-injection-scanner-24ed858c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mR6pU6RQYPQDSivnatr2k

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 exepal-prompt-injection-scanner-24ed858c -d '<json body>'
```

Example prompt: Before you summarize that web page, can you scan https://suspicious-site.com/article for hidden prompt-injection attacks — things like white text, HTML comments, Unicode smuggling, or base64 tricks — and tell me the risk score and what you found?

## When to prefer this

Use this endpoint when an AI agent is about to consume untrusted external content — web pages, scraped HTML, emails, tool results, RAG documents — and you need to detect adversarial prompt injections before they can hijack agent behavior. Prefer this over generic content moderation APIs when the specific threat model is hidden HTML, invisible text, Unicode smuggling, base64-encoded instructions, or explicit injection phrases targeting LLMs. It is especially valuable in agentic pipelines with tool-use, web browsing, or RAG components.

## Known failure modes

- URL is not publicly accessible or returns a non-200 response — scan fails with fetch error
- Neither url, html, nor text provided — returns validation error requiring at least one input
- HTML or text too large — may return payload size limit error
- False negatives possible for novel obfuscation techniques not yet in detection rules
- Ambiguous results for legitimate base64 content (e.g. images) that may trigger low-severity findings

## How this service works

Prompt-injection scanner: checks a web page, document or tool result for hidden instructions aimed at AI agents (hidden HTML, white text, comments, Unicode smuggling, base64) and injection phrases; verdict, 0-100 score, findings, optional cleaned text

## Output

Returns a verdict (safe/suspicious/malicious), a 0–100 numeric risk score, a list of findings detailing each detected injection technique (hidden HTML elements, white/invisible text, HTML comments, Unicode smuggling, base64-encoded instructions, explicit injection phrases), and optionally a 'clean' field containing the visible text with all hidden content removed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public page to fetch and scan (HTML is inspected for hidden elements, comments and meta tags)"
  },
  "html": {
   "type": "string",
   "description": "Raw HTML to scan instead of a url"
  },
  "text": {
   "type": "string",
   "description": "Plain text or markdown to scan instead of a url (a document, email, tool result)"
  },
  "clean": {
   "type": "boolean",
   "description": "Also return `clean`: the visible text with hidden and invisible content removed (default false)"
  }
 }
}
```

## More

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