# Base EVM & Solana Smart Contract Security Scanner

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

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

## Facts

- Endpoint: GET https://prompt-guard.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: prompt-guard.agentdiet.dev
- Website: https://prompt-guard.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/prompt-guard-agentdiet-dev-base-evm-solana-smart-contract-security-79372891
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AhT0Et258iHuOWOdh--ca

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 prompt-guard-agentdiet-dev-base-evm-solana-smart-contract-security-79372891
```

Example prompt: Can you scan this Base contract 0x1234567890abcdef1234567890abcdef12345678 for proxy upgrade risks and honeypot flags before I interact with it?

## When to prefer this

Use this endpoint when you need quick, automated security screening of a specific Base EVM contract or Solana SPL mint before an agent or user interacts with it financially — especially when checking for honeypot traps, dangerous proxy upgrade patterns, or freeze authority on token mints. Prefer this over manual audits or generic blockchain explorers when you need structured, machine-readable risk signals at $0.02 per call for agent workflows.

## Known failure modes

- Invalid or malformed address returns an error response
- Unrecognized address format (neither valid 0x EVM nor Base58 Solana) may return empty or error result
- Contract not deployed on Base chain may return no data
- Rate limiting or payment failure (HTTP 402) if USDC micropayment not provided
- Network timeout if on-chain data is slow to fetch

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

## Output

Returns a JSON object containing security analysis results including proxy pattern detection (e.g. transparent, UUPS, beacon proxy), GoPlus honeypot flags indicating whether the contract restricts selling, and freeze authority status for Solana SPL mints, along with an overall upgrade/rug 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/prompt-guard-agentdiet-dev-base-evm-solana-smart-contract-security-79372891/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prompt-guard.agentdiet.dev](https://www.zero.xyz/host/prompt-guard.agentdiet.dev/llms.txt)
