Skip to content

KarunyaChavan/Continuum

Repository files navigation

Continuum — Digital Survivability Engineering Platform

Continuum is a local-first, zero-knowledge digital survivability platform designed to model and simulate the fragility of a human’s digital identity ecosystem.

The system maps how your digital life depends on interconnected identity, recovery, authentication, and trust relationships, then simulates cascading failures to determine how resilient or fragile your digital existence is.


Architecture Principles

  1. Local-First & Offline-Capable: All graph computation, simulation, and scoring occur on your local device. Continuum works completely offline, with no reliance on external APIs or central cloud computation.
  2. Zero-Knowledge Encrypted Vault: All local database files are fully encrypted using XChaCha20-Poly1305 symmetric AEAD. The vault keys are derived using Argon2id and reside only in volatile memory while the database is unlocked.
  3. Rust Core Isolation: The React frontend acts as a display-only shell. All cryptographic primitives, graph operations (using petgraph), cycle detections, and BFS risk propagation are implemented in the secure Rust backend.

Monorepo Layout

  • continuum-core/: The core engine library containing graph structures, risk propagation, and the encrypted SQLite storage adapter.
  • web/: The frontend application workspace.
    • web/src/: React + TypeScript frontend dashboard with custom SVG graph rendering and security playbooks.
    • web/src-tauri/: Tauri v2 desktop client wrapper managing the Rust state container (AppState) and database connections.

Setup & Prerequisites

Ensure the following tools are installed on your system before proceeding:

1. System Requirements (Windows)

  • C++ Build Tools: Install Microsoft Visual Studio C++ Build Tools (via Visual Studio Installer).
  • WebView2: Standard on Windows 10/11.

2. Development Toolchains

  • Rust Compiler: Install Rust via rustup (edition 2021).
  • Node.js & npm: Install Node.js (v18+ recommended) and npm.

Running Commands (from Monorepo Root)

We have configured npm workspaces to make managing dev and build commands simple from the root directory.

Initialize Dependencies

Installs all node modules and dependencies for the frontend workspace:

npm install

Start Development Server

Starts the React dev server and launches the native Tauri desktop shell window:

npm run dev

Compile Production Build

Builds the static frontend and compiles the release Tauri binary:

npm run build

Lint Frontend

Checks TypeScript code style and rules:

npm run lint

Run Rust Core Tests

Runs all unit and integration tests across the cargo workspace:

npm run test:core

Core MVP Compromise Scenario

The platform models the "Compromised Primary Email" scenario:

  • Blast Radius: Proportion of downstream accounts compromised if a root anchor is breached. $$\text{BlastRadius} = \frac{\text{compromised nodes}}{\text{total nodes}}$$
  • Circular Deadlocks: Finds recursive dependencies (e.g. Gmail recovery points to ProtonMail, ProtonMail recovery points to Gmail).
  • Identity Centralization: Measures how dependent your digital layout is on a single primary authority node.

About

Continuum is a local-first digital survivability engine that models identity dependency graphs and simulates cascading failures across a user's digital ecosystem.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors