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

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

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/workflows/defi-token-due-diligence?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-23
- 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-6013780a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_msnwdGcdUJII_g8gwCsw6

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

Example prompt: Can you run a security scan on the Base contract 0x4fabb145d64652a948d72533023f6e7a623c7c53 and tell me if it's a honeypot, has any proxy upgrade patterns, or other red flags before I ape in?

## When to prefer this

Choose this endpoint when you need a fast, low-cost ($0.01) pre-trade security check specifically for Base EVM contracts or Solana SPL mints — especially when you want GoPlus honeypot detection combined with proxy pattern analysis and freeze authority checks in a single call. Prefer this over manual block explorer inspection or generic audit tools when operating autonomously in a DeFi agent workflow that requires programmatic, structured risk signals before executing swaps or liquidity provision.

## Known failure modes

- Invalid or malformed contract address returns a validation error
- Unknown or very new contracts may not yet be indexed by GoPlus, returning incomplete data
- Solana Base58 addresses misformatted as 0x addresses (or vice versa) may cause lookup failures
- Rate limiting or payment failure (HTTP 402) if USDC micropayment is not properly attached
- Network timeouts if on-chain data providers are temporarily unavailable

## 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/workflows/defi-token-due-diligence)

## Output

Returns a security report covering: GoPlus honeypot detection flags, proxy pattern identification (e.g. transparent, UUPS, or beacon proxies), freeze authority status for Solana SPL mints, and overall risk indicators — enabling agents to assess whether a contract or token is safe to interact with before executing trades or integrations.

## 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-6013780a/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)
