# DeFi Safety Oracle – Token Safety Checker

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

Analyzes an ERC-20 token on Base or BSC for honeypot/rug-pull risk using on-chain DEX simulation and third-party cross-checks, returning an A–F safety grade.

## Facts

- Endpoint: GET https://oracle.cyberwarex.com/token?utm_source=zero.xyz
- Price: $0.06/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-safety-checker-f3645cf4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GrXsPWcUCwxRaBLUE3Rf_

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-safety-checker-f3645cf4
```

Example prompt: Can you check if the token at 0xAbC123... on Base is safe to trade — run a full honeypot and rug simulation and tell me the safety grade?

## When to prefer this

Choose this endpoint when you need a deterministic, simulation-based safety verdict on a specific ERC-20 token on Base or BSC — especially when you need more than a static analysis and want actual eth_call state-override simulation against live DEX pools (Aerodrome, Uniswap V2/V3), combined with GoPlus and honeypot.is cross-validation. Prefer this over generic block explorers or static contract scanners when real sell-ability simulation matters.

## Known failure modes

- Invalid or non-existent contract address returns an error or F grade with no simulation data
- Unsupported chain (not base or bsc) returns a validation error
- Token with no liquidity pool on supported DEXes may fail simulation with an error
- Rate limiting or payment failure (x402) blocks the call
- Newly deployed contracts may have insufficient on-chain state for simulation

## How this service works

Full safety report for an ERC-20 token. Runs a live buy-then-sell honeypot and tax simulation against real DEX liquidity (Aerodrome, Uniswap V2/V3/V4), scans contract powers (upgradeable proxy, mint, pause, blacklist, fee-setting), resolves ownership and effective controllers, and cross-checks GoPlus and honeypot.is. Returns an A-F grade, tradeable flag, 0-100 risk score and evidence-carrying flags an agent can cite.

## Output

Returns a JSON object with a letter grade (A–F) summarizing overall safety, a boolean indicating whether the token is tradeable (i.e., you can buy AND sell), and a human-readable summary of detected risks such as honeypot mechanics, blacklist functions, mint authority, or high buy/sell tax.

## 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."
      },
      "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": {
      "chain": {
       "type": "string"
      },
      "flags": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "Risk flags with id, severity, reason and on-chain evidence."
      },
      "grade": {
       "enum": [
        "A",
        "B",
        "C",
        "D",
        "F"
       ],
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "summary": {
       "type": "string"
      },
      "tradeable": {
       "type": "boolean"
      },
      "disclaimer": {
       "type": "string"
      },
      "risk_score": {
       "type": "integer"
      },
      "simulation": {
       "type": "object"
      },
      "chain_facts": {
       "type": "object"
      },
      "cross_check": {
       "type": "object"
      },
      "dynamic_tax": {
       "type": "object"
      },
      "is_honeypot": {
       "type": "boolean"
      },
      "trusted_issuer": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "flags": [],
  "grade": "A",
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "summary": "Verified issuer contract; buy and sell both simulate cleanly with zero tax.",
  "tradeable": true,
  "disclaimer": "Automated on-chain heuristics; not financial advice.",
  "risk_score": 8,
  "simulation": {
   "dex": "Aerodrome",
   "buy_ok": true,
   "sell_ok": true,
   "available": true,
   "is_honeypot": false,
   "roundtrip_loss_pct": 0.31
  },
  "chain_facts": {
   "verified": true,
   "as_of_block": 24118907,
   "is_contract": true
  },
  "cross_check": {
   "flagged_by": [],
   "external_honeypot": false,
   "sources_available": 2
  },
  "dynamic_tax": {
   "tax_changeable": false
  },
  "is_honeypot": false,
  "trusted_issuer": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-safety-oracle-token-safety-checker-f3645cf4/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)
