# 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 Base EVM (0x) contracts or Solana SPL Mint addresses for honeypot flags, proxy patterns, and freeze authority risks

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/evm-solana-rug-scanner?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-c55d1512
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IzvX3Je2i5TQp9Q0oI2SB

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

Example prompt: Before I buy this token, can you scan the contract 0x1234abcd... on Base for honeypot flags, proxy patterns, and any rug pull indicators?

## When to prefer this

Choose this endpoint when you need automated, pre-trade or pre-interaction security scanning of Base EVM contracts or Solana SPL Mint addresses, specifically when you want GoPlus honeypot intelligence combined with proxy pattern and freeze authority checks in a single call. Prefer this over manual block explorer review when operating in an agentic pipeline that needs programmatic, structured risk signals before executing DeFi transactions.

## Known failure modes

- Invalid or malformed address returns validation error
- Address not found on Base or Solana returns empty or not-found result
- GoPlus API unavailability causes upstream timeout or degraded response
- Payment not completed (HTTP 402) blocks execution
- Unsupported chain address (non-Base EVM or non-Solana) may return errors or incomplete analysis

## 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/evm-solana-rug-scanner)

## Output

Returns a structured risk report for the submitted address including GoPlus honeypot detection flags, proxy pattern findings (e.g. upgradeable proxies), freeze authority status for Solana SPL tokens, and overall on-chain risk signals that indicate potential rug pull or malicious contract behavior.

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