Skip to content
Ghost Key

Ghost Key

Transparent biometrics to secure systems

Created on 13th September 2025

•

Ghost Key

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:

  1. 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.
  2. 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.
  3. 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.
  4. 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

Built kyc using gemini api fully automated using aadhar Also built one monitoring system under prd 3 and 5

Kroolo

Best Use of Gemini API

GhostKey leverages Gemini, integrated through Airia, to detect whether a face, image, or video sample is authentic or AI...Read More
Gemini

Gemini

Discussion

Builders also viewed

See more projects on Devfolio