# 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-11-21).

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

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/api?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-d8147c13
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_o-L4yucKT4X2mMpvidbWf

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

Example prompt: Can you scan this Base contract 0x1234567890abcdef1234567890abcdef12345678 for honeypot flags, proxy patterns, and other security risks before I invest?

## When to prefer this

Choose this endpoint when you need a quick, automated security pre-check on a specific Base EVM contract or Solana SPL Mint before a trade, investment, or protocol interaction. It uniquely combines GoPlus honeypot detection with proxy pattern analysis and Solana freeze authority checks in a single call, making it ideal for DeFi agents that need on-chain risk signals without running a full manual audit. Prefer this over generic blockchain explorers when you need structured, agent-consumable risk flags rather than raw transaction data.

## Known failure modes

- Invalid or malformed address format returns an error — ensure 0x prefix for EVM or valid Base58 for Solana
- Unrecognized contract (unverified or very new) may return limited data or no GoPlus coverage
- Payment failure (HTTP 402) if x402 USDC micropayment is not included or rejected
- Network timeout if on-chain data sources are slow to respond
- Solana addresses passed as EVM or vice versa will produce incorrect 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://onchain-risk.agentdiet.dev/api)

## Output

Returns a JSON object containing security findings for the queried contract or mint address, including detection of proxy/upgradeable patterns, GoPlus honeypot flags indicating buy/sell manipulation risks, freeze authority status (for Solana SPLs), and an overall risk assessment summary.

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