# 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 Base EVM (0x) contracts or Solana SPL Mint addresses for proxy upgrade patterns, GoPlus honeypot flags, and freeze authority risks.

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/proxy-upgrade-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-d464cacb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AOSB840T54DnNJoX-R8vL

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-d464cacb
```

Example prompt: Can you check whether the Base EVM contract at 0x4200000000000000000000000000000000000006 has any proxy upgrade risks, honeypot flags, or other red flags before I interact with it?

## When to prefer this

Choose this endpoint when you need automated, pre-interaction security checks on Base EVM contracts or Solana SPL Mint addresses — especially for honeypot detection, proxy upgrade risk, and freeze authority auditing. Ideal for DeFi agents performing pre-trade safety checks, wallet UIs surfacing risk warnings, or developer tools validating contracts before integration. Preferred over generic blockchain explorers when you need structured, agent-ready security signals rather than raw chain data.

## Known failure modes

- Invalid or malformed address returns an error (not a valid 0x or Base58 format)
- Address not found on Base or Solana returns empty or null results
- GoPlus API unavailability may cause incomplete honeypot data
- Newly deployed contracts may lack sufficient on-chain data for full analysis
- Payment failure (HTTP 402) if USDC micropayment is not provided

## 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/proxy-upgrade-risk)

## Output

Returns a structured security report covering proxy/upgrade pattern detection, GoPlus honeypot flags (e.g. buy/sell tax manipulation, owner privilege abuse), and freeze authority status for the given contract or SPL Mint address. Indicates overall risk level and specific vulnerability findings.

## 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-d464cacb/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)
