Download Latest Version v6.4.0 -- Now it reads right to left source code.zip (31.5 MB)
Email in envelope

Get an email when there's a new version of SecureBit.chat - P2P Encrypted Messenger

Home / 4.4.18_update
Name Modified Size InfoDownloads / Week
Parent folder
4 source code.tar.gz 2025-10-17 31.4 MB
4 source code.zip 2025-10-17 32.8 MB
README.md 2025-10-17 3.4 kB
Totals: 3 Items   64.2 MB 0

โœจ Major Updates

๐Ÿ”” Secure Browser Notifications System

Complete implementation of smart notification delivery for incoming messages. Only triggers when user is away from the chat tab, preventing notification spam during active conversations.

Key Features:

  • โœ… Cross-browser compatibility (Chrome, Firefox, Safari, Edge)
  • โœ… Page Visibility API integration with document.hidden and document.hasFocus()
  • โœ… User gesture compliant permission requests (Create/Join buttons)
  • โœ… XSS protection with text sanitization and URL validation
  • โœ… Rate limiting (configurable spam protection)
  • โœ… Message deduplication prevents duplicate notifications
  • โœ… Automatic cleanup and memory management
  • โœ… Secure context validation (HTTPS requirement enforcement)

๐Ÿงน Code Cleanup & Architecture Improvements

Major codebase refactoring for production stability and maintainability:

Removed Components:

  • โŒ Session management logic (simplified architecture)
  • โŒ Experimental Bluetooth module (unstable binary transfer)
  • โŒ Debug logging statements (cleaned production code)
  • โŒ Test functions and development utilities

Improvements:

  • โœ… Streamlined notification architecture
  • โœ… Enhanced error handling with silent fallbacks
  • โœ… Reduced bundle size by ~15%
  • โœ… Improved performance and stability
  • โœ… Fixed critical chat load failure on iPhones (Notification API handling)

๐Ÿ›ก๏ธ Security Enhancements Preserved

All security features from v4.3.120 remain intact:

  • ECDH + DTLS + SAS verification system
  • ASN.1 complete key structure validation
  • Binary QR exchange system
  • Enhanced MITM protection
  • Secure key storage with WeakMap isolation

๐Ÿ”ง Technical Notes

Notification System Implementation

SecureNotificationManager:

  - Tab visibility detection (Page Visibility API)
  - Focus state monitoring (document.hasFocus())
  - Permission management (user gesture required)
  - Rate limiting (max 10 notifications per minute)
  - XSS sanitization (DOMPurify-style cleaning)
  - Queue management (prevents memory leaks)

Architecture Changes

  • Removed 450+ lines of unused session code
  • Eliminated Bluetooth experimental module (BLE file transfer)
  • Stripped all console.log() from production build
  • Cleaned test harness and mock functions

Browser Compatibility

  • Chrome/Edge 60+ โœ…
  • Firefox 60+ โœ…
  • Safari 12+ โœ…
  • Opera 47+ โœ…
[[๐Ÿš€ Try Now](https://securebitchat.github.io/securebit-chat/)](https://securebitchat.github.io/securebit-chat/) โ€ข [[๐Ÿ“– Full Changelog](https://claude.ai/chat/CHANGELOG.md)](CHANGELOG.md) โ€ข [[โญ Star on GitHub](https://github.com/SecureBitChat/securebit-chat)](https://github.com/SecureBitChat/securebit-chat)
Source: README.md, updated 2025-10-17