# DeFi Safety Oracle – Honeypot & Rug Detector

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

Analyzes an ERC-20 token contract on Base or BSC for honeypot traps, rug-pull risk, and trading safety, returning an A–F grade with tradeable status.

## Facts

- Endpoint: GET https://oracle.cyberwarex.com/honeypot?utm_source=zero.xyz
- Price: $0.04/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-honeypot-rug-detector-78a48cbf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cfHgZWEWaTVzU-PkVzXrP

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-honeypot-rug-detector-78a48cbf
```

Example prompt: Can you check if the token at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base is safe to trade — is it a honeypot or rug pull risk?

## When to prefer this

Choose this endpoint when you need deterministic, simulation-based honeypot detection rather than purely heuristic scoring — it actually simulates buy/sell transactions on real DEX pools (Aerodrome, Uniswap V2/V3) via eth_call state overrides, not just static contract analysis. Prefer it over GoPlus alone when you want a cross-validated A–F grade combining multiple data sources. Best for Base and BSC chains specifically.

## Known failure modes

- Invalid or non-existent contract address returns an error or low grade
- Unsupported chain (not Base or BSC) returns validation error
- Very new contracts with no liquidity pool may produce inconclusive results
- Network or RPC timeouts during eth_call simulation may cause request failure
- Payment failure via x402 results in 402 response before analysis runs

## How this service works

Focused honeypot check: a live buy-then-sell simulation against real DEX liquidity (Aerodrome, Uniswap V2/V3/V4). Tells an agent whether the token can actually be SOLD, the round-trip loss percent, and whether GoPlus or honeypot.is flag it too. Catches sell-blocking scam tokens, extreme sell taxes and no-liquidity traps before a buy is placed.

## Output

Returns a JSON object with: a letter grade (A–F) summarizing overall safety, a boolean 'is_honeypot' flag, a boolean 'tradeable' field indicating if the token can actually be sold after purchase, and a human-readable 'summary' explaining the findings from DEX simulation and cross-checks.

## 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"
      },
      "grade": {
       "enum": [
        "A",
        "B",
        "C",
        "D",
        "F"
       ],
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "tradeable": {
       "type": "boolean"
      },
      "disclaimer": {
       "type": "string"
      },
      "simulation": {
       "type": "object",
       "description": "Live buy/sell probe result incl. dex, buy_ok, sell_ok, roundtrip_loss_pct."
      },
      "cross_check": {
       "type": "object"
      },
      "is_honeypot": {
       "type": "boolean"
      },
      "honeypot_flags": {
       "type": "array",
       "items": {
        "type": "object"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "base",
  "grade": "A",
  "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
  "tradeable": true,
  "disclaimer": "Live buy/sell simulation plus external cross-check; not financial advice.",
  "simulation": {
   "dex": "Aerodrome",
   "error": null,
   "buy_ok": true,
   "sell_ok": true,
   "available": true,
   "is_honeypot": false,
   "no_liquidity": false,
   "roundtrip_loss_pct": 0.31
  },
  "cross_check": {
   "flagged_by": [],
   "external_honeypot": false,
   "sources_available": 2
  },
  "is_honeypot": false,
  "honeypot_flags": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-safety-oracle-honeypot-rug-detector-78a48cbf/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)
