Ghost Key
Transparent biometrics to secure systems
Created on 13th September 2025
•
Ghost Key
Transparent biometrics to secure systems
The problem Ghost Key solves
Passwords are the weakest link in online security. They can be stolen, guessed, or phished, and even two-factor authentication (2FA) isn’t always effective against sophisticated attackers. Traditional authentication methods often force users to choose between security and usability, either the system is easy to use but unsafe, or it’s secure but adds friction.
GhostKey solves this problem by making authentication:
• Invisible → Users simply type naturally, and GhostKey verifies them using their unique keystroke rhythm.
• Safer → Attackers can’t copy typing dynamics or voice patterns, making credential theft useless.
• User-friendly → No extra tokens or codes required — security is built directly into the way you type and speak.
• Privacy-first → Models are stored locally per user, with no raw keystrokes or voice data shared.
Challenges we ran into
Building GhostKey came with several technical and design challenges:
- Feature Engineering for Keystrokes
Capturing raw keystrokes and converting them into meaningful features such as hold time, flight time, and error rate was difficult. Initially, the model overfit because of inconsistent input sizes.
Solution: We implemented a padded fixed-length vector (inputDim = 34) and standardized data preprocessing to keep samples consistent. - Custom Autoencoder Training in TypeScript
Instead of relying entirely on TensorFlow, we built a custom autoencoder training loop from scratch in TypeScript. Debugging weight updates and ensuring gradients worked properly was a major challenge.
Solution: We logged reconstruction errors per epoch, tested with small synthetic datasets, and validated results against TensorFlow.js to confirm correctness. - Voice Biometrics Integration
Extracting MFCC and spectral features in the browser was resource-intensive. The Meyda library sometimes produced unstable results depending on microphone input quality.
Solution: We added averaging across multiple samples and built a robust similarity score by combining spectral and MFCC features to smooth inconsistencies. - Privacy and Storage
We wanted to ensure that no sensitive keystroke or voice data was stored in plain form. Balancing functionality with a privacy-first design was challenging.
Solution: We introduced a privacy mode to discard raw data after training and stored only lightweight JSON models per user.
Tracks Applied (2)
Best Build for Kroolo
Kroolo
Best Use of Gemini API
Gemini

