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

## Facts

- Endpoint: POST https://preflight.agentdiet.dev/v1/mint-authority-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-d72200dc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eRsp4VRpUXD6-1XF9wxOX

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

Example prompt: Can you run a security scan on the Solana SPL mint address EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v and tell me if it has freeze authority set or any honeypot flags?

## When to prefer this

Choose this endpoint when you need a quick, automated on-chain security check for a specific Base EVM contract or Solana SPL mint before interacting with it in a DeFi context. It is ideal for agents performing pre-trade due diligence, wallet risk screening, or token vetting workflows. It combines GoPlus honeypot detection with proxy pattern analysis and Solana freeze authority checks in a single call, making it more comprehensive than single-signal alternatives. Prefer it over manual block explorer lookups when you need machine-readable risk flags at scale.

## Known failure modes

- Invalid or malformed address format returns a validation error
- Unsupported chain or address type returns an error indicating incompatibility
- GoPlus API unavailability may result in partial or degraded results
- Unknown or undeployed contract address may return no data or empty risk flags
- Payment failure (HTTP 402) if USDC payment is not properly initialized

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

## Output

Returns a structured security report for the given contract or mint address, including: whether the contract uses a proxy/upgradeable pattern, GoPlus honeypot detection flags, freeze authority status (for Solana SPL mints), mint authority details, and an overall risk summary indicating whether the asset poses known security threats.

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