Stealthguard 402
Pricing
from $20.00 / 1,000 stealth scrape and sanitizes
Stealthguard 402
Pricing
from $20.00 / 1,000 stealth scrape and sanitizes
Rating
0.0
(0)
Developer
AK | Kurox
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
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 Name | Price (x402 Base) | Apify PPE Events | Method | Description |
|---|---|---|---|---|
stealth_scrape_and_sanitize | $0.02 USDC (20,000 units) | 1 event ($0.02) | POST /v1/stealth_scrape_and_sanitize | Bypasses 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_divergence | Scans 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_gate | Upgrades 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 events | GET /v1/health_and_sample | Zero-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/listreturns Glama TDQS-compliant tool schemas withreadOnlyHint: trueand 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 SDKpython 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 PASSEDtests/test_api_endpoints.py::test_api_x402_manifest_and_discovery PASSEDtests/test_api_endpoints.py::test_api_unpaid_endpoints_return_402 PASSEDtests/test_api_endpoints.py::test_api_mcp_streamable_http PASSEDtests/test_apify_ppe.py::test_apify_ppe_stealth_scrape_charge_and_push PASSEDtests/test_apify_ppe.py::test_apify_ppe_polymarket_charge_and_push PASSEDtests/test_apify_ppe.py::test_apify_ppe_pre_trade_gate_charge_and_push PASSEDtests/test_mcp.py::test_mcp_initialize PASSEDtests/test_mcp.py::test_mcp_tools_list_glama_tdqs PASSEDtests/test_mcp.py::test_mcp_tools_call_free_discovery PASSEDtests/test_mcp.py::test_mcp_tools_call_unpaid_returns_402 PASSEDtests/test_sanitizer.py::test_clean_content PASSEDtests/test_sanitizer.py::test_instruction_override_strict PASSEDtests/test_sanitizer.py::test_role_delimiter_override PASSEDtests/test_sanitizer.py::test_wallet_drainer_command PASSEDtests/test_sanitizer.py::test_hidden_html_removal PASSEDtests/test_sanitizer.py::test_active_html_script_removal PASSEDtests/test_tools.py::test_health_and_sample_tool PASSEDtests/test_tools.py::test_stealth_scrape_and_sanitize_tool PASSEDtests/test_tools.py::test_polymarket_alpha_divergence_tool PASSEDtests/test_tools.py::test_pre_trade_agent_gate_usdc_trust PASSEDtests/test_tools.py::test_pre_trade_agent_gate_invalid_address_block PASSEDtests/test_x402_challenge.py::test_build_402_challenge_headers_and_body PASSEDtests/test_x402_challenge.py::test_unpaid_verification_returns_402 PASSEDtests/test_x402_challenge.py::test_valid_eip712_payment_verification_and_replay_protection PASSED======================= 25 passed in 6.92s ========================
π’ Production Deployment
Deploy to Render
- Connect your repository to Render.
- Select Blueprint and point to
render.yaml. - Set your Base payout wallet in the
WALLET_ADDRESSenvironment variable.
Deploy to Apify
- Push repository or run:
$apify push
- Enable Pay-Per-Event (PPE) in your Actor monetization settings.