1 of 17

Stealth Chat

Absolute Anonymity, Zero Friction

A serverless, self-destructing P2P communication module

TEAM NULLptr

HackSecure 2026

2 of 17

The Problems

End-to-End Encryption ≠ Anonymity

E2EE protects the message payload , but centralized servers store the metadata —device ID, IP address, contact patterns, timestamps

Data Honeypots

Centralized logging creates massive targets for breaches. One compromised server exposes millions of communication networks.

Permanent Traces

Standard "Delete" functions rarely wipe underlying cryptographic state. Keys and database entries remain intact.

Shrinking Sovereignty

Digital sovereignty is shrinking. Users need infrastructure that literally cannot betray them .

3 of 17

The Challenges

01

Key Exchange Without Trust

The Handshake Problem: How do two devices establish a shared cryptographic secret without a middleman handing out keys?

Centralized key servers are single points of failure

Hostile network environments complicate trust

Solution: Manual public key exchange with X3DH protocol

02

Synchronized Destruction

The Timer Problem: If a message lives for 30 seconds, that timer must execute flawlessly on two separate physical devices.

Cannot rely on server "delete" commands

Clock drift and network latency issues

Solution: TTL embedded directly in encrypted payload

03

Profile State Management

The Trace Problem: True anonymity means leaving no trace. No residual data or keys can survive a session wipe.

Standard databases retain deleted entries

Keystore persistence creates forensic evidence

Solution: Mathematical shredding with secure wipe

4 of 17

Tech Stack

UI & Reactive State

Flutter

Cross-platform, high-performance UI framework. Handles rapid, millisecond-level state changes across Android and iOS.

Dart

Hot Reload

Cross-Platform

Cryptography

Custom E2EE Service

AES-GCM symmetric encryption with X3DH key agreements. Proven mathematical standards—no custom crypto inventions.

AES-GCM

X3DH

LibSodium

Local State Management

Encrypted SharedPreferences

Temp identity holding with secure local storage. Programmatic wipe when timer hits zero.

SQLite

Encrypted

Local-Only

Transport / Relay Layer

Node.js WebSocket Server

Crucial: Entirely stateless. No database, no key logs—strictly acts as a dumb pipe forwarding encrypted Base64 payloads.

Stateless

No Logs

WebSocket

5 of 17

The Solution – Stealth Chat

The Ghost Entry

No Pop-up screens. No email signup. No "Log In." When users open Stealth Chat, they're greeted by a stark black screen asking for two thing only: a time limit and secret code.

Identity Flush Timer: 24 hours (example)

Procedural Identity

Behind the scenes, the app silently hashes local hardware state to procedurally generate a temporary alias:

That is your only identity. No accounts. No profiles. Just entropy.

The User Contract

We replace Terms of Service with a User Contract. The user explicitly tells the local database: "No matter what happens, mathematically shred this identity and all associated keys when this clock runs out."

First Step

Wireframe

6 of 17

Before and After

Before

After

7 of 17

OWASP TOP 10 2024 Mobile Security

ID

Vulnerability Type & Definition

Status

Implementation Detail

M1

Improper Credential Usage

PASS

Defeats extraction by using ephemeral, in-memory X25519 keys and a stealthy calculator gateway that shreds data upon exit.

 

Protects against hardcoded passwords, insecure keys, and weak transmission.

M2

Inadequate Supply Chain Security

PASS

Maintains a zero-vulnerability dependency footprint; requires a transition to private keystores before production.

 

Guards against vulnerabilities in 3rd-party libraries and build tools.

M3

Insecure Authentication/Authorization

PASS

Eliminates backend attack surfaces (like IDOR) via a stateless Zero-Trust relay and P2P cryptographic mutual authentication.

 

Addresses bypassable logins and backend permission failures.

M4

Insufficient Input/Output Validation

PASS

Uses mathematical input allowlisting and authenticated encryption (AEAD) to ensure payload integrity.

 

Prevents SQLi, XSS, and overflows via strict data sanitization.

M5

Insecure Communication

FAIL

E2EE is robust, but the app currently leaks routing metadata by using unencrypted ws:// instead of wss:// (TLS).

 

Focuses on protecting data in transit from eavesdropping (TLS/SSL).

M6

Inadequate Privacy Controls

PASS

