# Rattler Smart Contract Security Auditor

> Rattler Smart Contract Security Auditor is a paid API for AI agents from rattler.lonestaroracle.xyz, paid per call via x402, $2/call, status unknown (last checked 2026-09-16).

Autonomously audits Solidity/EVM smart contract code for 20+ vulnerability classes and generates proof-of-concept exploits

## Facts

- Endpoint: POST https://rattler.lonestaroracle.xyz/audit
- Price: $2/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/rattler-smart-contract-security-auditor-15b9d8bb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QTnN1_6nVqRY3bmbkULAp

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 rattler-smart-contract-security-auditor-15b9d8bb -d '<json body>'
```

Example prompt: Audit this Solidity smart contract for me and flag any vulnerabilities across all 20+ classes — reentrancy, integer overflow, access control issues, flash loan vectors, the works — and generate proof-of-concept exploits for anything critical you find.

## When to prefer this

Choose this endpoint when you need a fast, autonomous smart contract security audit with PoC exploits rather than waiting weeks for a manual audit. Ideal for pre-deployment checks of EVM/Solidity contracts, CI/CD pipeline security gates, or quick vulnerability triage on DeFi protocols, NFT contracts, or token contracts.

## Known failure modes

- Invalid or unparseable Solidity code returns a parse error
- Contract too large exceeds processing limits
- Unsupported EVM dialect or language version
- Payment of $2 USDC not completed results in 402 error
- Network timeout for very complex contracts

## How this service works

Autonomous smart contract security auditor — 20+ vulnerability classes, PoC exploits

## Output

A structured security audit report listing detected vulnerability classes (from 20+ categories), severity ratings, affected code locations, descriptions of each vulnerability, and proof-of-concept exploit code for demonstrated attack vectors.

## Request schema (JSON Schema)

```json
{
 "name": "RattlerAI — Smart Contract Security Audit",
 "description": "Autonomous Solidity/EVM smart contract security audit. Claude Opus + Slither. Code4rena-format report with severity ratings, PoC exploits, and recommendations.",
 "category": "security",
 "tags": [
  "smart-contract",
  "audit",
  "solidity",
  "security",
  "defi",
  "code4rena"
 ],
 "version": "1.0.0",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ]
    },
    "bodyType": {
     "type": "string",
     "const": "json"
    },
    "body": {
     "type": "object",
     "properties": {
      "source": {
       "type": "string",
       "description": "Solidity contract source code"
      },
      "github_url": {
       "type": "string",
       "description": "GitHub URL to .sol file or repo"
      },
      "contract_name": {
       "type": "string",
       "description": "Contract name (optional)"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {}
   }
  }
 },
 "type": "object",
 "required": [
  "input"
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/rattler-smart-contract-security-auditor-15b9d8bb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rattler.lonestaroracle.xyz](https://www.zero.xyz/host/rattler.lonestaroracle.xyz/llms.txt)
