Lakshay royalfire

Project Sentinel Failover Engine

Cross-platform emergency failover engine with Argon2id encrypted vaulting and zero-trust tunnels.

Role Lead Architect — Rust core, encrypted vault, and cross-platform desktop/mobile runtime
Status active
Stack
Tauri v2RustTypeScriptViteCloudflare TunnelArgon2idAES-256-GCMAndroid APK
<500ms failover trigger
AES-256 vault encryption
0 open ports
3 supported platforms

Audit Findings & Remediations

  • critical
    Failover Split-Brain Race Condition

    Implemented quorum lockfile verification before secondary node assumes control.

  • high
    Plaintext Token Memory Leak

    Integrated zeroize memory clearing in Rust core immediately after API handshake.

When production infrastructure suffers catastrophic upstream network partitions or unexpected node hardware lockups, waiting for manual web dashboard authentication is unacceptable. Project Sentinel was built as a dedicated, cross-platform emergency command bridge.

Architecture

Sentinel is engineered around three decoupled tiers:

  1. Rust Core (Tauri v2): Handles hardware-level cryptographic key derivation using Argon2id and decrypts node credentials strictly in volatile memory with automatic memory zeroization.
  2. Zero-Trust Telemetry Pipeline: Establishes ephemeral, outbound-only Cloudflare Tunnels to monitor node health without exposing any open listening ports on the public internet.
  3. Cross-Platform Tactical Trigger: Runs as a lightweight native binary on Linux/Windows workstations and an optimized Android APK with biometric authorization for 1-tap remote failover execution.

Invariants & Threat Modeling

  • Zero Network Exposure: Nodes accept management commands only through cryptographically signed tunnel payloads verified against the operator’s public key.
  • Fail-Safe Quorum: Sentinel requires two-way heartbeat confirmation before rerouting client traffic, eliminating split-brain state risks.
  • Local Master Vault: All Pterodactyl and server node API secrets are stored locally encrypted; no remote backend stores the master keys.