Skip to content

HUSHBOX is a privacy-focused tool, ideal for those who want to send secure messages in a simple way, using advanced encryption and QR codes as a transmission medium. Its design is functional and intended to be easy to use, although it requires both users to share the same password externally for the system to work. HUSHBOX is built upon SHUMZU

License

Notifications You must be signed in to change notification settings

MPetovick/HUSHBOX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

209 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”’ HUSHBOX - Your Digital Privacy Vault

HUSHBOX is a next-generation, privacy-first communication tool that redefines secure messaging. By combining military-grade encryption with QR code technology, HUSHBOX enables users to exchange confidential messages without ever relying on external servers.

Unlike traditional platforms, all encryption and decryption occur locally on your device, ensuring your data remains completely under your control. Messages are never stored, logged, or transmitted through third-party infrastructure. Instead, encrypted QR codes can be shared via any medium, while your passphrase remains separateβ€”ensuring maximum security even if the message is intercepted.

πŸ” Zero-Server Architecture – Messages never touch external servers
πŸ•΅οΈ Ephemeral Design – No tracking, no storage, no metadata
πŸ”“ Open Source – Transparent and auditable security
πŸ“± PWA Ready – Install as a lightweight progressive web app
πŸ“΄ Offline Functionality – Works seamlessly without internet access

Perfect For:
πŸ” Privacy-conscious individuals | 🏒 Enterprises handling sensitive data | πŸ’Ό Legal/medical professionals | πŸ›‘οΈ Security researchers | ✈️ Travelers in high-risk areas


πŸš€ Key Features

Category Key Features
πŸ” Core Security - AES-256-GCM encryption with HMAC integrity protection
- PBKDF2 key derivation (310,000+ iterations)
- Compressed payloads for efficient QR encoding
- Anti-brute force protection (5 attempts limit)
πŸ“± User Experience - Responsive design with mobile-first approach
- Real-time passphrase strength indicators
- Custom branded QR codes
- Camera QR scanning
- Secure sharing capabilities
πŸ›‘οΈ Advanced Protections - IV time-stamping for replay attack prevention
- Memory sanitization after operations
- Secure content disposal
- Tamper-evident payload design
βš™οΈ Customizable Security - Adjustable PBKDF2 iterations (100K-1M)
- Multiple security levels (AES-128 to AES-256 + HMAC)
- Configurable session timeouts
- Auto-wipe sensitive data

βš™οΈ Technical Stack

Frontend Architecture

graph TD
    A[Web Client] --> B[User Interface]
    B --> C[Encryption Module]
    B --> D[Decryption Module]
    C --> E[QR Generation]
    D --> F[QR Scanning]
    C --> G[Local Storage]
    D --> G
    G --> H[Message History]
    C & D --> I[AES-256-GCM Cryptography]
    I --> J[PBKDF2 Key Derivation + HMAC]
Loading

Encryption Flow

sequenceDiagram
    Usuario->>AplicaciΓ³n: Ingresa mensaje + passphrase
    AplicaciΓ³n->>Crypto: Validar passphrase (zxcvbn)
    Crypto->>Crypto: Generar salt (32B) + IV (16B)
    Crypto->>Crypto: Derivar clave (PBKDF2-HMAC-SHA256)
    Crypto->>Crypto: Comprimir mensaje (pako DEFLATE)
    Crypto->>Crypto: Encriptar (AES-256-GCM)
    Crypto->>QR: Convertir a Base64
    QR->>UI: Generar cΓ³digo QR
    UI->>Usuario: Mostrar QR seguro
Loading

Decryption Flow

sequenceDiagram
    Usuario->>AplicaciΓ³n: Escanea QR + ingresa passphrase
    AplicaciΓ³n->>QR: Decodificar Base64
    QR->>Crypto: Extraer salt + IV + ciphertext
    Crypto->>Crypto: Validar passphrase
    Crypto->>Crypto: Derivar clave (PBKDF2-HMAC-SHA256)
    Crypto->>Crypto: Desencriptar (AES-256-GCM)
    Crypto->>Crypto: Descomprimir mensaje (pako INFLATE)
    Crypto->>UI: Mostrar mensaje plano
    UI->>Usuario: Ver mensaje desencriptado
