# Base EVM & Solana Smart Contract Security Scanner

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

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

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/proxy-upgrade-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Provider: defi-yield.agentdiet.dev
- Website: https://defi-yield.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/defi-yield-agentdiet-dev-base-evm-solana-smart-contract-security-e755be5c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PLLoz66fc5e4ldzK_g_ZE

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 defi-yield-agentdiet-dev-base-evm-solana-smart-contract-security-e755be5c -d '<json body>'
```

Example prompt: Can you run a security scan on the Base contract 0x1234567890abcdef1234567890abcdef12345678 and tell me if it has any proxy upgrade risks, GoPlus honeypot flags, or dangerous admin patterns?

## When to prefer this

Choose this endpoint when you need a fast, per-address smart contract risk check combining proxy upgrade detection with GoPlus honeypot analysis in a single call, specifically for Base EVM (0x) contracts and Solana SPL Mint addresses. Prefer this over general-purpose blockchain explorers when you need security-focused flags (honeypot, freeze authority, admin keys) rather than raw transaction data. It is especially useful in DeFi agent workflows where automated pre-trade or pre-investment risk gating is required.

## Known failure modes

- Invalid or malformed address format returns an error indicating unrecognized address type
- Unsupported chain or contract not indexed by GoPlus may return incomplete data
- Network timeouts or upstream GoPlus API unavailability may cause delayed or failed responses
- Rate limiting or payment failure (HTTP 402) if USDC micropayment is not properly handled
- Very new contracts with no on-chain history may return limited or inconclusive 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://defi-yield.agentdiet.dev/v1/proxy-upgrade-risk)

## Output

Returns a structured JSON object containing: detected proxy/upgrade patterns (e.g. transparent proxy, UUPS), GoPlus honeypot analysis flags (e.g. buy/sell tax anomalies, blacklist functions), freeze authority status for Solana mints, and an overall risk assessment for the queried contract or 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/defi-yield-agentdiet-dev-base-evm-solana-smart-contract-security-e755be5c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-yield.agentdiet.dev](https://www.zero.xyz/host/defi-yield.agentdiet.dev/llms.txt)
