# Base EVM & Solana Smart Contract Security Scanner

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

Audits Base EVM (0x) contracts or Solana SPL Mint addresses for proxy patterns, GoPlus honeypot flags, and freeze authority risks

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-base-evm-solana-smart-contract-security-3e6136c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FfugVuH-EfVXmEi2p09s-

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 onchain-risk-agentdiet-dev-base-evm-solana-smart-contract-security-3e6136c0
```

Example prompt: Can you run a security scan on the Base EVM contract at 0x1234abcd... and check it for honeypot flags, proxy patterns, or any other red flags before I interact with it?

## When to prefer this

Choose this endpoint when you need a fast, automated pre-interaction security check on a Base EVM contract or Solana SPL token mint — especially for honeypot detection (via GoPlus), proxy/upgradeability pattern analysis, or freeze authority flags. It is ideal for DeFi due-diligence workflows, token listing gatekeeping, or agent-driven risk scoring before executing on-chain transactions. Prefer it over generic block explorers when you need structured, machine-readable risk signals rather than raw chain data.

## Known failure modes

- Invalid or malformed address returns an error (neither valid 0x EVM nor Base58 Solana format)
- Address not found on Base EVM or Solana — contract may not exist or may be a wallet, not a contract
- GoPlus API unavailability may cause incomplete honeypot data
- Network timeout on slow RPC nodes
- Payment failure (x402) if insufficient USDC balance — endpoint costs $0.01 per call
- Rate limiting if too many requests submitted in rapid succession

## 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://onchain-risk.agentdiet.dev/v1)

## Output

Returns a structured security report for the given contract or mint address, including detected proxy patterns, GoPlus honeypot flag status, freeze authority presence (for Solana), and an overall risk assessment. The response is a JSON object with findings relevant to the analyzed blockchain address.

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