io.github.ak10082247-max/stealthguard-402·Crypto

StealthGuard 402

Stealth web extraction, Polymarket alpha, and on-chain pre-trade gating via x402 on Base.

Stars
0
Version
1.0.0
License
—
Review
Passed
Language
Python
Last commit
1h ago
Forks
0
Open issues
0
Registry update
Oct 15, 2026

Connect

remote
Terminal
$claude mcp add --transport http stealthguard-402 https://stealthguard-402.onrender.com/mcp

Headers

Nothing to configure — it works as is.

Security review

Review passed

Reviewed 9m ago.

tools
19 tools scanned
metadata
scanned

No findings.

Tools

19
  • stealth_scrape_and_sanitize

    Bypasses Cloudflare Turnstile/anti-bot via Scrapling StealthyFetcher, converts DOM to token-compressed LLM Markdown, and runs CanaryGuard deterministic prompt-injection firewall. Price: $0.005 USDC on Base.

  • polymarket_alpha_divergence

    Scans Polymarket active markets and live CLOB orderbooks for volume spikes and smart-money spread divergence, scrapes resolution URLs, and sanitizes resolution text. Price: $0.008 USDC on Base.

  • pre_trade_agent_gate

    Deterministic TRUST/BLOCK pre-trade gate combining on-chain DexScreener liquidity and Base/Solana RPC honeypot inspection with CanaryGuard metadata injection scrubbing. Price: $0.005 USDC on Base.

  • health_and_sample

    Free uptime probe and sample payload discovery tool for MCP registries and autonomous routers.

  • polymarket_top_whales

    Top 10 Polymarket whale orderbook imbalances and CLOB skew right now, pre-sanitized with CanaryGuard. Price: $0.003 USDC on Base.

  • polymarket_crypto_odds

    Sanitized BTC/ETH/SOL Polymarket odds, probability spreads, and liquidity depth in basis points. Price: $0.002 USDC on Base.

  • polymarket_macro_fed

    Federal Reserve interest rate decisions & macro prediction market odds + sanitized resolution criteria. Price: $0.002 USDC on Base.

  • base_trending_tokens

    Top trending Base DEX pairs (DexScreener) pre-screened for honeypots, malicious taxes, and prompt injections. Price: $0.003 USDC on Base.

  • base_new_pools

    Newly created Base liquidity pools (last 2 hours) with automated TRUST/BLOCK verdict. Price: $0.003 USDC on Base.

  • solana_trending_safe

    Top trending Solana tokens screened via DexScreener + CanaryGuard token metadata injection scrubber. Price: $0.003 USDC on Base.

  • defi_yield_radar

    Live DeFiLlama top stablecoin & ETH APY yields on Base and Arbitrum, pre-sanitized for AI execution. Price: $0.002 USDC on Base.

  • crypto_sentiment_pulse

    Real-time crypto Fear & Greed index + funding rate skew + injection-free top news headlines. Price: $0.002 USDC on Base.

  • hackernews_ai_digest

    Top 15 HackerNews AI and autonomous agent stories converted to clean, injection-free LLM Markdown. Price: $0.002 USDC on Base.

  • github_trending_agents

    Top trending GitHub AI agent & MCP tool repositories today with sanitized descriptions and README summaries. Price: $0.002 USDC on Base.

  • arxiv_agent_papers

    Latest ArXiv AI agent security and autonomous reasoning papers, sanitized and summarized for context windows. Price: $0.002 USDC on Base.

  • security_prompt_firewall

    Ultra-fast $0.001 deterministic prompt-injection & wallet-drainer scrubber for raw agent context windows. Price: $0.001 USDC on Base.

  • security_url_threat_check

    Instant URL phishing, unicode homograph, redirect loop, and hidden-DOM prompt injection audit. Price: $0.002 USDC on Base.

  • security_x402_endpoint_verifier

    Audits any target x402 endpoint's 402 challenge, payTo wallet, amount, and schema for hijack/overcharge risks. Price: $0.002 USDC on Base.

  • security_evm_calldata_firewall

    Decodes and inspects EVM transaction calldata / ABI payloads for unauthorized approvals, permit signatures, or drainer selectors. Price: $0.002 USDC on Base.

StealthGuard-402 🛡️⚡

