# 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 address or Solana SPL Mint for proxy patterns, GoPlus honeypot flags, and freeze authority risks

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/contract-scanner?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-e17ca222
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HunXembc-vxFSwh7OWRcB

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

Example prompt: Can you run a security audit on this Base contract — 0x1234abcd5678ef901234abcd5678ef901234abcd — and tell me if it has any honeypot flags, proxy patterns, or other red flags before I interact with it?

## When to prefer this

Choose this endpoint when you need a combined EVM + Solana smart contract security check that covers honeypot detection (via GoPlus), proxy pattern analysis, and freeze authority in a single API call. Prefer it over manual block explorer lookups when automating pre-trade or pre-integration risk checks in DeFi agent workflows on Base or Solana networks.

## Known failure modes

- Invalid or malformed address returns an error (non-0x EVM or invalid Base58 Solana format)
- Address not found on Base or Solana network returns empty or null results
- GoPlus API rate limiting or downstream outage may cause partial or failed responses
- Newly deployed contracts with no on-chain history may return limited data
- Payment failure (402) if $0.01 USDC micropayment via x402 is not resolved

## 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/contract-scanner)

## Output

Returns a structured security report for the queried address including: proxy pattern detection, GoPlus honeypot flags (buy/sell tax anomalies, blacklist functions, ownership risks), and freeze authority status for Solana SPL mints — enabling agents to assess on-chain risk before transacting

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