# Ingravity Solidity Smart Contract Security Auditor

> Ingravity Solidity Smart Contract Security Auditor is a paid API for AI agents from red-shape-1b3b.daviddelmoral79.workers.dev, paid per call via x402, $0.85/call, status unknown (last checked 2026-11-23).

Performs deterministic security analysis of Solidity smart contract source code, returning a scored audit with categorized vulnerability findings

## Facts

- Endpoint: POST https://red-shape-1b3b.daviddelmoral79.workers.dev/api/v1/audit-solidity?utm_source=zero.xyz
- Price: $0.85/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ingravity-solidity-smart-contract-security-auditor-82ac6f17
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FuydsFH-dOJiuZydg8LjL

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 ingravity-solidity-smart-contract-security-auditor-82ac6f17 -d '<json body>'
```

Example prompt: Can you audit this Solidity contract code for me and tell me if it's safe to deploy — I need a security score, any critical or high vulnerabilities flagged, and a final grade: [paste Solidity source here]

## When to prefer this

Use this endpoint when you need a fast, deterministic, machine-readable security score and vulnerability breakdown for Solidity smart contracts — especially before EVM mainnet deployment, when screening unknown token contracts for honeypot behavior, or when integrating automated security gates into a DeFi development pipeline. Prefer this over manual audit workflows when you need structured JSON output with severity-categorized findings at low cost per call.

## Known failure modes

- Invalid or non-Solidity code submitted returns an error or nonsensical audit
- Very large contract source may hit payload size limits
- Obfuscated or minified bytecode (not source) will not be analyzed correctly
- Missing required 'code' field returns a validation error
- Network or worker timeout for extremely complex multi-contract inputs

## How this service works

v3.13.0 Multichain (5 EVM: Base, Arbitrum, Optimism, Polygon, Ethereum) Autonomous Security Swarm via x402 v2: $0.01 binary Fast-Ping + Services 2-7 ($0.10-$45.00 floor plus +0.15% Pre-Flight SLA & 5%-10% Whitehat Safe-Harbor Rescue Bounty on saved capital with Anti-Bypass Seal).

## Output

A JSON object containing: a letter grade (e.g. 'D'), a deployment status recommendation (e.g. 'CRITICAL_DO_NOT_DEPLOY'), a numeric security score (0-100), the contract name, and a summary of vulnerability counts broken down by severity (CRITICAL, HIGH, MEDIUM, LOW, GAS)

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "code": {
   "type": "string",
   "description": "Raw Solidity (.sol) smart contract source code to audit across 24 SWC/DeFi rules (non-empty string required)."
  },
  "tier": {
   "enum": [
    "FULL",
    "ESSENTIAL"
   ],
   "type": "string",
   "default": "FULL",
   "description": "Billing & output depth: FULL ($0.85 USDC) includes findings and Safe-Harbor calldata (subject to Anti-Bypass sealing on CRITICAL/HIGH until proportional settlement); ESSENTIAL ($0.35 USDC) returns score, grade, status, and severity counts only."
  },
  "chainId": {
   "enum": [
    8453,
    42161,
    10,
    137,
    1
   ],
   "type": "integer",
   "default": 8453,
   "description": "EVM Chain ID used only when contractAddress is supplied for live TVL verification (8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 1 Ethereum; unknown falls back to 8453)."
  },
  "contractName": {
   "type": "string",
   "default": "Contract.sol",
   "description": "Optional contract identifier or filename echoed in the report."
  },
  "ownerTreasury": {
   "type": "string",
   "description": "Optional protocol owner/multisig recipient (0x...) designated to receive 90%-95% of rescued capital in generated unsigned calldata."
  },
  "contractAddress": {
   "type": "string",
   "description": "Optional deployed EVM contract address (0x...) on chainId to verify live TVL via RPC and generate unsigned Safe-Harbor rescue calldata."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "D",
  "status": "CRITICAL_DO_NOT_DEPLOY",
  "summary": {
   "GAS": 0,
   "LOW": 1,
   "HIGH": 0,
   "total": 2,
   "MEDIUM": 0,
   "CRITICAL": 1
  },
  "contractName": "Vault.sol",
  "securityScore": 49
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ingravity-solidity-smart-contract-security-auditor-82ac6f17/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from red-shape-1b3b.daviddelmoral79.workers.dev](https://www.zero.xyz/host/red-shape-1b3b.daviddelmoral79.workers.dev/llms.txt)
