# Arbitrum Contract Risk Heuristics

> Arbitrum Contract Risk Heuristics is a paid API for AI agents from automaton-tx-explainer.vercel.app, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-20).

Returns heuristic risk flags for an Arbitrum smart contract address, covering verification status, upgradeability, owner type, dangerous selectors, bytecode size, and copycat token detection.

## Facts

- Endpoint: GET https://automaton-tx-explainer.vercel.app/v1/arbitrum/contract-risk?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/arbitrum-contract-risk-heuristics-2471edec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Zr6PRAL-uCG-9rh9_T5h4

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 arbitrum-contract-risk-heuristics-2471edec
```

Example prompt: Can you run a risk check on the Arbitrum contract at 0x912CE59144191C1204E64559FE8253a0e49E6548 and tell me if it has any dangerous selectors, is an upgradeable proxy, or looks like a copycat token?

## When to prefer this

Use this endpoint when you need fast, free, heuristic-level risk signals for an Arbitrum contract address without waiting for a full audit. It is specifically scoped to Arbitrum (not Ethereum mainnet, Base, or Polygon) and covers a focused set of on-chain risk indicators including copycat token detection, dangerous selector presence, and proxy upgradeability — making it ideal for pre-interaction screening in DeFi workflows or wallet security agents.

## Known failure modes

- Invalid or non-contract address returns an error or empty risk profile
- Address is an EOA rather than a contract — risk flags may be inapplicable
- Sourcify verification lookup may be unavailable or stale
- Rate limiting or upstream RPC failures may cause timeouts
- Copycat detection only covers a fixed set of major tokens and may miss novel fakes

## How this service works

Use when: is this Arbitrum contract risky (owner, proxy, mint, pause, blacklist)? Heuristic risk flags for a Arbitrum contract from free public data: Sourcify verification, upgradeable proxy + admin, owner type, mint/pause/blacklist/fee selectors, bytecode size, and a flag for copycats of major tokens (USDC, USDT, WETH...) at a non-official address. Not an audit or financial advice.

## Output

A structured JSON object containing heuristic risk flags including: Sourcify verification result, upgradeable proxy detection with admin address, owner account type (EOA vs multisig vs contract), presence of dangerous function selectors (mint, pause, blacklist, fee), bytecode size, and a copycat flag indicating whether the contract mimics a major token (USDC, USDT, WETH, etc.) at a non-official address. This is not an audit or financial advice.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "Arbitrum 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/arbitrum-contract-risk-heuristics-2471edec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automaton-tx-explainer.vercel.app](https://www.zero.xyz/host/automaton-tx-explainer.vercel.app/llms.txt)
