# AgentDiet Solidity Audit — On-Chain Risk Scanner

> AgentDiet Solidity Audit — On-Chain Risk Scanner is a paid API for AI agents from agentdiet.dev, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-10-20).

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

## Facts

- Endpoint: GET https://agentdiet.dev/v1/solidity-audit?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdiet-solidity-audit-on-chain-risk-scanner-85aad797
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8u4ZFLzqRYIIf90gSa0sw

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-solidity-audit-on-chain-risk-scanner-85aad797
```

Example prompt: Can you check if this Base EVM contract 0x1234...abcd is a honeypot or has any proxy patterns or suspicious flags on it?

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.01 USDC) automated security scan of a Base EVM contract or Solana SPL Mint before interacting with it — especially when you need GoPlus honeypot detection, proxy pattern analysis, and freeze authority checks in a single call without setting up your own GoPlus integration.

## Known failure modes

- Invalid or unrecognized contract address returns an error or empty result
- Address not deployed on Base EVM or not a valid Solana SPL Mint returns failure
- GoPlus API upstream unavailability may cause degraded or missing honeypot data
- Malformed address format (missing 0x prefix for EVM, wrong length for Solana) causes validation error
- Rate limiting or payment failure on x402 protocol returns 402 Payment Required

## 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/solidity-audit)

## Output

Returns a structured on-chain risk report including proxy pattern detection results, GoPlus honeypot flags (yes/no with details), and freeze authority status for the given EVM or Solana contract 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/agentdiet-solidity-audit-on-chain-risk-scanner-85aad797/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)
