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

Audits Base EVM (0x) contracts and Solana SPL Mint addresses for honeypot flags, proxy patterns, and freeze authority risks

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/bytecode-scanner?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-1d8b4886
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NJAbkRsRxm2RaGQ7TX7Gm

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-1d8b4886 -d '<json body>'
```

Example prompt: Can you scan the Base contract 0x1234...abcd for honeypot flags and proxy patterns to tell me if it's safe to interact with?

## When to prefer this

Choose this endpoint when you need automated, pre-trade or pre-integration security vetting of a specific Base EVM contract or Solana SPL Mint address. It is particularly valuable for DeFi agents that need to programmatically gatekeep token interactions, flag honeypots before a swap, or verify that a contract has no hidden upgrade or freeze mechanisms. Prefer this over manual block explorer inspection when operating at scale or in automated pipelines.

## Known failure modes

- Invalid or malformed address returns a validation error
- Unsupported chain or address format (non-Base EVM, non-Solana) may return an error or empty result
- GoPlus data unavailable for newly deployed contracts with no transaction history
- Network timeout if blockchain RPC is congested
- Payment failure (HTTP 402) if x402 USDC payment is not correctly attached

## 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/bytecode-scanner)

## Output

Returns a structured security report indicating whether the contract has been flagged as a honeypot by GoPlus, whether it uses upgradeable proxy patterns (which could allow hidden logic changes), whether freeze authority is present (for Solana SPL mints), and other on-chain risk indicators relevant to the submitted 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-1d8b4886/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)
