# AI Smart Contract Risk Analyzer

> AI Smart Contract Risk Analyzer is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-16).

Analyzes a smart contract's ABI and security flags using Claude to explain dangerous owner capabilities (mint, pause, blacklist, upgrade, self-destruct) and assign a danger level.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/ai-contract-risk
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ai-smart-contract-risk-analyzer-44edeb10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bKW9Hu5o8wqncO6Ky7eF4

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 ai-smart-contract-risk-analyzer-44edeb10
```

Example prompt: Can you check the smart contract at 0x4200000000000000000000000000000000000006 and tell me what dangerous capabilities the owner has — like minting, pausing, blacklisting, or self-destruct — and how risky it is overall?

## When to prefer this

Choose this endpoint when you need a human-readable, AI-interpreted explanation of a smart contract's risk profile — not just raw flags. Ideal for agents helping users evaluate token safety, DeFi protocol risk, or potential rug-pull mechanics before interacting with or investing in a contract. Goes beyond static analysis tools by combining ABI introspection with Claude's natural language explanation and a danger level score.

## Known failure modes

- Invalid or non-existent contract address returns an error or empty result
- Contract with no ABI available may produce incomplete analysis
- Network issues or upstream ABI resolution failures cause timeouts
- Payment failure (insufficient USDC balance) prevents the call from completing
- Non-EVM or non-Base contract addresses may not be supported

## How this service works

Combines security flags with the verified ABI's function names, then Claude explains the contract's dangerous capabilities — owner can mint, pause, blacklist, upgrade or self-destruct — with a danger level. Goes beyond raw flags to read what the contract can actually do.

## Output

Returns an AI-generated natural language explanation of the contract's dangerous owner capabilities (e.g. mint, pause, blacklist, upgrade, self-destruct) derived from its ABI and security flags, along with a danger level rating indicating overall risk.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Contract address"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ai-smart-contract-risk-analyzer-44edeb10/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
