# 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 rug pull risk signals including proxy patterns, GoPlus honeypot flags, and freeze authority

## Facts

- Endpoint: GET https://defi-yield.agentdiet.dev/v1/rugpull-detector?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-2a00b336
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_52Rxvmfk9F1yV398fMWcb

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-2a00b336
```

Example prompt: Can you scan this Base contract 0x1234...abcd for honeypot flags, proxy patterns, and rug pull risks before I ape in?

## When to prefer this

Use this endpoint when you need a fast, pre-trade security scan of a specific Base EVM contract or Solana SPL Mint address and want GoPlus honeypot detection combined with proxy pattern and freeze authority checks in a single call. Prefer this over manual block explorer review when operating autonomously in a DeFi agent workflow where quick risk gating is needed before executing a swap or investment.

## Known failure modes

- Invalid or malformed address returns an error indicating bad input
- Address not found on Base or Solana returns no data or empty risk flags
- GoPlus API unavailability may result in partial or degraded honeypot data
- Non-contract wallet addresses may return limited data
- Payment failure (402) if x402 USDC micropayment is not completed

## 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/rugpull-detector)

## Output

Returns a structured security report for the queried contract or mint address, including whether the contract uses a proxy/upgradeable pattern, GoPlus honeypot detection flags, freeze authority status (for Solana), and an overall rug pull risk assessment.

## 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-2a00b336/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)
