# Base EVM & Solana Smart Contract Security Scanner

> Base EVM & Solana Smart Contract Security Scanner is a paid API for AI agents from preflight.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-11-17).

Audits a Base EVM contract address or Solana SPL Mint for proxy patterns, honeypot flags, and freeze authority risks

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/bytecode-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Provider: preflight.agentdiet.dev
- Website: https://preflight.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/preflight-agentdiet-dev-base-evm-solana-smart-contract-security-scanner-c2f67319
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iOoz3S3HIFZ0H_S2qwVEq

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 preflight-agentdiet-dev-base-evm-solana-smart-contract-security-scanner-c2f67319 -d '<json body>'
```

Example prompt: Can you run a security scan on the Base contract at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — check it for honeypot flags, proxy patterns, and any other risks before I interact with it?

## When to prefer this

Choose this endpoint when you need rapid on-chain security triage for a specific Base EVM contract or Solana SPL Mint address — especially when checking for honeypots, proxy upgradeability risks, or freeze authority before trading, investing, or integrating a token. Prefer this over general blockchain explorers when you need structured, machine-readable security flags rather than raw chain data.

## Known failure modes

- Invalid or malformed contract address returns an error
- Address not found on Base or Solana mainnet returns empty or null results
- GoPlus API downstream unavailability may cause degraded or partial results
- Unverified or minimal bytecode contracts may yield inconclusive proxy detection
- Payment failure (HTTP 402) if x402 USDC micropayment is not included

## How this service works

Audits any Base EVM 0x contract or Solana SPL Mint for proxy patterns, GoPlus honeypot flags, and freeze authority. (Live x402 v2, IETF MPP & MCP endpoint at https://preflight.agentdiet.dev/v1/bytecode-scanner)

## Output

Returns a structured JSON object containing proxy pattern detection results, GoPlus honeypot flag status, freeze authority presence (for Solana SPL mints), and other on-chain security indicators for the scanned address.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "address": {
   "type": "string",
   "minLength": 1,
   "description": "0x EVM contract/wallet address on Base or Solana Base58 SPL Mint address"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preflight-agentdiet-dev-base-evm-solana-smart-contract-security-scanner-c2f67319/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preflight.agentdiet.dev](https://www.zero.xyz/host/preflight.agentdiet.dev/llms.txt)
