# 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 a Base EVM 0x contract or Solana SPL Mint address for proxy patterns, GoPlus honeypot flags, and freeze/mint authority risks

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/mint-authority-check?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-d1b70ff5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QynyDBYSzthEa5jiT-8Mi

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-d1b70ff5
```

Example prompt: Can you scan the contract 0x4200000000000000000000000000000000000006 on Base for honeypot flags, proxy patterns, and mint authority risks before I interact with it?

## When to prefer this

Choose this endpoint when you need a combined EVM (Base chain) and Solana smart contract security check in a single call, especially when GoPlus honeypot detection and freeze/mint authority analysis are required together before a DeFi trade, token purchase, or liquidity provision. Prefer this over generic block explorers when you need structured, agent-consumable risk signals rather than raw on-chain data.

## Known failure modes

- Invalid or malformed address returns an error response
- Unrecognized chain or address format (neither valid 0x EVM nor Base58 Solana) may return a parsing error
- GoPlus API unavailability may result in incomplete honeypot data
- Very new or unindexed contracts may have limited data
- Payment not received (HTTP 402) blocks the response

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

## Output

Returns a structured security report including proxy pattern detection results, GoPlus honeypot flag status, freeze authority presence, and mint authority details for the queried contract or SPL mint 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-d1b70ff5/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)
