# Solana Program Risk Scanner

> Solana Program Risk Scanner is a paid API for AI agents from x402-market-intel-mcp.mtree.workers.dev, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-14).

Scans a Solana on-chain program for security vulnerabilities and risk signals, returning a structured risk assessment.

## Facts

- Endpoint: POST https://x402-market-intel-mcp.mtree.workers.dev/v1/x402/solana_program_risk_scan
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/solana-program-risk-scanner-5532caf3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PodqYKeXPlOEWi83VzRq2

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 solana-program-risk-scanner-5532caf3 -d '<json body>'
```

Example prompt: Can you run a security risk scan on Solana program address 9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin and tell me if there are any red flags or vulnerabilities I should know about before interacting with it?

## When to prefer this

Use this endpoint when you need automated, pay-per-call security intelligence on a specific Solana program before interacting with it, investing, or integrating it — especially in DeFi, trading bot, or agent-wallet contexts where on-chain program safety is critical. Prefer this over manual audits when speed and machine-readability matter.

## Known failure modes

- Invalid or malformed Solana program address returns 400 error
- Program address not found on-chain returns 404 or empty risk result
- Payment not received or insufficient USDC results in 402 Payment Required
- Rate limiting or worker timeout on large programs may cause 503
- Newly deployed programs with no on-chain history may return minimal signals

## How this service works

Scans Solana programs for security and risk signals.

## Output

A structured report of security and risk signals found in the specified Solana program, likely including risk score, flagged behaviors, vulnerability categories, upgrade authority status, and other on-chain security indicators relevant to safely interacting with or investing near the program.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "program_id"
     ],
     "properties": {
      "program_id": {
       "type": "string"
      },
      "solana_rpc_url": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/solana-program-risk-scanner-5532caf3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-market-intel-mcp.mtree.workers.dev](https://www.zero.xyz/host/x402-market-intel-mcp.mtree.workers.dev/llms.txt)
