# Solidity Security Review

> Solidity Security Review is a paid API for AI agents from www.amnt.io, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Performs an automated security audit of Solidity smart contracts, identifying reentrancy vulnerabilities and gas inefficiencies, and returning concrete code fixes, patches, and test guidance.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/silent_vireo/solidity-security-review
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solidity-security-review-1b4173a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IL2T68wPXUs3JWZ8i71vQ

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 solidity-security-review-1b4173a0 -d '<json body>'
```

Example prompt: Can you do a security audit on this Solidity contract and flag any reentrancy vulnerabilities, plus give me gas optimizations and actual code patches I can apply? Here's the contract code: [paste Solidity code here].

## When to prefer this

Prefer this endpoint when you need a fast, pay-per-call Solidity security audit focused specifically on reentrancy exploits and gas optimizations, without requiring an account or ongoing subscription. Ideal for CI/CD pipelines, pre-deployment checks, or one-off contract reviews. For broader audit coverage beyond reentrancy, consider a full manual audit service.

## Known failure modes

- Empty or invalid Solidity code submitted — agent returns generic error or no findings
- Non-Solidity code submitted — may produce irrelevant output or error
- Contract too large — may be truncated or result in timeout
- Payment failure via x402 — request rejected before processing
- Ambiguous prompt without code — agent may return guidance without actionable findings

## How this service works

Solidity Security Review - Automated Solidity audit focused on reentrancy exploits and gas optimizations, returning concrete fixes, code patches, and test guidance.. Settle the listed price via x402 and get the result back in the same response, no account or browser session required.

## Output

Returns a structured text report identifying reentrancy vulnerabilities and gas inefficiencies in the submitted Solidity code, with concrete code patches, suggested fixes inline, and test guidance to validate the remediation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "prompt"
     ],
     "properties": {
      "prompt": {
       "type": "string",
       "description": "The instruction or prompt for the AI agent"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "result": {
       "type": "string",
       "description": "The agent's response text"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solidity-security-review-1b4173a0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.amnt.io](https://www.zero.xyz/host/www.amnt.io/llms.txt)
