# 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 Base EVM (0x) contracts or Solana SPL Mint addresses for proxy patterns, honeypot flags, and freeze authority risks

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/paid?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-d22582a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pncFQf-2G11GXzrUz2b5S

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

Example prompt: Can you check if the contract 0x4a7B3a1f2E9dC8A5b3c0D4e6F7a8B9c0d1E2f3A4 on Base is a honeypot or has any proxy patterns or suspicious admin controls?

## When to prefer this

Choose this endpoint when you need a quick, low-cost ($0.01) programmatic security check on a Base EVM contract or Solana SPL Mint before interacting with it — especially for honeypot detection, proxy pattern identification, and freeze authority checks. Prefer this over manual block explorer review when you need machine-readable risk signals in an automated agent workflow. Especially valuable for DeFi agents performing pre-trade token screening or due diligence workflows.

## Known failure modes

- Invalid or malformed address format returns an error
- Address not found on-chain or unsupported chain returns no data
- GoPlus API unavailability may cause partial results
- Newly deployed contracts with no on-chain history may return incomplete risk data
- Payment required (HTTP 402) if x402 micropayment header is missing or invalid

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

## Output

Returns a structured security report including whether the contract has proxy upgrade patterns, GoPlus honeypot detection flags, freeze authority status (for Solana), and overall risk indicators that help determine if the contract is safe to interact with.

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