# Base EVM & Solana Smart Contract Security Scanner

> Base EVM & Solana Smart Contract Security Scanner is a paid API for AI agents from x402-audit.agentdiet.dev, paid per call via MPP, $0.02/call, status unknown (last checked 2026-10-21).

Audits a Base EVM (0x) contract or Solana SPL Mint address for proxy patterns, honeypot flags, and freeze authority risks

## Facts

- Endpoint: GET https://x402-audit.agentdiet.dev/v1/flashloan-vuln-check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: x402-audit.agentdiet.dev
- Website: https://x402-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/x402-audit-agentdiet-dev-base-evm-solana-smart-contract-security-877c83b5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_v2KDhMndSpBOINtp0nRwd

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 x402-audit-agentdiet-dev-base-evm-solana-smart-contract-security-877c83b5
```

Example prompt: Can you run a security scan on the Base contract 0x1234abcd... and tell me if it has any honeypot flags, proxy patterns, or other risks before I interact with it?

## When to prefer this

Choose this endpoint when you need a quick, automated pre-trade or pre-interaction security check on a Base EVM contract or Solana SPL Mint without running a full manual audit. It combines GoPlus honeypot intelligence with on-chain proxy and freeze authority checks in a single call, making it ideal for DeFi agents that need to gate token swaps or contract interactions on safety signals. Prefer this over generic blockchain explorers when you need structured, machine-readable security flags rather than raw contract bytecode or transaction history.

## Known failure modes

- Invalid or malformed address returns an error (non-0x EVM address, non-Base58 Solana address)
- Address not found on-chain returns empty or null results
- GoPlus data unavailable for obscure or newly deployed contracts
- Rate limiting or payment failure (HTTP 402) if x402 USDC payment not completed
- Network timeouts when querying on-chain data for high-load periods

## 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://x402-audit.agentdiet.dev/v1/flashloan-vuln-check)

## Output

Returns a security report for the given contract or mint address, including whether proxy patterns are detected (indicating upgradeability risk), GoPlus honeypot flags, freeze authority status (for Solana), and an overall risk summary to help the agent assess whether the address is safe to interact with or trade.

## 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/x402-audit-agentdiet-dev-base-evm-solana-smart-contract-security-877c83b5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-audit.agentdiet.dev](https://www.zero.xyz/host/x402-audit.agentdiet.dev/llms.txt)
