# Base EVM & Solana Smart Contract Security Scanner

> Base EVM & Solana Smart Contract Security Scanner is a paid API for AI agents from onchain-risk.agentdiet.dev, paid per call via MPP, $0.01/call, status unknown (last checked 2026-10-21).

Audits a Base EVM (0x) contract or Solana SPL Mint address for honeypot flags, proxy patterns, rug-pull risk, and freeze authority using GoPlus security data.

## Facts

- Endpoint: GET https://onchain-risk.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: onchain-risk.agentdiet.dev
- Website: https://onchain-risk.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/onchain-risk-agentdiet-dev-base-evm-solana-smart-contract-security-57262c99
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-fJCNwCDgAIz7CwlOGkMB

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 onchain-risk-agentdiet-dev-base-evm-solana-smart-contract-security-57262c99
```

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

## When to prefer this

Use this endpoint when you need a fast, automated pre-trade or pre-investment security check on a specific Base EVM contract or Solana SPL Mint, especially when you want GoPlus honeypot data, proxy pattern detection, and freeze authority signals in one call. Prefer this over manual block explorer review when operating an autonomous DeFi agent that needs programmatic risk gating before executing swaps or purchases.

## Known failure modes

- Invalid or malformed address returns an error response
- Unknown or very new contract with no on-chain history may return incomplete data
- Solana address passed for an EVM-only lookup (or vice versa) may produce empty results
- GoPlus data unavailable for obscure or unlisted tokens
- Network timeout if the upstream GoPlus or on-chain RPC is slow
- Payment failure (HTTP 402) if USDC balance is insufficient

## 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://onchain-risk.agentdiet.dev/v1/rugpull-detector)

## Output

Returns a structured security report for the given contract or mint address, including GoPlus honeypot detection flags, proxy/upgradeable pattern detection, freeze authority status (for Solana), and an overall on-chain 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/onchain-risk-agentdiet-dev-base-evm-solana-smart-contract-security-57262c99/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from onchain-risk.agentdiet.dev](https://www.zero.xyz/host/onchain-risk.agentdiet.dev/llms.txt)
