
PYRESEC - AI Code Security Auditing
io.github.renaat-sPublished by GitHub account renaat-sv2.0.1Updated Oct 24, 2026
AI code security audits via x402 USDC: $0.01 scans, $0.50 audits, $5 auto-fixes. SAST/SCA.
Overview
Remote MCP server that runs AI security scans on submitted source code and returns findings, with each call paid in USDC via x402 micropayments.
- What you can do
- Scan code quickly for top findings by severity with CWE IDs and line numbers
- Run a deeper audit covering OWASP Top 10, dependency (SCA) scanning and logic flaws
- Generate patched code with change explanations and security notes
- Return results as structured JSON after an on-chain payment is verified
- When to use it
- Useful when you want an assistant to check a snippet or repository for common vulnerability classes such as SQL injection, XSS, command injection or hardcoded secrets, and you are willing to pay per scan in USDC rather than set up an account or subscription.
- Requirements
- A remote endpoint only; no account or API key is needed. Each call requires an x402 payment in USDC on Base mainnet, so you need an x402-compatible client or wallet and a funded Base wallet key. The README also shows a GitHub Action and Docker/Cloud Run deployment options.
Installation
In SourceWeft
- Open PYRESEC - AI Code Security Auditing in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.renaat-s%2Fpyresec-agent/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config.
{
"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.
Source: README.md at commit 6531e10
Tools
0Version history
2- v2.0.1LatestSep 27, 2026
- v2.0.0Sep 16, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listedRequired15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts