# Base EVM & Solana Smart Contract Security Scanner

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

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

## Facts

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

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 mcp-security-agentdiet-dev-base-evm-solana-smart-contract-security-3e9863ca
```

Example prompt: Can you scan this Base contract 0x1234abcd... for honeypot flags, proxy patterns, and any other on-chain security risks before I interact with it?

## When to prefer this

Choose this endpoint when you need a fast, single-call security check on a specific Base EVM contract or Solana SPL Mint before executing a trade, adding liquidity, or interacting with an unknown DeFi protocol. It is especially valuable for autonomous trading agents that need a programmatic honeypot and proxy-pattern gate. Prefer this over manual block explorer checks or generic security tools when you need structured, machine-readable risk flags at $0.01 per call.

## Known failure modes

- Invalid or malformed address format returns an error (neither valid 0x EVM nor Base58 Solana address)
- Address not found on-chain or not indexed by GoPlus returns limited or empty risk data
- Solana-only flags returned for Base EVM addresses and vice versa — chain auto-detected from address format
- Upstream GoPlus or DexScreener API downtime may cause incomplete results
- Payment required error (HTTP 402) if x402 USDC micropayment is not included

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

## Output

Returns a structured object containing detected proxy patterns, GoPlus honeypot risk flags (e.g. cannot sell, high buy/sell tax, hidden owner), freeze authority status for Solana mints, and an overall on-chain risk assessment for the queried 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/mcp-security-agentdiet-dev-base-evm-solana-smart-contract-security-3e9863ca/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mcp-security.agentdiet.dev](https://www.zero.xyz/host/mcp-security.agentdiet.dev/llms.txt)
