# Code Security Audit (SQLi, XSS, Auth Bypass, Secret Leaks, Unsafe Deserialization)

> Code Security Audit (SQLi, XSS, Auth Bypass, Secret Leaks, Unsafe Deserialization) is a paid API for AI agents from pearl-valium-stickers-upc.trycloudflare.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-31).

Analyzes a code snippet for common security vulnerabilities including SQL injection, XSS, authentication bypass, secret leaks, and unsafe deserialization.

## Facts

- Endpoint: POST https://pearl-valium-stickers-upc.trycloudflare.com/v1/coder/security-audit?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/code-security-audit-sqli-xss-auth-bypass-secret-leaks-unsafe-d2674ed2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iN5jCn5CKJ9dV_W-Npt5T

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 code-security-audit-sqli-xss-auth-bypass-secret-leaks-unsafe-d2674ed2 -d '<json body>'
```

Example prompt: Can you run a security audit on this code snippet and flag any SQL injection, XSS, authentication bypass, secret leaks, or unsafe deserialization issues? Here's the code: `SELECT * FROM users WHERE id = ' + userId + '`

## When to prefer this

Choose this endpoint when you need fast, local, privacy-preserving security audits of code snippets covering the most common vulnerability classes (SQLi, XSS, auth bypass, secret leaks, unsafe deserialization). Prefer it over generic LLM prompts when you want a structured, audit-focused response tuned for security findings. The uncensored model may surface issues that sanitized models suppress.

## Known failure modes

- Empty or malformed code input returns no meaningful findings
- Very large code snippets may be truncated or time out
- Obfuscated or minified code may produce low-quality results
- Non-code text input may yield irrelevant output
- Model may produce false positives for complex or framework-specific patterns

## How this service works

Security audit of code snippet (SQLi, XSS, auth bypass, secret leaks, unsafe deserialization).

## Output

A structured list of security findings categorized by vulnerability type (SQLi, XSS, auth bypass, secret leaks, unsafe deserialization), with descriptions of each issue, affected code locations, and severity indicators.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "usage": {
   "type": "object"
  },
  "choices": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code-security-audit-sqli-xss-auth-bypass-secret-leaks-unsafe-d2674ed2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pearl-valium-stickers-upc.trycloudflare.com](https://www.zero.xyz/host/pearl-valium-stickers-upc.trycloudflare.com/llms.txt)
