{
  "type": "https://eips.ethereum.org/EIPS/eip-8257#tool-manifest-v1",
  "name": "contract-safety-scanner",
  "description": "Smart contract safety analysis on Base. Checks verification status, proxy patterns (EIP-1967), admin/owner functions, upgrade capabilities, self-destruct risk, and bytecode size. Returns a 0-100 safety score. 10min cache. $0.10 USDC per call; AXIOM Tool Pass holders get free access.",
  "endpoint": "https://www.clawbots.org/api/tools/contract-safety-scanner",
  "inputs": {
    "type": "object",
    "properties": {
      "contract": {
        "type": "string",
        "description": "Smart contract address on Base (0x...)"
      }
    },
    "required": [
      "contract"
    ]
  },
  "outputs": {
    "type": "object",
    "properties": {
      "contract": {
        "type": "string"
      },
      "safetyScore": {
        "type": "integer",
        "minimum": 0,
        "maximum": 100
      },
      "safetyLevel": {
        "type": "string",
        "enum": [
          "likely_safe",
          "moderate_risk",
          "high_risk",
          "dangerous",
          "not_a_contract"
        ]
      },
      "risks": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "positives": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "details": {
        "type": "object",
        "properties": {
          "isVerified": {
            "type": "boolean"
          },
          "isProxy": {
            "type": "boolean"
          },
          "contractName": {
            "type": "string"
          },
          "bytecodeSize": {
            "type": "integer"
          }
        }
      }
    }
  },
  "creatorAddress": "0x523eff3db03938eaa31a5a6fbd41e3b9d23edde5",
  "tags": [
    "contract",
    "security",
    "audit",
    "base",
    "proxy-detection"
  ],
  "pricing": [
    {
      "amount": "100000",
      "asset": "eip155:8453/erc20:0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
      "recipient": "eip155:8453:0x523eff3db03938eaa31a5a6fbd41e3b9d23edde5",
      "protocol": "x402"
    }
  ]
}
