io.github.renaat-s/pyresec-agent is an MCP server that AI code security audits via x402 USDC: $0.01 scans, $0.50 audits, $5 auto-fixes. SAST/SCA. Its tool list has not been published yet over stdio and http, requires no API key, and scores 53/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"pyresec": {
"url": "https://pyresec-agent-519576377065.us-central1.run.app/mcp"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
AI code security audits via x402 USDC: $0.01 scans, $0.50 audits, $5 auto-fixes. SAST/SCA.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
x402 SDK Security Advisory
### Impact A security vulnerability exists in outdated versions of the x402 SDK. This vulnerability does not affect users' private keys, smart contracts, or funds. The issue impacts resource servers accepting payments on Solana when the facilitator is running a vulnerable version of the x402 SDK. ### Who Should Take Action Facilitators that process payments on Solana must upgrade the x402 SDK to the patched versions listed below. Clients are not required to upgrade. Resource servers are n
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in security
Search-first MCP server for JavaScript reverse engineering: 736 tools across 36 domains.
Publish HTML, Markdown, PDF, or images as instant shareable links with expiry and passwords.
Deterministic security scanning, no model or API key, plus offline-verifiable proof a fix worked.
Routes each task to the few skills, MCP servers and tools that fit it.
MCP Security Weekly
Get CVE alerts and security updates for io.github.renaat-s/pyresec-agent and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Autonomous SAST/SCA security auditing via x402 USDC micropayments on Base. No subscriptions. No accounts. Just code in, findings out.
| Endpoint | URL |
|---|---|
| Landing | pyresec-agent-519576377065.us-central1.run.app |
| Swagger UI | /swagger |
| Health | /health |
| MCP Manifest | /mcp/manifest.json |
| OpenAPI Spec | /openapi.json |
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())
# 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: <payment-proof>" \
-d '{"code": "..."}'
- 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 }}
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"
}
}
}
| Tier | Price | Endpoint | Description | Model |
|---|---|---|---|---|
| Quick Scan | $0.01 | POST /v1/audit/quick-scan | Top 3 findings by severity, CWE IDs, line numbers | qwen3.8-27b |
| Deep Audit | $0.50 | POST /v1/audit/deep-repo | OWASP Top 10, SCA dependency scanning, logic flaws, gas optimization | qwen3.8-27b |
| Remediation | $5.00 | POST /v1/audit/remediate | Full patched code with change explanations and security notes | qwen3.8-27b |
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: