# Base EVM & Solana Smart Contract Security Scanner

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

## Facts

- Endpoint: GET https://agentdiet.dev/v1/risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: agentdiet.dev
- Website: https://agentdiet.dev
- Canonical page: https://www.zero.xyz/c/agentdiet-dev-base-evm-solana-smart-contract-security-scanner-8ad7a966
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8z3zGPFgkGcTjJoQrMvsV

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 agentdiet-dev-base-evm-solana-smart-contract-security-scanner-8ad7a966
```

Example prompt: Can you scan the Base contract 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed for honeypot flags and proxy patterns before I invest in it?

## When to prefer this

Choose this endpoint when you need a fast, pre-trade security check on a Base EVM contract or Solana SPL mint and want honeypot detection, proxy pattern analysis, and freeze authority checks in a single call. Prefer this over manual block explorer checks when operating in an autonomous agent workflow that needs programmatic risk signals before executing a swap or investment. It is particularly useful when GoPlus honeypot data and on-chain proxy detection are both required simultaneously.

## Known failure modes

- Invalid or malformed address format — returns error if address is not a valid 0x EVM or Base58 Solana address
- Address not found on supported chain — returns empty or null risk data
- GoPlus API unavailability — upstream data source may be temporarily unreachable
- Rate limiting or payment failure — HTTP 402 if x402 payment is not resolved
- Unverified contract — if contract source is not verified on-chain, some checks may be incomplete

## 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://agentdiet.dev/v1/risk)

## Output

Returns a structured risk report for the given contract or mint address, including GoPlus honeypot flags, detected proxy patterns (indicating upgradeability risk), freeze authority status (for Solana SPL mints), and an overall security 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/agentdiet-dev-base-evm-solana-smart-contract-security-scanner-8ad7a966/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdiet.dev](https://www.zero.xyz/host/agentdiet.dev/llms.txt)
