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

Audits a Base EVM contract address or Solana SPL Mint for proxy patterns, honeypot flags, and freeze authority to detect rug pull risk.

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/rugpull-detector?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-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-ba42098f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RVY10Z6JfHtKTo_CvpQ3g

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

Example prompt: Can you check if the Base contract 0x4200000000000000000000000000000000000006 is a honeypot or has any rug pull flags like proxy patterns or suspicious ownership?

## When to prefer this

Choose this endpoint when you need a fast, automated pre-trade or pre-interaction security check on a Base EVM contract or Solana SPL Mint — especially when you need honeypot detection via GoPlus and freeze authority analysis in a single call. Prefer over manual block explorer inspection or generic security tools when operating in an agent workflow that requires programmatic risk gating before DeFi transactions.

## Known failure modes

- Invalid or malformed address returns a validation error
- Unsupported chain or address format returns an error
- GoPlus data unavailable for very new or obscure contracts may return incomplete flags
- Payment not completed (HTTP 402) if x402 micropayment not attached
- Network timeout for slow on-chain data retrieval

## 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 risk report for the given contract or mint address, including whether proxy patterns are detected, GoPlus honeypot flags, freeze authority status, and overall rug pull risk indicators.

## 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-ba42098f/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)
