# Base EVM & Solana Smart Contract Security Scanner

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

Audits a Base EVM contract address or Solana SPL Mint for proxy patterns, honeypot flags (GoPlus), and freeze authority risk signals

## Facts

- Endpoint: GET https://workflows.agentdiet.dev/v1/onchain-risk?utm_source=zero.xyz
- Price: $0.01/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Provider: workflows.agentdiet.dev
- Website: https://workflows.agentdiet.dev
- Canonical page: https://www.zero.xyz/c/workflows-agentdiet-dev-base-evm-solana-smart-contract-security-scanner-22d660a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0V6GstD-zH03pS_lo1wxP

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 workflows-agentdiet-dev-base-evm-solana-smart-contract-security-scanner-22d660a5
```

Example prompt: Can you run a 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 quick, automated pre-trade or pre-interaction security check on a Base EVM contract or Solana SPL Mint address. It is especially useful for DeFi agents performing due diligence before swaps, liquidity provision, or token purchases. Prefer this over manual block explorer lookups when you need structured honeypot and proxy flags programmatically in a single call.

## Known failure modes

- Invalid or malformed address format returns an error
- Address not found on Base or Solana returns empty/null risk data
- GoPlus API rate-limit or upstream outage may cause degraded results
- Non-contract wallet addresses may return limited signal
- Payment not received (402) if x402 USDC micropayment is not completed

## 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://workflows.agentdiet.dev/v1/onchain-risk)

## Output

Returns a structured risk report for the queried address including: honeypot detection flags from GoPlus, proxy/upgradeability pattern detection, freeze authority status (for Solana SPL tokens), and an overall on-chain risk assessment. The response object contains security signals relevant to whether the contract or mint poses rug-pull, honeypot, or admin-key risks.

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