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

## Facts

- Endpoint: GET https://prompt-guard.agentdiet.dev/v1/contract-scanner?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-afbb1735
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jcK2bVZJeZWViKUaB6pV6

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-afbb1735
```

Example prompt: Can you scan the Base contract 0x1234abcd...5678 for honeypot traps, proxy patterns, and other security red flags before I interact with it?

## When to prefer this

Use this endpoint when you need a fast, automated pre-transaction security scan of a specific Base EVM contract or Solana SPL Mint — particularly when checking for honeypot traps, proxy upgrade patterns, or freeze authority before a DeFi swap, LP deposit, or token purchase. Prefer this over manual block explorer review when operating in an agentic workflow that requires programmatic risk signals.

## Known failure modes

- Invalid or malformed address returns an error — ensure 0x addresses are valid EVM hex and Solana addresses are valid Base58
- Address not found on Base or Solana results in empty or null scan data
- GoPlus API unavailability may cause degraded honeypot detection results
- Rate limiting or payment failure (402) if x402 USDC micropayment is not completed
- Non-contract wallet addresses may return limited or no proxy/honeypot data

## 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/contract-scanner)

## Output

Returns a structured security report for the given contract or SPL mint address, including whether the contract uses proxy upgrade patterns, whether GoPlus has flagged it as a honeypot, and whether freeze authority is enabled — allowing agents or users to assess on-chain risk before transacting.

## 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-afbb1735/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)
