# 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.02/call, status unknown (last checked 2026-10-21).

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

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/onchain-honeypot-detector?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- 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-6ee29ca3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gHrRq5920Iy-TSemRigYN

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-6ee29ca3
```

Example prompt: Can you scan this Base EVM contract 0x4d224452801aced8b2f0aebe155379bb5d594381 for honeypot traps, proxy patterns, or any GoPlus risk flags before I ape in?

## When to prefer this

Use this endpoint when you need on-chain security analysis specifically for Base EVM contracts or Solana SPL Mints before interacting with them in DeFi. It combines GoPlus honeypot detection with proxy pattern analysis and Solana freeze authority checks in a single call, making it ideal for pre-trade due diligence, autonomous trading bots, or wallet security workflows. Prefer this over generic contract explorers when you need machine-readable, structured risk flags rather than human-readable audit reports.

## Known failure modes

- Invalid or malformed address returns an error — ensure 0x prefix for EVM or valid Base58 for Solana
- Contract not found on Base chain or Solana mainnet returns empty or null risk data
- GoPlus API unavailability may cause degraded or cached results
- Newly deployed contracts may not yet be indexed, resulting in incomplete scan data
- Payment failure (HTTP 402) if USDC balance is insufficient for the $0.02 fee

## 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/onchain-honeypot-detector)

## Output

Returns a structured risk assessment object including honeypot detection flags from GoPlus, proxy pattern analysis (e.g. transparent or UUPS proxies), freeze authority status for Solana SPL mints, and other contract-level risk indicators for the queried 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-6ee29ca3/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)
