# 402.com.tr Contract Danger Scanner

> 402.com.tr Contract Danger Scanner is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-16).

Reads a verified smart contract's ABI and flags owner-callable abuse functions that could harm token holders, such as mint, pause, blacklist, setFee, withdraw, or upgrade.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/contract-danger
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402-com-tr-contract-danger-scanner-739f1e57
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_f2ZME0mGp7Nlx8hfOCrsA

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 402-com-tr-contract-danger-scanner-739f1e57
```

Example prompt: Can you scan the contract at 0x1234abcd...5678 on Base and tell me if the owner can mint new tokens, blacklist my wallet, pause trading, or pull funds out — basically flag any dangerous functions before I ape in?

## When to prefer this

Use this endpoint when a user wants to assess smart contract risk before buying or interacting with a token — especially for detecting owner-callable backdoors like mint, pause, blacklist, fee manipulation, fund withdrawal, or upgradeable proxy patterns. Prefer this over general price feeds or liquidity checks when the concern is contract-level trust rather than market conditions. It complements pool analysis endpoints by covering the contract governance risk dimension.

## Known failure modes

- Contract address not found or not deployed on Base — returns error or empty result
- Contract is unverified on Sourcify — ABI unavailable, endpoint flags this as a red flag itself
- Invalid address format — returns validation error
- Network timeout or upstream Sourcify/RPC failure — 5xx error
- Contract has no dangerous functions — returns clean result with empty flag list

## How this service works

Reads a verified contract's ABI and flags owner-callable abuse functions: mint (dilute), pause (freeze exit), blacklist (block your wallet), setFee/setTax (tax you after entry), withdraw/sweep (pull funds), upgrade (swap logic). An unverified contract is itself a red flag. Diligence a price feed can't give.

## Output

A breakdown of the contract's ABI identifying which owner-callable abuse functions are present (mint, pause, blacklist, setFee/setTax, withdraw/sweep, upgrade), plus a note if the contract is unverified (itself a red flag), giving the agent a clear risk picture before a user commits funds.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "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/402-com-tr-contract-danger-scanner-739f1e57/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
