Rug Munch Media LLCLaunch app (opens in a new tab)

Private Beta

The internal knowledge engine powering our security verdicts and code patterns. Not a public service — private to Rug Munch Media LLC. Contains licensed third-party corpora, some internal-only. 2.07M chunks: our repos, our lessons (2,906 anti-pattern chunks + exemplars), third-party libraries, exploits, docs. Will roll out as MCP for Web3 developers to design safe products — giving agents awareness of security flaws, coding languages, 0-day exploits. Embedding lanes: 4096d corpus (qwen3-8b) + 1024d memory, never mixed.


What ContextCrypto Actually Is

ContextCrypto is the curated knowledge layer behind every security verdict, code pattern, and “how we build X” answer at Rug Munch Media. It’s not a search engine — it’s a judgment engine.

Corpus Scope (2.07M chunks)

Corpus Chunks Source Purpose
internal/* 847k Our repos (rmi-backend, pryscraper, walletpress, etc.) How WE build things
internal-lessons/* 156k 2,906 anti-pattern chunks + exemplars What bit us, what we abandoned
third-party/* 412k Solidity, Rust, Go, TypeScript, Cairo, Move libraries Verified patterns from ecosystem
exploits/* 89k Exploit PoCs, postmortems, root cause analyses How things break
docs: (8.7k)* 68k Our stack docs, ADRs, conventions Our documented decisions
threat-intel/ 12k 11 live feeds (CISA, OSV, Immunefi, etc.) 0-day awareness

Total: 2.07M chunks — every chunk tagged with ecosystem, severity, chain, language, and provenance.


What It Actually Does

For AI Agents (via MCP)

  • search_reference(query) — “How do WE build X?” / “Is this pattern safe?” / “What bit us here?”
  • rmi_playbook(subsystem) — Internal playbooks for subsystems (DataBus, scanner, indexer)
  • rmi_gotchas(query) — Failure memory: what bit us, what we abandoned
  • rmi_known_good(pattern) — Verified internal patterns with provenance
  • query_security_context(query) — Security patterns (Reentrancy, Access-Control, etc.)
  • query_exploits(query) — Exploit PoCs by class (reentrancy, oracle manipulation, etc.)
  • query_cross_chain(query) — Cross-chain patterns (LayerZero, CCIP, Wormhole, etc.)
  • resolve_library(query) → library_id for third-party docs
  • query_codebase(library_id, query) — Library source in OUR corpus
  • docs_query(library_id, query) — Our synced docs for a library

For Human Developers

  • Verdicts with provenance — Every claim cites library/file/chunk
  • Anti-patterns with evidence — 2,906 chunks tagged weakness with root cause
  • Playbooks — How WE build DataBus, scanner, indexer, MCP, x402, etc.
  • Gotchas — Failure memory: Solidity 0.8.20 PUSH0, Cairo felt252 overflow, etc.

Technical Architecture

Embedding Lanes (Critical — Never Mix)

Lane Model Dimension Endpoint Purpose
Corpus (Deep) qwen3-embedding-8B 4096-d :8004 (DeepInfra) / local fallback Primary retrieval, document embedding
Memory/Legacy qwen3-embedding-0.6B 1024-d :8024 Agent memory, fast cache, supermemory
Corpus Rerank qwen3-reranker-8B — :8003 Cross-encoder reranking for dense results
Memory Rerank qwen3-reranker-0.6B — :8030 Fast reranking for memory lane

Rule: Corpus (4096d) queries ONLY hit 4096d lane. Memory (1024d) queries ONLY hit 1024d lane. Never mix dimensions.

Retrieval Architecture

Query → Classify (exact/symbol/how-we-build/live-api/web)
       → Route to layer (zoekt/serena/context-crypto/context7/searxng)
       → Retrieve (hybrid: vector + lexical + graph)
       → Rerank (cross-encoder appropriate to lane)
       → Answer with citations [library_id + chunk_id per claim]

Layers (in priority order):

  1. Exact text → zoekt (committed) / rg-search (uncommitted)
  2. Symbols/refs → serena (LSP)
  3. How WE build / verdicts / gotchas → context-crypto (search_reference, rmi_playbook, rmi_gotchas)
  4. Third-party API → context7 (resolve-library-id → query-docs)
  5. Public repo architecture → deepwiki
  6. Open web → searxng / fetch / pry-mcp
  7. Fleet memory → supermemory / graphiti
  8. Live chain state → birdeye-mcp / dextools-mcp / clickhouse-mcp / dune-analytics

Collections & Chunking

Collection Embedding Chunking Retention Purpose
internal/* qwen3-8b 4096d 512/15% recursive Permanent Our repos, our patterns
internal-lessons/* qwen3-8b 4096d 400/10% semantic Permanent Anti-patterns, gotchas, exemplars
third-party/* qwen3-8b 4096d 256/20% code/AST Permanent Verified library patterns
exploits/* qwen3-8b 4096d 512/15% recursive Permanent Exploit PoCs, postmortems
docs: (8.7k)* qwen3-8b 4096d 512/15% recursive Permanent Our stack docs, ADRs
threat-intel/ qwen3-8b 4096d 300/10% semantic 30 days 11 live advisory feeds

Caching & Permanence (L1/L2/L3)

Layer Store What Retention
L1 In-process + Redis Embedding cache, pattern cache, query cache 24h / 30d / per-entry
L2 Redis Full doc JSON + index sets Permanent for patterns/gotchas, 30d for news
L3 Backblaze B2 Nightly Qdrant snapshots + Redis JSON chunks (≤5MB) Nightly, opt-in HF mirror

What It Enables for Web3 Developers

Smart Contract Security

  • Query threat_intel for vulnerabilities in your language (Solidity, Vyper, Rust, Cairo, Move)
  • Check exploits for similar patterns before you ship
  • Verify internal-lessons for gotchas in your stack

DeFi Integration Safety

  • Check transaction_patterns for MEV vectors, oracle manipulation signatures
  • Verify scam_patterns for honeypot signatures, rug-pull vectors
  • Cross-reference internal-lessons for DeFi-specific gotchas

AI Agent Security Awareness

  • MCP tools give agents grounded security awareness: search_reference, query_security_context, query_exploits
  • Agents learn from OUR failures, not hallucinations
  • 0-day awareness via live threat feed ingestion (CISA, OSV, Immunefi, HackerOne, GitHub Security Advisories)

Languages Covered

Language Ecosystem Coverage
Solidity Ethereum, EVM L2s Full — vulnerabilities, patterns, exploits
Vyper Ethereum Patterns, exploits
Rust Solana, Sui, Move, Cosmos Patterns, exploits, 0-days
Cairo Starknet Patterns, exploits
Move Aptos, Sui Patterns, exploits
Go Cosmos, Polkadot Patterns, exploits
TypeScript/JavaScript Frontend, Next.js, React Security patterns, XSS, CSRF

Current Status & Roadmap

Private Beta — not a public service. Private to Rug Munch Media LLC.

Honest Gaps

  • Some third-party library coverage thin (add on demand via resolve_library)
  • Live threat feeds need validation pipeline hardening
  • Agent routing (dispatch_brief) still evolving
  • Public MCP rollout pending security review

P0 — Make It Real (In Progress)

  • Harden threat feed validation pipeline
  • Complete third-party library coverage for top 100 Web3 libs
  • Security review for public MCP rollout
  • Document embedding lane isolation guarantees

P1 — Retrieval Quality

  • Enable cross-encoder rerank on high-traffic endpoints
  • BM25 sparse validation end-to-end
  • Evaluation pipeline: RAGAS harness + labeled eval set + CI gate

P2 — Public MCP Rollout

  • Define public MCP schema & auth
  • Rate limiting & abuse prevention
  • Community onboarding flow
  • Usage analytics & feedback loop

For Web3 Developers — Designing Safe Products

ContextCrypto will roll out as an MCP for Web3 developers — giving your AI agents awareness of:

  • Security flaws in your language/framework before you write them
  • Coding language gotchas (Solidity 0.8.20 PUSH0, Cairo felt252 overflow, Rust move semantics)
  • 0-day exploits from live threat feeds before they hit your stack
  • Our verified patterns — how we build DataBus, scanner, indexer, MCP, x402

This is not a search engine. It’s a judgment engine. Every answer cites provenance. No hallucinations. No generic advice.