# 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-10-21).

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

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/proxy-upgrade-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- 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-d5331fde
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fCGDpadhpz1jiSYdg0ok9

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

Example prompt: Can you run a security audit on the Base contract 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — check it for proxy upgrade patterns, honeypot flags, and any rug pull risks?

## When to prefer this

Choose this endpoint when you need a combined EVM + Solana smart contract risk check covering proxy upgrade patterns AND GoPlus honeypot analysis in a single call, especially for Base chain contracts or Solana SPL mints. Prefer this over generic block explorer lookups when you need structured honeypot flags and freeze authority signals rather than raw on-chain data. Ideal for pre-trade due diligence in DeFi agent workflows.

## Known failure modes

- Invalid or malformed address returns an error indicating unrecognized address format
- Contract not found on Base or Solana returns empty or null risk data
- GoPlus API unavailable may result in partial results or a degraded response
- Rate limiting or payment failure (HTTP 402) if x402 payment is not properly handled
- Newly deployed contracts with no on-chain history may return limited signals

## 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 security report for the given contract or mint address including: proxy/upgrade pattern detection, GoPlus honeypot flags (e.g. buy/sell tax traps, transfer restrictions), freeze authority presence for Solana SPL tokens, and an overall risk assessment indicating whether the contract poses elevated rug pull or honeypot risk.

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