
PYRESEC - AI Code Security Auditing
io.github.renaat-s由 GitHub 帳號 renaat-s 發布v2.0.1更新於 Oct 24, 2026
AI code security audits via x402 USDC: $0.01 scans, $0.50 audits, $5 auto-fixes. SAST/SCA.
概覽
遠端 MCP 伺服器,對送出的原始碼執行 AI 安全掃描並回傳漏洞結果,每次呼叫透過 x402 以 USDC 微支付付費。
- 可以做什麼
- 快速掃描程式碼,依嚴重程度回傳前幾項發現,含 CWE 編號與行號
- 執行更深入的稽核,涵蓋 OWASP Top 10、相依套件(SCA)掃描與邏輯缺陷
- 產生修補後的程式碼,並附上變更說明與安全提醒
- 在鏈上付款驗證通過後以結構化 JSON 回傳結果
- 適用情境
- 當你希望助理檢查程式碼片段或儲存庫中的常見漏洞類型(例如 SQL 注入、XSS、指令注入、硬編碼金鑰),且願意按次以 USDC 付費、不想註冊帳號或訂閱時適用。
- 執行需求
- 只需遠端端點,不需帳號或 API 金鑰。每次呼叫需在 Base 主網以 USDC 完成 x402 付款,因此需要相容 x402 的用戶端或錢包,以及有餘額的 Base 錢包金鑰。README 另提供 GitHub Action 與 Docker/Cloud Run 部署方式。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 PYRESEC - AI Code Security Auditing,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.renaat-s%2Fpyresec-agent/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"pyresec-ai-code-security-auditing": {
"type": "http",
"url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
}
}
}README
PYRESEC — AI Code Security Engine
Autonomous SAST/SCA security auditing via x402 USDC micropayments on Base. No subscriptions. No accounts. Just code in, findings out.
[Network: Base] [Protocol: x402] [MCP Compatible] [License: Proprietary]
Live Instance
Quick Start
Option 1: x402 Python Client (Recommended)
Option 2: curl (Manual x402 Flow)
Option 3: GitHub Action (CI/CD)
Option 4: MCP-Compatible Agent (Claude, Cursor, etc.)
PYRESEC is a registered MCP tool. Any MCP-compatible client discovers it automatically:
Service Tiers
x402 Payment Flow
PYRESEC uses the x402 protocol for permissionless micropayments on Base. No accounts, no API keys, no subscriptions.
How it works:
- Client sends a POST request to any audit endpoint
- PYRESEC returns
402 Payment Requiredwith payment details (amount, recipient address, network) - Client signs and submits a USDC transfer on Base mainnet
- Client resubmits the original request with the
X-PAYMENTheader containing the payment proof - PYRESEC verifies the payment on-chain and returns the scan results
No wallet? Use the x402 Python SDK or any x402-compatible client.
Architecture
Supported Vulnerability Types
For AI Agents (MCP Integration)
PYRESEC is discoverable by any MCP-compatible agent. When an agent needs to audit code, it can find PYRESEC automatically through:
- MCP Registry:
registry.modelcontextprotocol.io - Smithery.ai:
smithery.ai/server/@renaat-s/pyresec-agent - Direct manifest:
/mcp/manifest.json
Tool Definitions
Agent Discovery Flow
Self-Sustaining Agent
PYRESEC runs as an autonomous agent on Base Mainnet:
- Heartbeat every 30 min — checks balance, reports health
- Death — shuts down if balance < $0.05
- Replication — sends 50% surplus to dev wallet when balance > $20
- Kill switch — admin can halt all instances remotely
Deployment
Docker
Google Cloud Run
Company
NanoClone Life Sciences Ltd. (UK) Website: nanoclonesystems.com
License
Proprietary. See LICENSE for details.
來源:README.md,提交 6531e10
工具
0版本歷史
2- v2.0.1最新Sep 27, 2026
- v2.0.0Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分