Skip to content

Chatur7x/Nexus-Password_Vault_Manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

NEXUS: Zero-Knowledge Password Vault

A military-grade, zero-knowledge password manager engineered to defeat remote attackers, physical forensics, and server breaches β€” built across C, Python, Java, and a cross-platform Web/Android frontend.


πŸ–₯️ Architecture & Tech Stack

Layer Technology Purpose
Core Crypto Engine C Bare-metal AES-256-GCM, SecureZeroMemory RAM wiping
Middleware & CLI Python Argon2id KDF, HMAC verification, all security modules
ZK Sync Server Python (FastAPI) Zero-knowledge encrypted blob storage, SCIM, PAM
Web App Vite + Vanilla JS Cross-platform PWA with WebCrypto API
Android App Capacitor Native Android wrapper for the web app
Browser Extension Manifest V3 AutoFill, phishing detection, domain matching
Desktop GUIs CustomTkinter / Java Swing Native desktop interfaces

πŸ” Cryptographic Stack

Layer Algorithm Standard
Symmetric Encryption AES-256-GCM NIST SP 800-38D
Key Derivation Argon2id PHC Winner, OWASP Recommended
Key Exchange X25519 (Curve25519) RFC 7748
Digital Signatures Ed25519 RFC 8032
Hashing SHA-256 / BLAKE3 FIPS 180-4
Post-Quantum ML-KEM (Kyber) NIST PQC (Roadmap)
Transport TLS 1.3 only RFC 8446

πŸš€ Complete Feature List

Core Vault

  • AES-256-GCM authenticated encryption
  • Argon2id memory-hard key derivation (replaces scrypt)
  • Encrypt-then-MAC (HMAC-SHA256) file integrity
  • Client-side only execution (WebCrypto API)
  • Integrated TOTP 2FA authenticator
  • Secure 24-character password generator
  • HaveIBeenPwned k-Anonymity breach monitoring

Record Types

  • Passwords with Honeyword intrusion detection
  • Structured Secure Notes
  • SSH Key storage
  • API Key / Developer Secret management
  • IoT / Smart Home device credentials
  • Connected Vehicle credential store

Physical Security

  • Bluetooth Proximity Auto-Lock (paired phone/watch)
  • USB Physical Key (removable drive as auth factor)
  • Duress PIN (decoy vault + silent alarm to emergency contact)
  • Thermal Attack Resistance (keyboard heat contamination)
  • Anti-Screenshot Protection (Android FLAG_SECURE)
  • Clipboard Isolation (sandboxed copy, no OS clipboard)

Network Security

  • DNS-over-HTTPS for all vault traffic
  • Certificate Transparency log monitoring
  • SSID Spoofing / Evil Twin detection (replaces geofencing)
  • Network Traffic Obfuscation (CDN-disguised sync)
  • Trusted Network Registry (SSID + BSSID verification)

Behavioral Authentication

  • Continuous Session Verification (behavioral drift detection)
  • Mouse Dynamics Biometrics (velocity/acceleration profiling)
  • Passive Liveness Detection (anti-photo/mask for Face ID)
  • Ephemeral Session Tokens (15-minute TTL, auto-lock)

Deception & Intrusion Detection

  • Plausible Deniability (hidden/decoy vaults)
  • Honeywords (5 fake passwords per entry)
  • Access Anomaly Detection (z-score statistical alerts)

Recovery & Resilience

  • Distributed Cloud Backup (3-fragment Shamir across providers)
  • BIP39 Mnemonic Recovery Kit (24-word printable seed)
  • 90-Day Version-Controlled Vault History (rollback)
  • Merkle Tree Backup Integrity Verification
  • Travel Mode (strip sensitive entries at borders)

Cryptographic Audit Trail

  • Tamper-Evident Hash Chain (mini-blockchain)
  • Signed Access Receipts (HMAC-SHA256 timestamped)
  • Anomaly Detection on access patterns

Secure Sharing

  • Time-Limited Credential Sharing
  • One-Time-Use Share Links (auto-burn after access)
  • Encrypted share payloads (X25519 key exchange)

Enterprise & Compliance

  • SIEM Export (CEF / JSON / Syslog for Splunk/Elastic/Datadog)
  • SCIM 2.0 Provisioning (Okta, Azure AD, Google Workspace)
  • SOC 2 / ISO 27001 One-Click Compliance Report
  • Privileged Access Management (PAM checkout/approval)

Transparency & Trust

  • Reproducible Build Verification (SHA-256 manifest)
  • Public Security Audit Dashboard
  • In-App Cryptographic Proof Verifier (key ownership, sync integrity)

