# DDG Secret Leak & API Key Scanner

> DDG Secret Leak & API Key Scanner is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Scans submitted content for leaked secrets and exposed API keys, returning a detection result

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/secret-leak-api-key-scan
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-secret-leak-api-key-scanner-9b0a9873
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QnuK9RZkcurqxy-QRnqeD

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-secret-leak-api-key-scanner-9b0a9873 -d '<json body>'
```

Example prompt: Can you scan this JSON config blob for any leaked API keys or secrets before I push it to GitHub? Here's the content: {"db_password": "supersecret123", "api_key": "sk-abc123xyz"}.

## When to prefer this

Choose this endpoint when you need a low-cost ($0.02 USDC), on-demand secret and API key leak scan on arbitrary text, JSON, or form data payloads — especially in automated agent pipelines, CI/CD workflows, or pre-commit hooks where you want a machine-payable, pay-per-call model without managing a subscription to a full SAST platform.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Unsupported HTTP method (only POST/PUT/PATCH accepted for input) returns an enum validation error
- Malformed JSON body causes a parse error
- Payment failure via x402 protocol results in 402 Payment Required before scan executes
- Empty or null body may return no findings or an error
- Large payloads may be truncated or rejected

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON object with an 'ok' boolean indicating whether the scan completed successfully, along with any detected secret leaks, exposed API keys, or credential findings within the submitted content.

## 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-secret-leak-api-key-scanner-9b0a9873/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)