Enforces "Privacy by Design" with zero PII collection, ephemeral IDs, and forensic-level database shredding.

 

Targets PII over-collection or accidental leakage to logs/backups.

M7

Insufficient Binary Protection

PASS

Resists analysis by using dynamic keys rather than hardcoded secrets, supported by Dart AOT obfuscation.

 

Addresses reverse-engineering, decompiling, or code tampering.

M8

Security Misconfiguration

FAIL

Requires AndroidManifest.xml updates to disable Android Backup Service and block cleartext traffic.

 

Covers insecure default settings and unnecessary permissions.

M9

Insecure Data Storage

PASS

Uses a zero-overwrite VACUUM process and volatile RAM storage to ensure no data is recoverable post-session.

 

Focuses on protecting sensitive data at rest on the device's file system.

M10

Insufficient Cryptography

PASS

Utilizes state-of-the-art libsodium primitives (X25519) and has patched previous time-based seed vulnerabilities.

 

Guards against broken algorithms and weak random number generators.

Insufficient Cryptography

Insecure Data Storage

Security Misconfiguration

Insufficient Binary Protections

Inadequate Privacy Controls

Improper Credential Usage

Inadequate Supply Chain Security

Insecure Authentication/Authorization

Insufficient Input/Output Validation

Insecure Communication

8 of 17

Actionable Application

Working prototype with live E2EE communication

Synchronized destruction verified across devices

Stateless relay with zero logging confirmed

Cost-Efficient Architecture

No massive cloud infrastructure costs

No database maintenance overhead

Zero infrastructure overhead to maintain

Highly scalable and brutally efficient

Empowering the Whistle-blower

Journalists

Reporting from hostile environments

Enterprise Teams

Sensitive internal communications

Everyday Users

Privacy-conscious individuals

Impact

9 of 17

10 of 17

Live Demo

Moving to a live demonstration of the E2EE Chat Application

The Prototype

11 of 17

Innovative Features

INNOVATION 01

Stealth Mode

The Mask

Fully Functional Calculator

When minimized or exited, the app transforms into a standard, highly functional calculator. Opening it reveals nothing suspicious to the OS or observers.

The Stealth Code

You have enter your specific numerical code:

789 +

Example Stealth Code

This code will be set during your onboarding on fresh start or identity timer resets

INNOVATION 02

Multiple Routing

Green: Direct Internet

WebSocket Relays / WebRTC DataChannels. Standard operation with internet connectivity.

Purple: Bluetooth Mesh

When internet drops, routes via offline proximity mesh. No infrastructure required.

Orange: Encrypted SMS

Out of Bluetooth range? Breaks Base64 into 130-character chunks, routes via silent SMS fallback.

Wireframe

12 of 17

13 of 17

How we Approched the Problem

14 of 17

Technical Approach

The “Onion Architecture”

L1

Layer 1: Core

UI & Local Database — Flutter/SQLite

Raw message generation, reactive state management, user interface

L2

Layer 2: Security

Cryptographic Black Box — LibSodium

X3DH key agreements, AES-GCM encryption. Messages enter as plaintext, exit as scrambled bytes.

L3

Layer 3: Router Middleware

Smart State Monitoring — Logistics Manager

Examines encrypted payload, decides transport method based on environment

L4

Layer 4: Transport Adapters

WebSocket Relays → P2P WebRTC / BLE / SMS

Stateless packet forwarding. Modular & Switch b/w modes such as Bluetooth, SMS, Data based on situtation.

15 of 17

Reference

https://doi.org/10.1016/j.fsidi.2023.301585

For Anti-Forensic

https://doi.org/10.3390/fi18010013

For Relay Server

16 of 17

Future Steps

https://doi.org/10.48550/arXiv.2501.04610

For Adaptive Commu.

For Post Quantum Encryption

X22619 to PD-X22619

Attacks on Quantum Computing

Ameen

Chandransh

How Quantum Cryptography works

17 of 17

Future Development

True P2P Mesh

WebRTC + Google Nearby Connections — no relay, no server, just devices talking to devices.

SMS Fallback Commu.

Using Fragment Packet and Encryption through Carrer

BLE Fallback Commu.

Using BLE Chunks and Mesh Network, Multi-hop methord we will implement

Access Control

Token usage �

Post Quantum Encryp.

(Understanding the problem)