SubtensorGuard

Bittensor Multi-RPC Consensus Auditor & Subnet Weight-Copying Detector
Track 2 · Developer Tools & Infrastructure HEALTHY

1. Live Bittensor Finney & Testnet RPC Consensus

Loading verified snapshot...
Consensus Audit Findings

    2. Interactive Subnet Weight-Copying & Emission Concentration Auditor

    Cosine similarity > 0.985 · HHI (0–10,000) · Gini (0–1) · Stale & Zero-Weight Flags
    Subnet Metagraph Weight Snapshot (JSON)
    Edit or paste any subnet validator snapshot (`validators`, `weights`, `stake`, `emission`) and run deterministic anomaly analysis locally in-browser.
    Subnet 18 Audit Report
    Block -
    RISK
    Stake HHI
    -
    Emission HHI
    -
    Stake / Emission Gini
    -
    Top-3: -
    Weight-Copying Clusters (Cosine ≥ 0.985)
    Top Pairwise Cosine Similarities
    Validator A Validator B Cosine Flag
    Actionable Findings

      3. Architecture & Track 2 Value Proposition

      Zero-API-Key · Node 20+ ESM · CLI + Stdio MCP Server + Static Dashboard
      Layer 1 · Subtensor RPCs

      Multi-Endpoint Prober

      Parallel Substrate JSON-RPC calls (system_health, state_getRuntimeVersion, chain_getHeader, chain_getFinalizedHead) across Finney Entrypoint, Archive, Lite, and Testnet.

      Layer 2 · Consensus Auditor

      Drift & Finality Engine

      Detects cross-RPC head skew, GRANDPA finality lag spikes, runtime specVersion divergence, syncing nodes, and emits deterministic CI exit codes (0 / 1 / 2).

      Layer 3 · Subnet Forensics

      Weight-Copy & HHI Math

      Builds aligned miner weight vectors, detects validator weight-copying clusters (cosine ≥ 0.985), and quantifies stake/emission centralization via HHI & Gini.

      Layer 4 · DevEx Surfaces

      CLI + MCP + Web UI

      Drop into GitHub Actions (subtensorguard probe), connect coding assistants via stdio MCP (subtensorguard mcp), or host this zero-build static dashboard.

      Why Subnet Teams Need SubtensorGuard

      Bittensor validators and subnet owners rely on public/self-hosted Subtensor RPCs that silently drift, stall finality, or fall behind during runtime upgrades—while weight-copying cartels quietly erode subnet Yuma Consensus quality.

      CI-Ready + Agent-Native Infrastructure

      Zero external runtime dependencies, zero API keys, strict TypeScript ESM, deterministic exit codes for PagerDuty/GitHub Actions, and a built-in MCP server exposing live RPC and weight-audit tools directly to developer agents.

      HackQuest 2026 — Track 2 Fit

      Built specifically for Track 2: Developer Tools & Infrastructure—immediately runnable against live Bittensor Finney & Testnet RPCs in under 2 seconds with 100% open-source MIT code.