原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

PYRESEC - AI Code Security Auditing

作者:renaat-s版本 2.0.1i★ –i在云端运行
注册名称io.github.renaat-s/pyresec-agent

安装

概览

作者提供的说明(英文原文)

AI code security audits via x402 USDC: $0.01 scans, $0.50 audits, $5 auto-fixes. SAST/SCA.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在云端运行
  • 传输方式: Streamable HTTP
  • 分类: 网络安全

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

你需要

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

适用于网页版、桌面版和手机版 Claude:

  1. 打开 Settings → Connectors
  2. 点击 Add custom connector
  3. 粘贴下面的地址,然后点击 Add
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Add2https://…3
https://pyresec-agent-519576377065.us-central1.run.app/mcp

在终端中运行这条命令

claude mcp add --transport http pyresec-agent https://pyresec-agent-519576377065.us-central1.run.app/mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "pyresec-agent": {
      "url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "pyresec-agent": {
      "type": "http",
      "url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

ChatGPT 只能连接互联网上的服务器:

  1. 打开网页版 ChatGPT → Settings → Connectors (Apps)
  2. 点击 Create 或 Add(部分套餐需要先在 Advanced 中开启 Developer mode)
  3. 粘贴下面的地址,起个名字,然后保存
  4. 如果要求登录,请登录作者的服务
SettingsConnectors1+ Create2https://…3
https://pyresec-agent-519576377065.us-central1.run.app/mcp

菜单名称可能因套餐和版本不同而略有差异。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 renaat-s 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    端点有响应

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    使用 OAuth 登录

    尚未检查;我们会轮流检查各个端点

  • … 尚未检查

    工具描述中没有隐藏指令

    尚未检查;我们会在检查端点时读取工具列表

与“网络安全”中的其他服务器比较i

  • 星标数多于此分类中其他 993 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 993 个服务器的 52% 更新
  • 基础检查结果等于或优于此分类中其他 993 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

PYRESEC - AI Code Security Auditing 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.0.1)于41天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。

有什么可以替代它?

同一分类中有:ipdata MCP by usefulapi, MaxMind minFraud MCP by usefulapi, Lambda Labs MCP by usefulapi

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Look up location, network, company and threat data for IP addresses and ASNs in ipdata.

在云端运行今天更新
安装

Read GPU instances, types, images, filesystems and firewall rules; launch and terminate instances.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

Live Instance


Quick Start

Option 1: x402 Python Client (Recommended)
pip install x402
import x402

client = x402.Client(wallet_key="your-base-private-key") response = client.post( "https://pyresec-agent-519576377065.us-central1.run.app/v1/audit/quick-scan", json={"code": "def login(u,p): return db.query(f\"SELECT * FROM users WHERE name={u} AND pass={p}\")"} ) print(response.json())

Option 2: curl (Manual x402 Flow)
# Step 1: Send request (returns 402 with payment requirements)

curl -X POST https://pyresec-agent-519576377065.us-central1.run.app/v1/audit/quick-scan \ -H "Content-Type: application/json" \ -d '{"code": "def login(u,p): return db.query(f\"SELECT * FROM users WHERE name={u} AND pass={p}\")"}'

Step 2: Pay $0.01 USDC on Base using x402 protocol

Step 3: Resubmit with X-PAYMENT header

curl -X POST https://pyresec-agent-519576377065.us-central1.run.app/v1/audit/quick-scan \ -H "Content-Type: application/json" \ -H "X-PAYMENT: " \ -d '{"code": "..."}'

Option 3: GitHub Action (CI/CD)
- name: PYRESEC Security Scan

uses: nanoclone-ltd/pyresec-scan-action@main with: code-path: ./src tier: quick-scan x402-wallet-key: ${{ secrets.X402_WALLET_KEY }}

Option 4: MCP-Compatible Agent (Claude, Cursor, etc.)

PYRESEC is a registered MCP tool. Any MCP-compatible client discovers it automatically:

{

"mcpServers": { "pyresec": { "url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp" } } }


Service Tiers

