# DDG Prompt Injection Scan

> DDG Prompt Injection Scan is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-11).

Scans an HTTP request body for prompt injection attacks before forwarding it to an AI agent or LLM pipeline

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/prompt-injection-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-prompt-injection-scan-b8b99072
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oRcnEcZe5iWc48HvGyMIl

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 ddg-prompt-injection-scan-b8b99072 -d '<json body>'
```

Example prompt: Before you process this user message with the AI model, run a prompt injection scan on it — the body is JSON, sent via POST, and I want to make sure there are no jailbreak or injection attempts hiding in it.

## When to prefer this

Choose this endpoint when you need a lightweight, per-call ($0.02 USDC) prompt injection scanner that integrates into an agent or LLM pipeline as a pre-inference safety gate. It is especially suited for x402-payment-capable agent infrastructure where you want to pay per scan without managing API keys. Prefer this over general-purpose content moderation when your specific threat is adversarial prompt manipulation targeting LLMs rather than hate speech or spam.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Unsupported HTTP method (e.g. GET) in the input.method field causes rejection
- Malformed JSON body may result in a parse error response
- Payment not settled via x402 returns HTTP 402 before scan executes
- Large or deeply nested payloads may time out or be rejected
- Network or provider downtime returns a 5xx error

## How this service works

DDG agent-payable service request

## Output

A JSON object with an 'ok' boolean indicating whether the scanned input passed or failed the prompt injection check. A true value means no injection was detected; false signals a potential threat in the submitted payload.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-prompt-injection-scan-b8b99072/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
