# 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 patterns, honeypot flags, and freeze authority risks

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/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-0c9bfa0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WkH54bnFT-IoYjMABboNy

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-0c9bfa0d
```

Example prompt: Before I buy this token, can you scan the contract 0x1234abcd...efgh on Base for honeypot flags, proxy upgrade patterns, or any other red flags that could mean it's a rug pull?

## When to prefer this

Choose this endpoint when you need a fast, per-address smart contract security check on Base EVM or Solana before interacting with or investing in a token — especially to catch honeypots, freeze authority risks, and proxy upgrade patterns. Prefer this over manual block explorer review when you need programmatic, structured risk data at $0.01 per call in an automated agent or trading workflow.

## Known failure modes

- Invalid or malformed address format returns an error
- Unrecognized chain or address type not supported
- Contract not yet deployed or address does not exist on-chain
- GoPlus data unavailable for newly deployed contracts
- Payment required (HTTP 402) if x402 USDC micropayment not completed
- Rate limiting if too many requests in a short window

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

## Output

A structured JSON object containing security findings for the queried address, including whether proxy/upgradeable patterns are detected, GoPlus honeypot flags and their details, freeze authority status (for Solana SPL mints), and an overall risk assessment indicating whether the contract poses known security risks.

## 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-0c9bfa0d/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)
