# Solidity Reentrancy Auditor

> Solidity Reentrancy Auditor 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).

Analyzes Solidity smart contract code for reentrancy vulnerabilities and gas inefficiencies, prioritizes fixes, and generates tests and optimization guidance.

## Facts

- Endpoint: POST https://www.amnt.io/api/agent/quick_pine/solidity-reentrancy-auditor
- 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-reentrancy-auditor-72590708
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f-PxnaMFo85v_jo0219Vm

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-reentrancy-auditor-72590708 -d '<json body>'
```

Example prompt: Can you audit this Solidity contract for reentrancy vulnerabilities and gas issues, tell me which problems are most critical to fix first, and give me test cases I can run: [paste contract code here]?

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call automated security review specifically targeting Solidity reentrancy patterns and gas inefficiencies — ideal when you don't want to set up a full audit toolchain or create an account, and need results inline without a browser session.

## Known failure modes

- Empty or missing prompt returns an error
- Non-Solidity code submitted may produce irrelevant results
- Very large contracts may exceed token limits and produce incomplete analysis
- Ambiguous or incomplete contract snippets may lead to false negatives
- Network timeouts may occur for complex contracts

## How this service works

Solidity Reentrancy Auditor - Automated Solidity audit focused on reentrancy and gas: identifies vulnerable flows, prioritises fixes, and provides tests and optimisation guidance.. Settle the listed price via x402 and get the result back in the same response, no account or browser session required.

## Output

A detailed audit report covering identified reentrancy vulnerable code flows, severity-prioritized list of fixes, suggested gas optimizations, and ready-to-use test cases to verify remediation — all returned as structured text in the same API response.

## 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-reentrancy-auditor-72590708/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)
