# DeFi Safety Oracle – Token Risk Check

> DeFi Safety Oracle – Token Risk Check is a paid API for AI agents from oracle.cyberwarex.com, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-13).

Checks whether an ERC-20 token is a honeypot or rug pull by running deterministic buy/sell simulations and contract analysis, returning an A–F safety grade and verdict.

## Facts

- Endpoint: GET https://oracle.cyberwarex.com/v1/risk/check?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-safety-oracle-token-risk-check-6fe7641f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7e0kgiE1AMeiKnys1Ua3J

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 defi-safety-oracle-token-risk-check-6fe7641f
```

Example prompt: Can you check if the token at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base is safe to trade — run the full buy/sell simulation matrix and tell me the grade, verdict, and whether it has any dangerous contract privileges like mint or blacklist?

## When to prefer this

Choose this endpoint when you need deterministic, simulation-based honeypot and rug pull detection rather than purely static analysis. It is best when trading or investing decisions depend on actually verifying that a token can be bought AND sold on real DEX pools (Aerodrome, Uniswap V2/V3/V4), and when you need a single structured verdict and A–F grade that combines multiple signals including contract privileges, liquidity quality, and cross-checks against GoPlus and honeypot.is. Prefer it over generic contract scanners when operating on Base or BSC with real USDC-settled pay-per-call economics.

## Known failure modes

- Invalid contract address format (non-hex or wrong length) returns validation error
- Unsupported chain value returns enum error
- Token not deployed on specified chain returns low-confidence or error result
- Simulation matrix unavailable for exotic or newly deployed contracts (sim_matrix.available = false)
- Rate limiting or payment failure via x402 returns 402 Payment Required
- Network timeout on slow RPC nodes may delay or fail the eth_call simulation

## How this service works

Is this token safe to trade? Deterministic honeypot/rug simulation (eth_call state-override on real DEX pools: Aerodrome, Uniswap V2/V3/V4), contract-powers analysis, and GoPlus/honeypot.is cross-checks on Base & BSC. Grades A–F. Pay-per-call via x402 (USDC on Base, v1+v2 dual-stack).

## Output

Returns a JSON object with an A–F safety grade, a verdict (ALLOW/LIMIT/RECHECK/BLOCK), honeypot and rug probability integers (0–100), overall and sub-category risk scores (honeypot, rug, admin, liquidity), liquidity USD value and quality, contract privilege flags (mint, pause, upgrade, blacklist, tax_change), buy/sell tradeability details, dynamic tax info, a simulation matrix report covering 12 buy/sell probes with trap signal flags, a confidence score, oracle ruleset version, and a plain-language disclaimer.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "chain": {
       "enum": [
        "base",
        "bsc",
        "ethereum",
        "polygon",
        "arbitrum",
        "robinhood"
       ],
       "type": "string",
       "default": "base",
       "description": "EVM chain to assess the token on."
      },
      "matrix": {
       "enum": [
        "0",
        "1"
       ],
       "type": "string",
       "default": "1",
       "description": "Set to 0 to skip the slower buy/sell simulation matrix."
      },
      "address": {
       "type": "string",
       "pattern": "^0x[a-fA-F0-9]{40}$",
       "description": "ERC-20 token contract address."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "risk": {
       "type": "object",
       "description": "0-100 sub-scores: overall, honeypot, rug, admin, liquidity."
      },
      "chain": {
       "type": "string"
      },
      "grade": {
       "enum": [
        "A",
        "B",
        "C",
        "D",
        "F"
       ],
       "type": "string"
      },
      "oracle": {
       "type": "object"
      },
      "address": {
       "type": "string"
      },
      "verdict": {
       "enum": [
        "ALLOW",
        "LIMIT",
        "RECHECK",
        "BLOCK"
       ],
       "type": "string"
      },
      "liquidity": {
       "type": "object"
      },
      "confidence": {
       "type": "integer"
      },
      "disclaimer": {
       "type": "string"
      },
      "privileges": {
       "type": "object"
      },
      "sim_matrix": {
       "type": [
        "object",
        "null"
       ]
      },
      "controllers": {
       "type": "object"
      },
      "dynamic_tax": {
       "type": "object"
      },
      "tradeability": {
       "type": "object"
      },
      "recommendation"
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": {
   "rug": 5,
   "admin": 10,
   "overall": 8,
   "honeypot": 2,
   "liquidity": 4
  },
  "chain": "base",
  "grade": "A",
  "oracle": {
   "ruleset": "dso-2026-08",
   "version": "1.2.0"
  },
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "verdict": "ALLOW",
  "liquidity": {
   "usd": 41283910.5,
   "quality": 96
  },
  "confidence": 95,
  "disclaimer": "Automated on-chain risk heuristics; not financial advice.",
  "privileges": {
   "mint": true,
   "pause": true,
   "upgrade": true,
   "blacklist": true,
   "tax_change": false
  },
  "sim_matrix": {
   "partial": false,
   "signals": {
    "size_trap": false,
    "wallet_trap": false,
    "buy_size_block": false,
    "progressive_tax": false,
    "conditional_trap": false
   },
   "summary": "12 of 12 buy/sell probes round-tripped cleanly",
   "available": true
  },
  "controllers": {
   "count": 1,
   "effective": [
    "0x2C2f5F0d2F1E1a1E9e3aD9d6C0aB2C0d6d5eF1a2"
   ]
  },
  "dynamic_tax": {
   "capped": true,
   "changeable": false,
   "max_sell_bps": 0
  },
  "tradeability": {
   "buy": true,
   "sell": true,
   "sell_tax_bps": 0
  },
  "recommendation": {
   "action": "ALLOW",
   "reason_codes": []
  },
  "rug_probability": 5,
  "honeypot_probability": 2
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-safety-oracle-token-risk-check-6fe7641f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from oracle.cyberwarex.com](https://www.zero.xyz/host/oracle.cyberwarex.com/llms.txt)
