# Base EVM & Solana Smart Contract Security Scanner

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

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

## Facts

- Endpoint: GET https://json-repair.agentdiet.dev/v1/proxy-upgrade-risk?utm_source=zero.xyz
- Price: $0.02/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: json-repair.agentdiet.dev
- Website: https://json-repair.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/json-repair-agentdiet-dev-base-evm-solana-smart-contract-security-9e5994d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dL2m_QtsvAD_mZ1dqUdsW

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 json-repair-agentdiet-dev-base-evm-solana-smart-contract-security-9e5994d0
```

Example prompt: Can you scan the Base contract 0x1234abcd...5678 for honeypot flags, proxy upgrade patterns, and any freeze authority risks before I interact with it?

## When to prefer this

Choose this endpoint when you need a fast, on-chain security pre-check on a Base EVM contract or Solana SPL Mint before interacting with it in a DeFi context — particularly when you want combined proxy-upgrade risk, honeypot detection via GoPlus, and freeze authority status in a single call. It is especially useful for agents automating token purchases, LP decisions, or investment due diligence where rug-pull or honeypot risk must be assessed programmatically without manual auditing.

## Known failure modes

- Invalid or malformed address returns an error indicating the address format is unrecognized
- Undeployed or non-existent contract address may return empty or null security data
- Solana address passed to EVM path or vice versa may produce incorrect results
- GoPlus API downtime may cause incomplete honeypot data
- Payment not included or insufficient (HTTP 402) blocks the response
- Rate limiting may occur under high request volume

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

## Output

Returns a structured JSON object with findings on proxy/upgrade patterns (e.g. transparent or UUPS proxy detection), GoPlus honeypot flags (buy/sell tax anomalies, blacklist functions), and freeze authority status for Solana SPL mints, along with an overall risk assessment for the provided 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/json-repair-agentdiet-dev-base-evm-solana-smart-contract-security-9e5994d0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from json-repair.agentdiet.dev](https://www.zero.xyz/host/json-repair.agentdiet.dev/llms.txt)