TierPriceEndpointDescriptionModel
Quick Scan$0.01POST /v1/audit/quick-scanTop 3 findings by severity, CWE IDs, line numbersqwen3.8-27b
Deep Audit$0.50POST /v1/audit/deep-repoOWASP Top 10, SCA dependency scanning, logic flaws, gas optimizationqwen3.8-27b
Remediation$5.00POST /v1/audit/remediateFull patched code with change explanations and security notesqwen3.8-27b

x402 Payment Flow

PYRESEC uses the x402 protocol for permissionless micropayments on Base. No accounts, no API keys, no subscriptions.

┌──────────┐     POST /v1/audit/quick-scan     ┌──────────┐

│ Client │ ───────────────────────────────▶ │ PYRESEC │ │ (x402) │ ◀──── 402 Payment Required ───── │ Agent │ │ │ { amount, network, to } │ │ │ │ │ │ │ │ ──── X-PAYMENT (proof) ─────────▶ │ │ │ │ ◀──── 200 + Scan Results ──────── │ │ └──────────┘ └──────────┘

How it works:

  1. Client sends a POST request to any audit endpoint
  2. PYRESEC returns 402 Payment Required with payment details (amount, recipient address, network)
  3. Client signs and submits a USDC transfer on Base mainnet
  4. Client resubmits the original request with the X-PAYMENT header containing the payment proof
  5. PYRESEC verifies the payment on-chain and returns the scan results

No wallet? Use the x402 Python SDK or any x402-compatible client.


Architecture

                         ┌─────────────────────────────────┐

│ Client Layer │ │ x402 SDK / curl / MCP Client │ └──────────────┬──────────────────┘ │ ┌─────────▼─────────┐ │ FastAPI Server │ │ (Cloud Run) │ │ │ │ ┌──────────────┐ │ │ │ x402 Payment │ │ │ │ Middleware │ │ │ └──────┬───────┘ │ └─────────┼──────────┘ │ ┌───────────────────┼───────────────────┐ │ │ │ ┌─────────▼─────────┐ ┌───────▼───────┐ ┌───────▼───────┐ │ Agent Controller │ │ Population │ │ Wallet │ │ (SAST + LLM) │ │ Controller │ │ Interface │ └─────────┬─────────┘ └───────────────┘ └───────────────┘ │ ┌─────────▼─────────┐ │ Groq LLM │ │ (qwen models) │ └─────────┬─────────┘ │ ┌─────────▼─────────┐ │ Security Findings │ │ JSON Response │ └───────────────────┘


Supported Vulnerability Types

#TypeCWESeverity
1SQL InjectionCWE-89HIGH
2Cross-Site Scripting (XSS)CWE-79HIGH
3Command InjectionCWE-78CRITICAL
4Path TraversalCWE-22MEDIUM
5Hardcoded SecretsCWE-798CRITICAL
6Weak CryptographyCWE-327MEDIUM
7SSRFCWE-918HIGH
8Insecure DeserializationCWE-502HIGH
9Authentication BypassCWE-287CRITICAL
10Improper Input ValidationCWE-20MEDIUM

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
ToolDescriptionCost
quick_scanFast SAST scan, top 3 findings by severity with CWE IDs$0.01 USDC
deep_auditFull OWASP Top 10, SCA, logic flaws, gas optimization$0.50 USDC
remediate_codeAuto-patched code with change explanations, ready for PR$5.00 USDC
Agent Discovery Flow
1. Agent queries MCP Registry for "security audit" tools
  1. PYRESEC appears in results with tool schemas
  2. Agent calls quick_scan with source code
  3. PYRESEC returns 402 with x402 payment requirements
  4. Agent's x402 wallet pays USDC on Base
  5. Agent resubmits with payment proof
  6. PYRESEC returns findings as structured JSON

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
docker build -t pyresec-agent .

docker run -p 8080:8080 --env-file .env pyresec-agent

Google Cloud Run
gcloud run deploy pyresec-agent \

--source . \ --platform managed \ --region us-central1 \ --allow-unauthenticated \ --set-env-vars "CDP_WALLET_SECRET=$CDP_WALLET_SECRET,GROQ_API_KEY=$GROQ_API_KEY"


Company

NanoClone Life Sciences Ltd. (UK) Website: nanoclonesystems.com

License

Proprietary. See LICENSE for details.

问 PopNx