# Base EVM & Solana Smart Contract Security Scanner

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

Audits a Base EVM (0x) contract or Solana SPL Mint address for rug-pull risk signals including proxy patterns, GoPlus honeypot flags, and freeze authority.

## Facts

- Endpoint: POST https://defi-yield.agentdiet.dev/v1/rug-check?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-11-21
- Activations on Zero: 0
- Provider: defi-yield.agentdiet.dev
- Website: https://defi-yield.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/defi-yield-agentdiet-dev-base-evm-solana-smart-contract-security-d767126c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XnxJrQ5VVLy9jjJUoOANL

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 defi-yield-agentdiet-dev-base-evm-solana-smart-contract-security-d767126c -d '<json body>'
```

Example prompt: Can you run a rug-check on the Base 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, automated pre-investment or pre-listing security screen for Base EVM contracts or Solana SPL Mints, especially when you want GoPlus honeypot data and freeze-authority checks combined in a single call. Prefer this over manual block explorer review when building DeFi agent workflows that need programmatic risk scoring before token swaps, LP provisioning, or listing decisions.

## Known failure modes

- Invalid or malformed address format returns an error indicating address is not a valid 0x or Base58 address
- Address not found on-chain may return empty or null risk fields
- GoPlus API unavailability may cause partial results or timeout
- Unverified contracts may have limited analysis depth
- Rate limiting or payment failure ($0.01 per call) may block access

## 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://defi-yield.agentdiet.dev/v1/rug-check)

## Output

Returns a structured JSON object containing risk signals for the submitted contract or mint address, including honeypot detection results from GoPlus, proxy/upgradability pattern flags, freeze authority status (for Solana), and an overall risk assessment summary.

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