# M2M Sentinel — Base Contract Bytecode & Proxy Audit

> M2M Sentinel — Base Contract Bytecode & Proxy Audit is a paid API for AI agents from api.m2msentinel.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Returns static bytecode capability analysis and proxy pattern observations for a given Base mainnet contract address

## Facts

- Endpoint: GET https://api.m2msentinel.com/v1/audit/:address
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/m2m-sentinel-base-contract-bytecode-proxy-audit-ba45e599
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AQbaF6ZJiFHCJSwrXHWZp

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 m2m-sentinel-base-contract-bytecode-proxy-audit-ba45e599
```

Example prompt: Can you audit the Base contract at 0x4200000000000000000000000000000000000006 and tell me whether it's a proxy, what bytecode capabilities it has, and any notable observations?

## When to prefer this

Choose this endpoint when you need static bytecode-level analysis and proxy pattern detection for a specific Base mainnet contract, especially for due diligence on DeFi protocols, token contracts, or any on-chain integration. It complements runtime/live data endpoints (price, liquidity, large transfers) by providing structural contract intelligence. Prefer it over general block explorers when you need structured, machine-readable audit output rather than raw bytecode or human-readable explorer pages.

## Known failure modes

- Invalid or malformed address (not a valid 0x hex address) — likely 4xx validation error
- Address is an EOA (externally owned account) rather than a contract — audit may return empty or limited results
- Contract not indexed or not tracked by M2M Sentinel — may return empty audit object
- Network or provider downtime — service unavailable error
- Payment failure via x402 protocol — request rejected before reaching the API

## How this service works

Before you sign: can this Base contract be paused, frozen, or have tokens minted by its owner, self-destruct, or delegate execution somewhere you have not seen? Returns the opcodes and selectors actually present in the deployed bytecode, resolves proxies and EIP-7702 delegated accounts to what really runs, and states the trust level behind the answer. Evidence for your policy, not a safety verdict.

## Output

A JSON object with a 'status' field (SUCCESS) and an 'audit' object containing static bytecode capability findings and proxy pattern observations for the queried Base mainnet contract address.

## 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",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "pattern": "^0x[0-9a-fA-F]{40}$",
       "description": "A Base mainnet contract address."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "status"
     ],
     "properties": {
      "audit": {
       "type": "object"
      },
      "status": {
       "type": "string",
       "const": "SUCCESS"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/m2m-sentinel-base-contract-bytecode-proxy-audit-ba45e599/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.m2msentinel.com](https://www.zero.xyz/host/api.m2msentinel.com/llms.txt)
