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

Audits Base EVM (0x) contracts or Solana SPL Mint addresses for proxy patterns, GoPlus honeypot flags, and freeze authority risks.

## Facts

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

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

Example prompt: Can you run a security audit on the Base contract 0x4d224452801ACEd8B2F0aebE155379bb5D594381 and tell me if it's flagged as a honeypot or uses a proxy pattern?

## When to prefer this

Choose this endpoint when you need fast, programmatic security screening of a specific Base EVM contract or Solana SPL mint before executing a DeFi trade, investment, or token interaction. It is especially valuable for agents that need to automate pre-trade safety checks at $0.01 per scan, combining GoPlus honeypot detection with proxy pattern and freeze authority analysis in a single call. Prefer this over manual block explorer review or general-purpose LLM reasoning when you need structured, machine-readable risk signals.

## Known failure modes

- Invalid or malformed address returns an error — address must be a valid 0x EVM address or Base58 Solana mint
- Unsupported chain or contract type not on Base EVM or Solana SPL returns an error
- GoPlus API upstream timeout or unavailability may cause delayed or failed response
- Payment failure (HTTP 402) if x402 USDC micropayment is not properly handled
- Unknown or undeployed contract address may return empty or inconclusive risk data

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

## Output

Returns a JSON object containing security risk indicators for the queried contract or mint address, including GoPlus honeypot detection flags, proxy pattern identification, freeze authority status (for Solana SPL mints), and an overall 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-dbd6fe60/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)
