# 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 risks, proxy upgrade patterns, and freeze/owner privilege flags

## Facts

- Endpoint: GET https://preflight.agentdiet.dev/v1/owner-privilege-scan?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-f44363e2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-6ikrojadas3Fc2_EgiAN

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

Example prompt: Can you scan the contract 0x1234abcd...5678 on Base for honeypot flags, proxy upgrade patterns, and any owner privilege risks before I interact with it?

## When to prefer this

Use this endpoint when you need a quick, automated pre-interaction security check on a Base EVM contract or Solana SPL Mint token — especially before DeFi interactions, token purchases, or agent-driven on-chain transactions. It combines GoPlus honeypot detection with proxy pattern analysis and freeze authority checks in a single call, making it ideal for autonomous agents that need to gate-keep wallet interactions without manual auditing.

## Known failure modes

- Invalid or malformed address returns an error response
- Address not found on Base or Solana returns empty or null results
- GoPlus API upstream timeout may delay or fail the scan
- Non-contract wallet addresses may return limited data
- Newly deployed contracts with no on-chain history may have incomplete results

## 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/owner-privilege-scan)

## Output

Returns a JSON object containing security findings for the given address, including GoPlus honeypot flags, detected proxy or upgradeable contract patterns, freeze authority status (for Solana SPL), and owner/admin privilege risks that could indicate rug pull or malicious behavior.

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