# 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-e3c81842
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Qkijs2irt36aNT0qa7Y4A

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

Example prompt: Can you run a security scan on the Base contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 and tell me if it has any honeypot flags, proxy patterns, or other risks?

## When to prefer this

Choose this endpoint when you need a quick, combined security scan of a Base EVM contract or Solana SPL Mint that covers honeypot detection, proxy upgrade patterns, and freeze authority in a single call. It is ideal for pre-trade due diligence in DeFi workflows, agent-driven portfolio risk checks, or automated smart contract vetting pipelines. Prefer it over manual GoPlus or Solscan lookups when you need a unified JSON risk signal consumable by an AI agent without manual browser navigation.

## Known failure modes

- Invalid or malformed address format returns an error (non-0x EVM or invalid Base58 Solana address)
- Address not found on Base or Solana mainnet returns empty or null risk data
- GoPlus API upstream timeout causes delayed or partial results
- Unverified contracts may yield incomplete proxy pattern analysis
- Rate limiting or payment failure (HTTP 402) if x402 USDC payment is not processed

## 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 risk report for the given contract or mint address, including whether proxy patterns are detected (e.g. upgradeable proxies), GoPlus honeypot analysis results (buy/sell tax anomalies, blacklist functions, ownership issues), and freeze authority status for Solana SPL tokens, enabling the agent to assess overall on-chain risk before transacting.

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