# Base EVM & Solana Smart Contract Security Scanner

> Base EVM & Solana Smart Contract Security Scanner is a paid API for AI agents from github-audit.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, GoPlus honeypot flags, and freeze authority risks

## Facts

- Endpoint: POST https://github-audit.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: github-audit.agentdiet.dev
- Website: https://github-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/github-audit-agentdiet-dev-base-evm-solana-smart-contract-security-c12334c2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KZDubhAdRByMJvQ3gcM8t

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 github-audit-agentdiet-dev-base-evm-solana-smart-contract-security-c12334c2 -d '<json body>'
```

Example prompt: Can you run a security audit on this Base contract — 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 — and tell me if it's a honeypot, has any proxy patterns, or other red flags I should know about before buying?

## When to prefer this

Choose this endpoint when you need a combined EVM + Solana on-chain security scan that checks for honeypot patterns, proxy upgradability, and freeze authority in a single call — especially useful for DeFi agents, token vetting bots, or pre-trade safety checks on Base or Solana. Prefer this over generic block explorer lookups when you need interpreted risk signals rather than raw chain data.

## Known failure modes

- Invalid or malformed address returns an error indicating the address could not be parsed
- Unknown or undeployed contract address may return empty or null risk data
- Solana address passed to EVM scan path (or vice versa) may produce incorrect results
- GoPlus API rate limits or downtime may cause delayed or failed responses
- Very new contracts with no on-chain history may lack sufficient 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://github-audit.agentdiet.dev/v1/onchain-risk)

## Output

Returns a structured security report for the given contract or mint address, including: proxy pattern detection (upgradeable/transparent/UUPS), GoPlus honeypot analysis flags (buy/sell tax anomalies, blacklist functions, hidden owner mints), freeze authority status for Solana SPL mints, 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/github-audit-agentdiet-dev-base-evm-solana-smart-contract-security-c12334c2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from github-audit.agentdiet.dev](https://www.zero.xyz/host/github-audit.agentdiet.dev/llms.txt)
