Stealthguard 402 avatar

Stealthguard 402

Pricing

from $20.00 / 1,000 stealth scrape and sanitizes

Go to Apify Store
Stealthguard 402

Stealthguard 402

Pricing

from $20.00 / 1,000 stealth scrape and sanitizes

Rating

0.0

(0)

Developer

AK | Kurox

AK | Kurox

Maintained by Community

Actor 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 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 ========================

🚒 Production Deployment

Deploy to Render

  1. Connect your repository to Render.
  2. Select Blueprint and point to render.yaml.
  3. Set your Base payout wallet in the WALLET_ADDRESS environment variable.

Deploy to Apify

  1. Push repository or run:
$apify push
  1. Enable Pay-Per-Event (PPE) in your Actor monetization settings.