# 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 proxy patterns, honeypot flags, and freeze authority risks

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/onchain-risk?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-2afe9749
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8LONjy3NUeWOJ8mWhwcAw

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-2afe9749
```

Example prompt: Before I swap into this token, can you run a security scan on the contract 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 on Base — check for honeypot flags, proxy patterns, and any GoPlus risk alerts?

## When to prefer this

Choose this endpoint when you need on-chain security analysis of a specific Base EVM contract or Solana SPL mint before a DeFi interaction, trade, or airdrop claim — especially when honeypot detection, proxy upgrade risk, or freeze authority are the primary concerns. Prefer over generic block explorer lookups when you need structured GoPlus risk flags rather than raw chain data.

## Known failure modes

- Invalid or malformed contract address returns a 400 error
- Address not found on Base or Solana returns empty or null risk data
- GoPlus API upstream unavailability may return partial results
- Non-contract wallet addresses may return limited data
- Payment not fulfilled (HTTP 402) if x402 micropayment not attached

## 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-risk)

## Output

Returns a structured security report including proxy pattern detection results, GoPlus honeypot flag status, freeze authority presence (for Solana SPL), and overall risk signals for the queried contract or mint 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-2afe9749/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)
