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

## Facts

- Endpoint: GET https://onchain-risk.agentdiet.dev/v1/flashloan-vuln-check?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-096fbcb3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g9xZuljbDfb9XK4K7K2iF

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-096fbcb3
```

Example prompt: Can you scan the Base contract 0x1234567890abcdef1234567890abcdef12345678 for honeypot flags, proxy upgrade patterns, and any GoPlus security risks before I ape in?

## When to prefer this

Choose this endpoint when you need automated, agent-friendly on-chain security screening for Base EVM contracts or Solana SPL mints before executing a trade, providing liquidity, or interacting with an unknown protocol. It combines GoPlus honeypot detection with proxy pattern analysis and Solana freeze authority checks in a single call, making it superior to manual block explorer review or separate GoPlus API integration.

## Known failure modes

- Invalid or malformed address returns a 400 error
- Address not found on Base or Solana returns empty or null risk data
- GoPlus API upstream timeout results in incomplete scan
- Newly deployed contracts with no on-chain history may return limited data
- Payment not fulfilled (HTTP 402) if x402 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://onchain-risk.agentdiet.dev/v1/flashloan-vuln-check)

## Output

Returns a structured security report indicating whether the contract or SPL mint has proxy upgrade patterns, GoPlus honeypot flags (e.g. cannot sell, hidden fees, blacklist functions), and freeze authority status, along with overall risk signals to help an agent or user decide whether to interact with the contract.

## 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-096fbcb3/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)
