# 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 contract address or Solana SPL Mint for proxy patterns, GoPlus honeypot flags, and freeze authority risks

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/flashloan-vuln-check?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-060470a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ma7TlmCxRaFS0ObJ3MsHi

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-060470a4 -d '<json body>'
```

Example prompt: Can you run a security audit on the Base contract 0xAbC123... and tell me if it's a honeypot, uses a proxy pattern, or has any GoPlus risk flags before I invest?

## When to prefer this

Use this endpoint when you need a fast, automated pre-trade or pre-integration security check on a Base EVM contract or Solana SPL Mint, especially when you want honeypot detection via GoPlus, proxy pattern analysis, and freeze authority checks combined in a single call. Prefer this over manual block explorer review when operating in an autonomous agent pipeline that needs programmatic risk signals before executing swaps, liquidity provision, or contract integrations.

## Known failure modes

- Invalid or malformed address returns an error indicating address format mismatch
- Unknown or undeployed contract address may return no data or empty risk flags
- Network timeout if GoPlus or on-chain data is temporarily unavailable
- Solana address passed to an EVM-only path or vice versa may return an error or null results
- Rate limiting or payment failure results in HTTP 402 response requiring x402 USDC payment

## 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/flashloan-vuln-check)

## Output

Returns a structured security report covering whether the contract uses proxy/upgradeable patterns, GoPlus honeypot detection flags, freeze authority status (for Solana), and an overall risk assessment for the given 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-060470a4/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)
