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

## Facts

- Endpoint: POST https://onchain-risk.agentdiet.dev/v1/workflows/defi-token-due-diligence?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-26ce3619
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_llqAWRCSIYLXVICS9RnW_

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

Example prompt: Can you run a security scan on the Base contract 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed and tell me if it has any honeypot flags, proxy patterns, or other red flags before I buy?

## When to prefer this

Use this endpoint when you need automated on-chain security due diligence on a specific Base EVM contract or Solana SPL mint address — especially before executing a DeFi trade, listing a token, or onboarding a new asset. It aggregates GoPlus honeypot intelligence and proxy/freeze-authority checks in a single call, making it faster than manually querying multiple security APIs. Prefer this over generic blockchain explorers when you need a structured, agent-consumable risk verdict rather than raw chain data.

## Known failure modes

- Invalid or malformed address returns a validation error
- Address not found on Base or Solana returns no data or empty risk object
- GoPlus API unavailability may cause partial or failed results
- Rate limiting or payment failure (HTTP 402) if USDC payment not settled
- Newly deployed contracts may have limited data available for 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/workflows/defi-token-due-diligence)

## Output

Returns a security assessment object containing GoPlus honeypot detection flags, proxy pattern analysis, freeze authority status (for Solana), and other on-chain risk indicators for the submitted contract or mint address.

## 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-26ce3619/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)
