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

Audits any Base EVM 0x contract or Solana SPL Mint address for rug-pull risk signals including proxy patterns, GoPlus honeypot flags, and freeze authority

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/rugpull-detector?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-aba048e1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ar14zWljBgJhOf-nygYxv

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-aba048e1 -d '<json body>'
```

Example prompt: Can you check if this Base EVM contract 0x1234567890abcdef1234567890abcdef12345678 is a honeypot or has any rug-pull risks — I want to know about proxy patterns and GoPlus flags before I invest.

## When to prefer this

Choose this endpoint when you need fast, automated on-chain security analysis for Base EVM contracts or Solana SPL mints before a DeFi transaction or investment. It is specifically suited for agents operating in crypto-native workflows that need GoPlus honeypot data and freeze authority checks without building custom blockchain indexing. Prefer this over generic blockchain explorers when you need structured rug-pull risk signals in a single API call.

## Known failure modes

- Invalid or malformed address format (neither valid 0x EVM nor Base58 Solana) returns validation error
- Unrecognized or undeployed contract address returns not-found or empty result
- GoPlus API unavailability causes upstream timeout or degraded response
- Network not supported (chains other than Base EVM or Solana) may return unsupported error
- Payment failure via x402 protocol blocks request execution

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

## Output

Returns a structured risk report including proxy pattern detection, GoPlus honeypot classification flags, freeze authority status (for Solana), and an overall rug-pull risk assessment for the submitted 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-aba048e1/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)
