# Remix Live AI Smart Contract Security Audit

> Remix Live AI Smart Contract Security Audit is a paid API for AI agents from api.remix.live, paid per call via x402, $0.15/call, status unknown (last checked 2026-10-18).

Performs a complete AI-powered security audit of Solidity smart contracts, analyzing source code against a security checklist and returning detailed vulnerability findings

## Facts

- Endpoint: POST https://api.remix.live/mcp/x402-http/do_audit?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/remix-live-ai-smart-contract-security-audit-b6ae4ebd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_236zqMsXYc0ykRsGaOAB1

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 remix-live-ai-smart-contract-security-audit-b6ae4ebd -d '<json body>'
```

Example prompt: Can you run a full AI security audit on my Solidity contract? Here's the source code for MyToken.sol — I want a detailed report of any vulnerabilities, using the standard smart contract security checklist.

## When to prefer this

Choose this endpoint when you need a comprehensive, AI-driven narrative security audit report with checklist-mapped findings, as opposed to purely static analysis (use the Slither-based sibling endpoint for that). Best when you already have or can fetch an audit checklist (e.g. from the companion get_audit_checklist endpoint) and want a human-readable, detailed vulnerability report suitable for client delivery or pre-deployment review.

## Known failure modes

- Missing or empty sources map returns a validation error
- No contract content provided in the sources object
- Invalid or malformed Solidity code may produce incomplete analysis
- Checklist not provided results in a default or empty checklist being used
- Large or complex contracts may hit processing time or size limits
- Payment of 0.1 USDC via x402 protocol not provided results in 402 Payment Required

## How this service works

Complete AI-powered smart contract security audit - analyzes code against checklist and provides detailed findings with severity levels. Returns immediately (202 Accepted) with a polling URL. Poll GET {jobStatusUrl} every 5-10 seconds until status is 'completed'. Estimated time: ~120 seconds. PRICING (based on model): DeepSeek: $0.15 USDC, Sonnet: $0.25 USDC, Fable: $0.70 USDC. Payment must match selected model.

## Output

A detailed AI-generated smart contract security audit report that maps the provided source code against the audit checklist, identifying vulnerabilities, their severity, affected code locations, and recommended remediation steps for each finding.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "model": {
   "enum": [
    "DeepSeek",
    "Sonnet",
    "Fable"
   ],
   "type": "string",
   "description": "AI model to use for analysis (Required). DeepSeek ($0.15): fast and cost-effective. Sonnet ($0.25): high quality. Fable ($0.70): premium quality. Payment amount must match selected model."
  },
  "sources": {
   "type": "object",
   "description": "Map of filename to source code. Required. At least one contract file must be provided.",
   "additionalProperties": {
    "type": "object",
    "required": [
     "content"
    ],
    "properties": {
     "content": {
      "type": "string"
     }
    }
   }
  },
  "checklist": {
   "type": "string",
   "description": "Audit checklist in markdown format (from get_audit_checklist endpoint or custom checklist)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/remix-live-ai-smart-contract-security-audit-b6ae4ebd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.remix.live](https://www.zero.xyz/host/api.remix.live/llms.txt)