Cross-Platform

  • Desktop (Python GUI, Java Swing, Web Browser)
  • Android (Capacitor native APK)
  • Web App (Vite PWA, works on any device)
  • Browser Extension (Chrome/Edge/Firefox AutoFill + Phishing Detection)

πŸ› οΈ Installation & Usage

Prerequisites

pip install argon2-cffi customtkinter Pillow

Running the CLI

cd cli-python
python manager.py list
python manager.py add --title Gmail --user me@gmail.com --password "MySecurePass!"
python manager.py get Gmail
python manager.py health

Advanced CLI Commands

python manager.py travel-mode            # Strip sensitive entries
python manager.py recovery-kit           # Generate BIP39 seed words
python manager.py history                # List vault snapshots
python manager.py restore 20260505_1200  # Rollback to snapshot
python manager.py audit-verify           # Verify audit chain integrity
python manager.py audit-log              # View recent access events
python manager.py network-check          # SSID spoofing detection
python manager.py network-scan           # Discover local devices
python manager.py ct-scan                # Certificate Transparency check
python manager.py soc2-report            # Generate compliance report
python manager.py build-manifest         # Reproducible build hash
python manager.py verify-build           # Verify source integrity
python manager.py bt-pair AA:BB:CC:DD    # Pair Bluetooth device
python manager.py duress-setup --pin 9999 --webhook https://hooks.slack.com/...
python manager.py iot-add --name Router --type router --ip 192.168.1.1

Running the Web App

cd nexus-web
npm install
npm run dev

Running the Sync Server

cd sync-server
pip install fastapi uvicorn
python main.py

πŸ“ Project Structure

PASS-VAULT-MANAGER/
β”œβ”€β”€ core-c/                  # C Engine β€” AES-256, SecureZeroMemory
β”œβ”€β”€ cli-python/              # Python Backend β€” All security modules
β”‚   β”œβ”€β”€ manager.py           # Main CLI entry point (25+ commands)
β”‚   β”œβ”€β”€ auth.py              # Argon2id key derivation
β”‚   β”œβ”€β”€ c_bridge.py          # C DLL bridge via ctypes
β”‚   β”œβ”€β”€ behavioral_auth.py   # Continuous session verification
β”‚   β”œβ”€β”€ physical_security.py # BT lock, USB key, duress PIN, thermal
β”‚   β”œβ”€β”€ network_security.py  # DoH, CT monitoring, SSID spoofing
β”‚   β”œβ”€β”€ recovery.py          # Distributed backup, BIP39, version history
β”‚   β”œβ”€β”€ audit_trail.py       # Hash chain, signed receipts, anomaly detection
β”‚   β”œβ”€β”€ enterprise.py        # SIEM, SCIM, SOC2, PAM
β”‚   β”œβ”€β”€ iot_integration.py   # Smart home, network discovery, vehicles
β”‚   β”œβ”€β”€ transparency.py      # Reproducible builds, audit dashboard, proofs
β”‚   β”œβ”€β”€ shamir.py            # Shamir's Secret Sharing (GF256)
β”‚   β”œβ”€β”€ stego.py             # Steganography (research demo)
β”‚   β”œβ”€β”€ fhe_mock.py          # FHE simulation (research demo)
β”‚   β”œβ”€β”€ mpc_mock.py          # MPC simulation (research demo)
β”‚   └── pqc_lwe.py           # Post-quantum LWE (research demo)
β”œβ”€β”€ sync-server/             # FastAPI Zero-Knowledge Sync Server
β”‚   └── main.py              # SCIM, PAM, sharing, transparency APIs
β”œβ”€β”€ nexus-web/               # Vite + Capacitor Web/Android App
β”œβ”€β”€ browser-extension/       # Manifest V3 Chrome/Edge Extension
β”œβ”€β”€ gui-python/              # CustomTkinter Desktop GUI
β”œβ”€β”€ gui-java/                # Java Swing Desktop GUI
└── data/                    # Encrypted vault storage

⚠️ Threat Model

Attack Vector Status Defense
Remote vault file theft βœ… Defeated AES-256-GCM + ZK server
Server breach βœ… Defeated Zero-knowledge β€” server holds no keys
Physical device theft ⚠️ Largely Argon2id + Secure Enclave (roadmap)
Memory scraping ⚠️ Partially SecureZeroMemory + RAM scrambling
Phishing βœ… Defeated Browser extension domain-match blocking
Evil Twin WiFi βœ… Defeated SSID + BSSID fingerprint verification
Insider threat βœ… Defeated Encrypted metadata + ZK architecture
Coercion / duress βœ… Defeated Duress PIN + decoy vault + silent alarm
Quantum computer πŸ”„ Roadmap ML-KEM hybrid mode

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors