H.A.N. (Hierarchical Adaptive Notebook) is a privacy-focused, local-first application. Security of user vaults, E2EE WebRTC synchronization, and desktop IPC boundaries is a top priority.
| Version | Supported |
|---|---|
| 0.1.x | ✅ |
- Local-First Storage: Notes remain on your local disk or browser IndexedDB. No note data is uploaded to any central server.
- Zero-Knowledge P2P Sync: WebRTC synchronization encrypts all chunks client-side using AES-256-GCM (
Web Crypto API). The epistemic pairing key is exchanged exclusively via the URL#hashfragment (which is never transmitted over HTTP or to the WebSocket signaling relay). - Encrypted API Keys: Optional AI provider API keys are encrypted at rest via a non-extractable
CryptoKeystored in IndexedDB (han_crypto_vault). - Tauri Vault Sandbox: All native desktop file operations validate canonical paths against the active vault root directory (
resolve_safe_vault_path) to prevent path traversal.
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report vulnerabilities privately using GitHub Private Vulnerability Reporting on this repository.
When reporting a vulnerability, please include:
- A clear description of the issue and affected component (
Web/PWA,Tauri Desktop,WebRTC Sync,Editor/XSS, etc.). - Step-by-step reproduction instructions or proof-of-concept.
- Potential impact assessment.
We aim to acknowledge vulnerability reports within 72 hours and provide a remediation timeline or patch release as quickly as possible.