# 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 EVM contract addresses on Base or Solana SPL Mint addresses for proxy patterns, honeypot flags, and freeze authority risks

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/contract-scanner?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-0cf9d9eb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6PAqrw5T-4lsxJ2NpG6Bi

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-0cf9d9eb
```

Example prompt: Can you scan this Base contract 0x4200000000000000000000000000000000000006 for honeypot flags, proxy upgrade patterns, and any other security risks before I interact with it?

## When to prefer this

Choose this endpoint when you need a fast, automated pre-trade or pre-integration security check on a Base EVM contract or Solana SPL Mint address. It is especially useful when you need honeypot detection, proxy/upgradeable pattern detection, and freeze authority checks combined in a single call, rather than querying GoPlus or on-chain data manually. Prefer it for DeFi agent workflows, trading bots, or risk dashboards that need to vet unknown contracts programmatically before committing funds.

## Known failure modes

- Invalid or malformed address returns an error response
- Contract not found on Base or Solana returns empty/null results
- GoPlus data unavailable for very new or obscure contracts
- Rate limiting or payment failure (402) if x402 USDC micropayment is not provided
- Network-level timeout if the blockchain RPC is slow

## 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/contract-scanner)

## Output

Returns a security report for the given contract or mint address, including whether proxy/upgradeable patterns are detected, GoPlus honeypot flag status, freeze authority presence (for Solana SPL tokens), and an overall risk assessment.

## 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-0cf9d9eb/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)
