# 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 honeypot flags, proxy patterns, and freeze authority risks

## Facts

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

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

Example prompt: Can you run a rug-pull and honeypot check on the Base contract 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed? I want to know if it has proxy patterns or any GoPlus honeypot flags before I ape in.

## When to prefer this

Choose this endpoint when you need rapid, automated pre-trade or pre-integration security screening for Base EVM contracts or Solana SPL mints — especially when honeypot detection, proxy pattern analysis, and freeze authority checks are all needed in a single call. Prefer this over manual block explorer review or generic audit tools when operating in an agent pipeline that requires programmatic risk signals with pay-per-call economics ($0.02/call).

## Known failure modes

- Invalid or malformed address returns an error — address must be a valid 0x EVM address or Base58 Solana mint
- Contract not deployed or not found on supported chains returns empty or not-found result
- GoPlus API upstream unavailability may cause degraded or missing honeypot data
- Network not supported (non-Base EVM chains) may return partial or no results
- Payment failure (HTTP 402) if x402 USDC microtransaction is not completed

## 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 structured security report for the queried contract or mint address, including GoPlus honeypot detection flags, proxy pattern identification, freeze authority status (for Solana SPL mints), and overall rug-pull risk signals. The response is a JSON object summarizing the on-chain risk profile.

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