# 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.010000/call, status unknown (last checked 2026-11-20).

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

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/a2a?utm_source=zero.xyz
- Price: $0.010000/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-20
- 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-1f2a9454
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sN-olD3hK_j3vltwsnUq5

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-1f2a9454
```

Example prompt: Can you scan the Base EVM contract 0x4200000000000000000000000000000000000006 for honeypot flags, proxy patterns, and any other security risks before I interact with it?

## When to prefer this

Choose this endpoint when you need rapid, automated on-chain security screening of a specific Base EVM contract or Solana SPL Mint before a trade, listing, or integration. It is particularly suited for DeFi agents that need GoPlus honeypot data and proxy pattern detection in a single call, without building custom blockchain indexing. Prefer it over manual block explorer review when speed and agent-native JSON output are required.

## Known failure modes

- Invalid or malformed contract address returns an error
- Address not found on Base or Solana returns empty or not-found result
- GoPlus API unavailability may delay or fail the scan
- Unverified or very new contracts may return incomplete data
- Pagination cursor mismatch returns 400 or empty page

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

## Output

Returns a structured security report for the queried contract or SPL mint, including proxy pattern detection results, GoPlus honeypot flag status, freeze authority presence (for Solana), and overall risk indicators that help determine whether the contract is safe to interact with.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "limit": {
   "type": "integer",
   "default": 20,
   "maximum": 100,
   "minimum": 1,
   "description": "Maximum number of items to return per page (1-100)"
  },
  "cursor": {
   "type": "string",
   "description": "Opaque pagination cursor for fetching the next page"
  },
  "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-1f2a9454/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)
