# Exepal Secrets Leak Detector

> Exepal Secrets Leak Detector is a paid API for AI agents from api.exepal.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-12-01).

Scans text or a public URL for exposed secrets including API keys, tokens, private keys, seed phrases, JWTs, and connection strings across 30+ providers, returning masked findings with line numbers and an optional redacted copy.

## Facts

- Endpoint: POST https://api.exepal.com/v1/scan/secrets?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/exepal-secrets-leak-detector-69769020
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QZlAjdVsp6X7GbeywAdJy

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-secrets-leak-detector-69769020 -d '<json body>'
```

Example prompt: Can you scan this log file for any leaked secrets or API keys — I want to know if anything sensitive like AWS credentials, Stripe tokens, or JWTs got accidentally exposed, and return a redacted version with those values masked?

## When to prefer this

Choose this endpoint when you need fast, pattern-based detection of secrets across a wide range of well-known providers (AWS, GitHub, OpenAI, Anthropic, Stripe, Slack, Google, and 30+ more) in arbitrary text or at a URL, especially when you also need an automatically redacted copy of the input. Prefer it over generic regex approaches for its breadth of supported secret types and its ability to operate on raw text or fetch-and-scan a live URL in one call.

## Known failure modes

- Text exceeds 2,000,000 character limit — request rejected
- URL is not publicly accessible or returns non-200 status — scan cannot proceed
- URL content is binary or non-text — no scannable text extracted
- Neither url nor text provided — invalid request
- False positives on high-entropy strings that resemble but are not actual secrets
- Provider pattern not supported (less common secret formats may be missed)

## How this service works

Secrets leak detector: finds API keys, tokens, private keys, seed phrases, JWTs and connection strings (AWS, GitHub, OpenAI, Anthropic, Stripe, Slack, Google and 30+ more) in text or a URL; masked findings with line numbers, optional redacted copy

## Output

A list of findings where each entry includes the secret type (e.g. AWS_ACCESS_KEY, OPENAI_API_KEY, JWT), the line number where it was found, and a masked version of the secret value. If redact=true was requested, also returns a full copy of the original text with every detected secret replaced by [REDACTED:type].

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Public URL to fetch and scan instead of text"
  },
  "text": {
   "type": "string",
   "description": "Text to scan: a config, log, diff, prompt, document or tool output (up to 2,000,000 characters)"
  },
  "redact": {
   "type": "boolean",
   "description": "Also return `redacted`: the text with every secret replaced by [REDACTED:type] (default false)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/exepal-secrets-leak-detector-69769020/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)
