# Base EVM & Solana Smart Contract Security Scanner

> Base EVM & Solana Smart Contract Security Scanner is a paid API for AI agents from x402-audit.agentdiet.dev, paid per call via MPP, $0.02/call, status unknown (last checked 2026-10-21).

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

## Facts

- Endpoint: GET https://x402-audit.agentdiet.dev/v1/rug-check?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: x402-audit.agentdiet.dev
- Website: https://x402-audit.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/x402-audit-agentdiet-dev-base-evm-solana-smart-contract-security-8df9bf49
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-7PEZWjInkn0BQF1sOgiq

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 x402-audit-agentdiet-dev-base-evm-solana-smart-contract-security-8df9bf49
```

Example prompt: Can you run a rug-check security scan on the Base EVM contract 0x4200000000000000000000000000000000000006 and tell me if it has any honeypot flags, proxy patterns, or other red flags?

## When to prefer this

Choose this endpoint when you need a fast, per-contract security scan on Base EVM or Solana specifically, combining proxy pattern detection, GoPlus honeypot analysis, and freeze authority checks in a single call. Prefer this over manual block explorer inspection or general-purpose code auditors when you need a structured, agent-consumable risk signal before a DeFi trade or token interaction. It is well-suited for pre-trade safety workflows, bot integrations, and automated due diligence pipelines that support x402 micropayments.

## Known failure modes

- Invalid or malformed contract address returns an error — ensure 0x EVM addresses are properly checksummed and Solana addresses are valid Base58
- Unknown or undeployed contract address may return empty or inconclusive results
- Rate limiting or payment failure (HTTP 402) if x402 micropayment is not properly handled
- Network-specific address submitted to wrong chain context may yield inaccurate results
- GoPlus data unavailable for very new or obscure contracts may result in incomplete honeypot 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://x402-audit.agentdiet.dev/v1/rug-check)

## Output

Returns a structured security audit report including whether the contract exhibits proxy upgrade patterns, GoPlus honeypot detection flags, freeze authority status (for Solana SPL mints), and overall risk signals that indicate potential rug pull or scam behavior.

## 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/x402-audit-agentdiet-dev-base-evm-solana-smart-contract-security-8df9bf49/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-audit.agentdiet.dev](https://www.zero.xyz/host/x402-audit.agentdiet.dev/llms.txt)