High-margin, production-ready revenue service fusing CanaryGuard (io.github.ak10082247-max/canaryguard-402) with Scrapling anti-bot stealth extraction and Polymarket/on-chain prediction alpha, monetized concurrently via Direct x402 on Base AND Apify Pay-Per-Event (PPE).


🚀 Dual-Rail Monetization Architecture

                    ┌────────────────────────────────────────┐
                    │            StealthGuard-402            │
                    │   CanaryGuard Deterministic Firewall   │
                    └───────────────────┬────────────────────┘
                                        │
             ┌──────────────────────────┴──────────────────────────┐
             ▼                                                     ▼
┌─────────────────────────┐                             ┌─────────────────────────┐
│     Rail A: Direct      │                             │     Rail B: Apify PPE   │
│        x402 Base        │                             │    Pay-Per-Event Actor  │
├─────────────────────────┤                             ├─────────────────────────┤
│ • Base USDC (eip155:8453│                             │ • Apify Fiat Billing    │
│ • HTTP 402 Challenges   │                             │ • Apify Direct x402     │
│ • Bazaar Auto-Discovery │                             │ • Skyfire AI Network    │
│ • Render / Railway      │                             │ • mcp.apify.com bridge  │
└─────────────────────────┘                             └─────────────────────────┘

🛠️ Tool Catalog (HTTP REST & MCP)

Every paid tool runs scraped content and external metadata through CanaryGuard's deterministic prompt-injection firewall, returning a cryptographically verifiable canaryguard_receipt (risk_score, threats_neutralized, safe_to_persist: boolean).

Tool NamePrice (x402 Base)Apify PPE EventsMethodDescription
stealth_scrape_and_sanitize$0.02 USDC (20,000 units)1 event ($0.02)POST /v1/stealth_scrape_and_sanitizeBypasses Cloudflare Turnstile & anti-bot shields via Scrapling StealthyFetcher, parses DOM into token-compressed LLM Markdown, and strips prompt injection / wallet-drain attacks before memory persistence.
polymarket_alpha_divergence$0.05 USDC (50,000 units)2 events ($0.025 × 2 = $0.05)POST /v1/polymarket_alpha_divergenceScans Polymarket Gamma + CLOB orderbooks for volume spikes and smart-money spread divergence, scrapes market resolution source URLs via Scrapling, and sanitizes resolution rules to flag fake-news or prompt-injection manipulation.
pre_trade_agent_gate$0.03 USDC (30,000 units)1 event ($0.03)POST /v1/pre_trade_agent_gateUpgrades CanaryGuard token inspection by combining DexScreener liquidity analysis & Base/Solana RPC honeypot checks with CanaryGuard website/metadata inspection. Returns deterministic TRUST / BLOCK verdict.
health_and_sample$0.00 (Free)0 eventsGET /v1/health_and_sampleZero-barrier probe endpoint returning live server status, payment recipient address, and representative sample payloads. Ensures 100% uptime score across MCP registries (Glama, Smithery, x402Atlas, Apify).

🔒 CanaryGuard Receipt Schema

All paid responses include a tamper-evident inspection receipt:

{
  "canaryguard_receipt": {
    "status": "clean",
    "risk_score": 0.01,
    "injection_detected": false,
    "threats_neutralized": [],
    "sanitized_content": "# Clean Markdown Output",
    "safe_to_persist": true,
    "safety_receipt": "canary-v1-verified",
    "crypto_addresses": [],
    "inspection": {
      "method": "deterministic-rules",
      "guaranteed_safe": false,
      "risk_score_semantics": "heuristic severity, not a probability"
    }
  }
}

⚡ Integration & Discovery

1. Model Context Protocol (MCP) Streamable HTTP

  • URL: POST https://stealthguard-402.onrender.com/mcp
  • Protocol: JSON-RPC 2.0 (Streamable HTTP)
  • Tool Listing: tools/list returns Glama TDQS-compliant tool schemas with readOnlyHint: true and explicit pricing tags.

2. x402 Discovery & Bazaar Auto-Indexing

Facilitators querying /.well-known/x402 or evaluating PAYMENT-REQUIRED headers automatically receive the @x402/extensions/bazaar declaration:

  • Manifest: https://stealthguard-402.onrender.com/.well-known/x402.json
  • OpenAPI: https://stealthguard-402.onrender.com/openapi.json
  • LLMs Text: https://stealthguard-402.onrender.com/llms.txt

3. Apify Pay-Per-Event (PPE) Mode

The actor entrypoint apify_main.py is configured with .actor/actor.json and .actor/pay_per_event.json:

# Run locally with Apify SDK
python apify_main.py

🧪 Verification & Test Suite

The comprehensive pytest test suite verifies:

  • 402 challenge formatting with Base USDC parameters
  • Bazaar discovery extension schema compliance
  • EIP-712 TransferWithAuthorization cryptographic signature recovery
  • 24-hour LRU signature replay attack prevention (HTTP 409)
  • All 4 tool execution pipelines
  • Glama TDQS schema compliance for MCP Streamable HTTP
  • Apify PPE charging events and dataset push flows
pytest -v
tests/test_api_endpoints.py::test_api_health_and_stats PASSED
tests/test_api_endpoints.py::test_api_x402_manifest_and_discovery PASSED
tests/test_api_endpoints.py::test_api_unpaid_endpoints_return_402 PASSED
tests/test_api_endpoints.py::test_api_mcp_streamable_http PASSED
tests/test_apify_ppe.py::test_apify_ppe_stealth_scrape_charge_and_push PASSED
tests/test_apify_ppe.py::test_apify_ppe_polymarket_charge_and_push PASSED
tests/test_apify_ppe.py::test_apify_ppe_pre_trade_gate_charge_and_push PASSED
tests/test_mcp.py::test_mcp_initialize PASSED
tests/test_mcp.py::test_mcp_tools_list_glama_tdqs PASSED
tests/test_mcp.py::test_mcp_tools_call_free_discovery PASSED
tests/test_mcp.py::test_mcp_tools_call_unpaid_returns_402 PASSED
tests/test_sanitizer.py::test_clean_content PASSED
tests/test_sanitizer.py::test_instruction_override_strict PASSED
tests/test_sanitizer.py::test_role_delimiter_override PASSED
tests/test_sanitizer.py::test_wallet_drainer_command PASSED
tests/test_sanitizer.py::test_hidden_html_removal PASSED
tests/test_sanitizer.py::test_active_html_script_removal PASSED
tests/test_tools.py::test_health_and_sample_tool PASSED
tests/test_tools.py::test_stealth_scrape_and_sanitize_tool PASSED
tests/test_tools.py::test_polymarket_alpha_divergence_tool PASSED
tests/test_tools.py::test_pre_trade_agent_gate_usdc_trust PASSED
tests/test_tools.py::test_pre_trade_agent_gate_invalid_address_block PASSED
tests/test_x402_challenge.py::test_build_402_challenge_headers_and_body PASSED
tests/test_x402_challenge.py::test_unpaid_verification_returns_402 PASSED
tests/test_x402_challenge.py::test_valid_eip712_payment_verification_and_replay_protection PASSED

======================= 25 passed in 6.92s ========================

⚡ Zero-Config Stdio Client Packages (Cursor / Claude / Windsurf)

Most AI developer tools and desktop agent environments connect to MCP servers via stdio. StealthGuard provides zero-config proxy wrappers for Node and Python that automatically route stdio calls to the live production server:

Option A: Node / NPX

npx -y stealthguard-mcp

Claude Desktop Configuration (claude_desktop_config.json):

{
  "mcpServers": {
    "stealthguard": {
      "command": "npx",
      "args": ["-y", "stealthguard-mcp"]
    }
  }
}

Option B: Python / UVX

uvx stealthguard-mcp

or via pip:

pip install stealthguard-mcp

📊 Live Polymarket Alpha & Proof-of-Quality Feed

StealthGuard scans live Polymarket prediction markets every 2 hours via automated GitHub Actions, publishing top whale divergences, orderbook spreads, and deterministic CanaryGuard safety receipts directly to the repository:


🚢 Production Deployment

Live Service

  • Render Production URL: https://stealthguard-402.onrender.com
  • Streamable HTTP MCP: https://stealthguard-402.onrender.com/mcp
  • Discovery Manifest: https://stealthguard-402.onrender.com/.well-known/x402
  • Apify Actor: kuroxreal/stealthguard-402
  • Base Payout Wallet: 0x73279fa4BadA7CAC888c62CDa4f5c8104765f6f1

From the server's repository — third-party content, read it before running anything it suggests.

More in Crypto

Listing from the official MCP Registry · repository facts from GitHub, 12m ago.