# 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-17).

Audits a Base EVM contract address or Solana SPL Mint for proxy patterns, honeypot flags, and freeze authority risks

## Facts

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

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

Example prompt: Can you run a security scan on this Base contract 0x1234567890abcdef1234567890abcdef12345678 and tell me if it has any honeypot flags or proxy patterns I should worry about?

## When to prefer this

Choose this endpoint when you need a fast, automated pre-interaction security check on a specific Base EVM contract or Solana SPL mint, particularly when evaluating DeFi tokens, NFT contracts, or unknown counterparty contracts. It is especially valuable when GoPlus honeypot data and proxy upgradeability checks are both needed in a single call. Prefer it over manual block explorer review when operating in an autonomous agent pipeline that requires structured, machine-readable risk signals before executing trades or approvals.

## Known failure modes

- Invalid or malformed address format returns an error
- Address not found on Base or Solana returns empty or null risk data
- GoPlus API unavailability may cause partial results
- Rate limiting or payment failure (HTTP 402) if x402 payment not provided
- Newly deployed contracts may lack sufficient onchain data for full 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/onchain-risk)

## Output

Returns a JSON object containing the security audit results for the given address, including proxy pattern detection (whether the contract is upgradeable or delegates calls), GoPlus honeypot flags indicating whether selling is restricted or manipulated, and freeze authority status for Solana SPL mints that could allow a central party to freeze token accounts.

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