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

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/rug-check?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-8fb92e07
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hUkZi1uUTVUBlUp3zgoqF

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

Example prompt: Can you run a rug check on this Base contract — 0x1234abcd...5678 — and tell me if it's flagged as a honeypot or has any proxy patterns that look sketchy?

## When to prefer this

Choose this endpoint when you need a fast, programmatic pre-flight security check on a specific Base EVM contract or Solana SPL Mint before executing a trade, listing a token, or recommending an asset. It is purpose-built for honeypot detection + proxy pattern + freeze authority in a single call, making it more convenient than querying GoPlus or on-chain RPC separately. Prefer it over manual block explorer inspection or generic audit tools when operating in an automated agent workflow that needs a structured, machine-readable risk signal.

## Known failure modes

- Invalid or malformed address format returns a validation error
- Unsupported chain or address type not recognized as Base EVM or Solana
- GoPlus API timeout or downstream data unavailability causes partial results
- Payment not processed (HTTP 402) if x402 USDC payment is not included
- Rate limiting if too many requests are sent without idempotency keys

## 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/rug-check)

## Output

Returns a JSON object containing security flags for the queried address, including whether the contract is a honeypot (GoPlus), whether proxy upgrade patterns are detected, freeze authority status (for Solana SPL mints), and an overall risk signal that an agent can use to gate downstream actions.

## 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-8fb92e07/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)
