ScanPay — Code Security Oracle

io.github.Misterio070由 GitHub 帳號 Misterio070 發布v1.2.0更新於 Oct 29, 2026

Deterministic code security scan + tx preflight, paid in USDC via x402.

發布方自己的服務:scan.mx Email Diagnostics

已驗證Streamable HTTP可網頁執行網頁搜尋與抓取金融安全與監控

概覽

AI 產生的概覽

遠端 MCP 伺服器,可對 Python、JavaScript 與 TypeScript 程式碼做安全掃描、預演加密交易並稽核代幣,按次以 USDC 或 SOL 付費。

可以做什麼
  • 掃描程式碼:對 Python、JS 或 TS 片段做確定性 AST 檢查,回傳依嚴重度排序的問題與 PASS/WARN/BLOCK 結論,也可只取快速結論。
  • 預演交易:在簽名前模擬 EVM(Base、Ethereum)與 Solana 交易,辨識無限授權、盜幣合約、蜜罐與 MEV 風險。
  • 稽核代幣:檢查鏈上 EVM 位元碼與 Solana 鑄幣帳戶,找出跑路與蜜罐跡象。
  • 抓取網頁:以隱蔽請求標頭取得頁面並回傳清理後的 Markdown。
  • 計費與狀態:啟用預付工作階段憑證,查詢引擎健康狀態與付款設定。
適用情境
適合在代理程式產生或準備執行非自己撰寫的程式碼時,先做一次快速、確定性的漏洞檢查。也適合處理加密貨幣的代理程式,在簽名或交易前檢查交易與代幣。
執行需求
遠端 streamable HTTP 端點,未宣告帳號或 API 金鑰。呼叫透過 x402 以 Base USDC 或 SOL 按次付費,需要能進行 x402 付款且有餘額的錢包。README 另提供 npm CLI 套件,以 SCANPAY_URL 環境變數設定。
安裝前請注意
每次掃描、模擬、稽核、抓取或購買工作階段憑證都會從加密錢包扣款,工作階段憑證屬於預付購買。程式碼片段、網址與交易資料會傳送到第三方伺服器。抓取功能會刻意繞過反機器人保護,可能與網站條款衝突。偵測結果為啟發式,不能取代完整稽核。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 ScanPay — Code Security Oracle,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Misterio070%2Fscanpay/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "scanpay-code-security-oracle": {
      "type": "http",
      "url": "https://scanpay-ob3w.onrender.com/mcp"
    }
  }
}

README

scanpay-mcp-server

MCP (Model Context Protocol) server for AI agents to scan code for security vulnerabilities before execution.

Install

bash
npm install -g scanpay-mcp-server

Use with Claude Desktop

Add to claude_desktop_config.json:

json
{  "mcpServers": {    "scanpay": {      "command": "scanpay-mcp",      "env": {        "SCANPAY_URL": "https://scanpay-ob3w.onrender.com"      }    }  }}

How It Works

  1. AI agent generates code
  2. Agent calls scan_code tool via MCP
  3. ScanPay scans for 65 vulnerability patterns (Python + JS/TS)
  4. Agent receives results before executing code
  5. Payment via x402 v2 micropayments (0.0007 SOL ~$0.10/scan)

Supported Languages

  • Python (ast module) — 30+ vulnerability patterns
  • JavaScript/TypeScript (tree-sitter) — 23+ vulnerability patterns

Links

來源:npm/scanpay-mcp/README.md,提交 419b82c

工具

7

scan_code

Use before shipping or executing agent-generated code. Deterministic AST scan for Python, JavaScript and TypeScript with 65 rules (36 Python, 29 JS/TS) covering injection, hardcoded secrets, wallet key exfiltration, SSRF, infinite x402 payment loops and unsimulated Solana transactions. Returns findings with severity, deterministic patches, unified diffs and an execution verdict (PASS, WARN, BLOCK). Pay per call: 0.10 Base USDC or 0.0007 SOL over x402, no signup or API key.

輸入參數languagepayment_txsource_code必填session_tokenauto_remediate

scan_quick

Cheapest way to check a snippet before running it: one deterministic AST pass over Python, JavaScript or TypeScript, returning severity-ranked findings and a PASS/WARN/BLOCK verdict without patches or diffs. 65 rules, about 0.2 ms. Pay per call: 0.02 Base USDC or 0.00015 SOL over x402, no signup. Upgrade to scan_code for deterministic patches.

輸入參數languagepayment_txsource_code必填session_token

simulate_tx

Pre-flight transaction & drainer shield for AI agents. Simulates and inspects EVM (Base/Ethereum) and Solana transactions before signing or broadcasting. Detects unlimited approvals, known drainers, honeypots, MEV sandwich exposure (min_output=0), and unauthorized Solana authority takeovers. Returns execution verdict (ALLOW, WARN, BLOCK) and cryptographic oracle attestation. Price: $0.05 Base USDC or 0.00035 SOL.

輸入參數tx必填chain必填payment_txsession_token

audit_token

Live on-chain token & smart contract rug-pull / honeypot shield for Base, Ethereum, and Solana. Inspects live EVM bytecode (blacklist selectors, mutable tax fees, pause toggles, unverified proxies) and Solana SPL / Token-2022 mint accounts (active mint authority, freeze authority, Permanent Delegate wallet seizure, Transfer Hook honeypots) plus live DexScreener liquidity and 24h buy/sell ratios. Price: $0.05 Base USDC or 0.00035 SOL.

輸入參數chain必填payment_txsession_tokentoken_address必填

scrape_url

Anti-bot web access & scraper oracle for AI agents. Fetches web pages with stealth headers to bypass Cloudflare Turnstile, WAFs, and anti-bot challenges. Purifies HTML by removing scripts, stylesheets, tracking pixels, ads, and navigation boilerplate, returning clean, token-efficient Markdown ready for LLM consumption with cryptographic oracle attestation. Price: $0.02 Base USDC or 0.00015 SOL.

輸入參數url必填payment_txstrip_mediaextract_modesession_token

create_session_deposit

Activate a prepaid session voucher (0.006 SOL or 0.85 Base USDC for 10 operations). Eliminates per-request payment prompts and RPC latency in autonomous agent loops.

輸入參數deposit_tx必填payer_wallet

health_check

Check ScanPay engine health, available AST rules, and x402 payment configurations.

無需輸入參數。

版本歷史

2
  1. v1.2.0最新Oct 29, 2026
  2. v0.2.0Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Scan 整合