Loading

Dependencies

Library Version Purpose
pako 2.1.0 Compression DEFLATE
qrcode 1.5.1 QR Generation
jsQR 1.4.0 QR Decoding
jspdf 2.5.1 PDF Export
zxcvbn 4.4.2 Passphrase Strength Validation
  • UI Framework: Pure CSS Grid/Flexbox
  • Icons: Font Awesome 6
  • No Build Process: Zero dependencies, runs directly in browser

πŸ› οΈ Installation & Usage

Project Structure

HUSHBOX/
β”œβ”€β”€ index.html          # Main application
β”œβ”€β”€ script.js           # Core encryption logic
β”œβ”€β”€ styles.css          # Responsive styling
β”œβ”€β”€ manifest.json       # PWA configuration
β”œβ”€β”€ favicon.png
β”œβ”€β”€ assets/
β”‚   └── icons/          # Application icons
β”œβ”€β”€ legal/
β”‚   β”œβ”€β”€ LICENSE.md
β”‚   β”œβ”€β”€ privacy-policy.md
β”‚   └── terms-of-service.md
└── README.md

Local Deployment

git clone https://github.com/MPetovick/HUSHBOX.git
cd HUSHBOX

# Serve using local web server
python3 -m http.server 8000
# or
npx serve .

Open http://localhost:8000 in any modern browser.

Web Version

https://www.hushbox.online

User Guide

  1. Encrypt a Message:

    • Enter a strong passphrase (12+ characters with complexity)
    • Type your secret message
    • Click "Encrypt" to generate secure QR code
    • Share QR via any channel (print, email, messaging)
  2. Decrypt a Message:

    • Click camera icon to scan QR or upload QR image
    • Enter the passphrase (shared via separate secure channel)
    • Click "Decrypt" to reveal message
  3. Additional Features:

    • Generate secure random passphrases
    • Export encrypted messages as PDF
    • Manage message history with import/export
    • Customize security settings

πŸ”„ Workflow Examples

Offline Secure Communication

sequenceDiagram
    participant UserA
    participant HUSHBOX_A
    participant UserB
    participant HUSHBOX_B

    UserA->>HUSHBOX_A: 1. Enter message + passphrase
    HUSHBOX_A->>HUSHBOX_A: 2. Encrypt + Generate QR
    HUSHBOX_A->>UserA: 3. Display secure QR
    UserA->>UserB: 4. Share QR (print/transfer)
    UserB->>HUSHBOX_B: 5. Scan QR + Enter passphrase
    HUSHBOX_B->>UserB: 6. Decrypted message
Loading

Digital Document Backup

sequenceDiagram
    participant User
    participant HUSHBOX
    participant Storage

    User->>HUSHBOX: 1. Enter sensitive data + passphrase
    HUSHBOX->>HUSHBOX: 2. Encrypt data + Generate QR
    HUSHBOX->>User: 3. Display secure QR
    User->>Storage: 4. Save/Print QR (offline backup)
    Storage->>User: 5. Retrieve QR when needed
    User->>HUSHBOX: 6. Scan QR + Enter passphrase
    HUSHBOX->>HUSHBOX: 7. Decrypt data
    HUSHBOX->>User: 8. Display decrypted data
Loading

Enterprise Credential Distribution

sequenceDiagram
    participant Admin
    participant HUSHBOX
    participant Employee

    Admin->>HUSHBOX: 1. Generate credentials
    HUSHBOX->>HUSHBOX: 2. Create password + encrypt
    HUSHBOX->>Admin: 3. Produce secure QR
    Admin->>Employee: 4. Distribute QR securely
    Employee->>HUSHBOX: 5. Scan QR + authenticate
    HUSHBOX->>Employee: 6. Reveal credentials
Loading

πŸ›‘οΈ Security Specifications

Cryptography

Parameter Value Description
Algorithm AES-256-GCM Authenticated encryption
Key Derivation PBKDF2-HMAC-SHA256 100,000-1,000,000 iterations
Salt 32 bytes Cryptographically random
IV 16 bytes Unique per encryption
HMAC SHA-256 Integrity protection
Compression DEFLATE Level 6 For messages >100 chars

