# DeFi Safety Oracle – Token Risk Explainer

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

Assesses whether an ERC-20 token is safe to trade by running honeypot/rug simulations and contract analysis, returning a risk grade (A–F) and verdict (ALLOW/LIMIT/RECHECK/BLOCK).

## Facts

- Endpoint: GET https://oracle.cyberwarex.com/risk/explain?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-safety-oracle-token-risk-explainer-994b4e73
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3qkETPfVjTyDP2vpgEa0Q

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-explainer-994b4e73
```

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

## When to prefer this

Use this endpoint when an agent needs a deterministic, on-chain honeypot and rug simulation before executing or recommending a DeFi token trade — especially on Base or BSC. Prefer over off-chain token screeners when you need eth_call state-override simulation against real DEX pools (Aerodrome, Uniswap V2/V3/V4) and a structured ALLOW/BLOCK verdict with reason codes. The pay-per-call x402 model makes it cost-effective for high-frequency pre-trade checks without a subscription.

## Known failure modes

- Invalid or non-ERC-20 contract address returns an error or unresolvable result
- Token not listed on supported DEX pools (Aerodrome, Uniswap V2/V3/V4) may return incomplete simulation data
- Unsupported chain value returns validation error
- Rate limiting or payment failure (x402 USDC insufficient balance) blocks the call
- Newly deployed contracts with no on-chain liquidity may yield inconclusive grades
- Network RPC issues may cause simulation timeouts

## 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: the token address, chain, an overall integer risk score, a letter grade (A–F), a verdict (ALLOW/LIMIT/RECHECK/BLOCK), a recommendation action with reason codes, the oracle ruleset version used, and a disclaimer. Enables agents to make pass/fail trading decisions programmatically.

## 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": {
      "risk": {
       "type": "object",
       "properties": {
        "overall": {
         "type": "integer"
        }
       }
      },
      "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"
      },
      "disclaimer": {
       "type": "string"
      },
      "recommendation": {
       "type": "object",
       "properties": {
        "action": {
         "type": "string"
        },
        "reason_codes": {
         "type": "array",
         "items": {
          "type": "string"
         }
        }
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "risk": {
   "overall": 8
  },
  "chain": "base",
  "grade": "A",
  "oracle": {
   "ruleset": "dso-2026-08",
   "version": "1.2.0"
  },
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "verdict": "ALLOW",
  "disclaimer": "Automated on-chain risk heuristics; not financial advice.",
  "recommendation": {
   "action": "ALLOW",
   "reason_codes": []
  }
 }
}
```

## More

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