# 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-18).

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

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/owner-privilege-scan?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-18
- 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-38d15853
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IcpdOQKe56j3bwwl8m6kF

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

Example prompt: Can you scan this Base contract 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 for honeypot traps, proxy patterns, and owner privilege risks before I interact with it?

## When to prefer this

Choose this endpoint when you need a fast, automated security pre-check on a specific Base EVM contract or Solana SPL Mint before executing a transaction, listing a token, or recommending it to users. It is especially valuable for DeFi agents that need to detect honeypots, proxy upgrade risks, and freeze authority before committing funds — combining GoPlus data with on-chain proxy pattern detection in a single call at a low per-scan cost.

## Known failure modes

- Invalid or malformed address returns an error with no scan results
- Unsupported chain or address format (neither Base EVM 0x nor Solana Base58) returns a validation error
- GoPlus API timeout or unavailability may cause partial or failed results
- Payment failure (HTTP 402) if x402 USDC microtransaction is not fulfilled
- Rate limiting if too many requests are made without idempotency key
- Contract not deployed or not found on Base returns empty or null results

## 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/owner-privilege-scan)

## Output

Returns a structured security report detailing proxy pattern detections, GoPlus honeypot flags, freeze authority presence, and owner privilege findings for the scanned 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-38d15853/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)