Passphrase Requirements

  • Minimum Length: 12 characters
  • Complexity: Upper/lowercase, numbers, symbols
  • Strength Validation: Real-time zxcvbn analysis
  • No Storage: Passphrases never persisted

Security Features

  • Client-Side Only: All operations occur in browser
  • Memory Sanitization: Sensitive data wiped after use
  • Session Management: Configurable timeouts
  • Auto-Wipe: Optional automatic data clearing
  • No Tracking: Zero analytics or telemetry

πŸ“ˆ Business Applications

Industry Solutions

Sector Use Case
Finance Secure credentials and sensitive data exchange
Healthcare HIPAA-compliant patient information sharing
Legal Confidential document transmission
Government Secure material distribution
Enterprise Password and credential rotation

Enterprise Benefits

  • Zero Infrastructure: No servers to maintain
  • Compliance Ready: Meets privacy regulations
  • Easy Deployment: Single HTML file deployment
  • Cross-Platform: Works on all modern browsers

⚠️ Security Best Practices

For All Users

  1. πŸ”‘ Use 15+ character complex passphrases
  2. πŸ“² Share passphrases via secure channels (Signal, encrypted email)
  3. 🧹 Clear history after sensitive operations
  4. πŸ”’ Use in private/incognito browsing sessions
  5. πŸ“± Verify the application URL before use

For Enterprises

  • Train employees on proper passphrase management
  • Establish clear policies for sensitive data exchange
  • Regularly update security configurations
  • Conduct periodic security reviews

Threat Mitigation

graph TB
    A[Potential Threats] --> B[Intercepted QR]
    A --> C[Weak Passphrase]
    A --> D[Device Compromise]
    
    B --> E[Solution: Separate Channel for Passphrase]
    C --> F[Solution: Strength Validation + Generation]
    D --> G[Solution: Auto-wipe + Session Timeouts]
Loading

🎯 Use Case Examples

Crypto Wallet Backup

MnemoniQR

flowchart LR
    Seed[Wallet Seed] --> HUSHBOX
    HUSHBOX -->|Encrypt| QR[Secured QR]
    QR --> Physical[Printed Backup]
    QR --> Digital[Encrypted Storage]
    Passphrase --> Manager[Password Manager]
    
    Physical --> Safe[Secure Location]
    Digital --> Cloud[Encrypted Cloud]
Loading

Medical Data Transfer

  • HIPAA-compliant patient data exchange
  • Temporary access with auto-expiration
  • Audit trail for compliance
  • Emergency access protocols

Secure File Transfer

  • Convert small files to encrypted QR codes
  • Print for physical transfer
  • No file size limits for digital QR sharing
  • PDF export for documentation

πŸ”§ Configuration Options

Security Settings

  • PBKDF2 Iterations: 100,000 to 1,000,000
  • Security Level: High (AES-256 + HMAC), Medium (AES-256), Low (AES-128)
  • Session Timeout: 1-120 minutes
  • Auto Wipe: 5, 10, 30 minutes or disabled
  • QR Error Correction: L (7%) to H (30%)

Customization

  • Adjust security based on threat model
  • Balance performance vs. security
  • Configure for specific use cases
  • Export settings for deployment

πŸ“œ License

GNU Affero General Public License v3.0 - See LICENSE for details.

πŸ› Reporting Issues

Found a bug or security vulnerability? Please report via:

πŸš€ Quick Start

  1. Visit hushbox.online
  2. Encrypt your first message in under 60 seconds
  3. Experience truly private communication

🌐 Contact & Community



Privacy That Never Leaves Your Hands β™ΎοΈπŸ”
Try HUSHBOX β†’ www.hushbox.online
Because your secrets should stay yours

HUSHBOX v3.2.2 | Security Certificate: HBX-SEC-2025-08 | Built with ❀️ for the privacy-conscious

About

HUSHBOX is a privacy-focused tool, ideal for those who want to send secure messages in a simple way, using advanced encryption and QR codes as a transmission medium. Its design is functional and intended to be easy to use, although it requires both users to share the same password externally for the system to work. HUSHBOX is built upon SHUMZU

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published