Chameleon Logo Chameleon
Deep Dives 8 min read • 2026-09-17

Keylogging Heuristics: How Interview Platforms Analyze Keydown Intervals & WPM Spikes

In-depth study of telemetry heuristics in online assessment engines. How HackerRank, CoderPad, and CodeSignal analyze typing cadence to detect external assistance.

C
Chameleon Research Lab VERIFIED

Online assessment platforms deploy statistical behavioral telemetry to identify non-authentic submissions. Understanding how client-side heuristics analyze typing patterns is vital for maintaining compliance.

Client-Side DOM Event Listeners (keydown, keyup, input, paste)

Assessment portals intercept key events and build a timestamp vector. Metrics logged include typing speed spikes (e.g., jumping from 40 WPM to 350 WPM) and instant paste insertions.

Statistical Outlier Detection: The Gaussian Curve of Human Typing

Human typing exhibits a natural log-normal flight time distribution with variance depending on digraph familiarity. Algorithmic anti-shortcut flags uniform mechanical cadences.

Synthesized Input Injection vs. Native OS Hardware Keycodes

Chameleon uses native operating system input synthesis (CGEventCreateKeyboardEvent on macOS, SendInput with KEYEVENTF_SCANCODE on Windows), generating authentic hardware events with natural jitter.

Excluding Algorithmic Plagiarism Scanners (MOSS)

Never submit raw AI outputs. Modify algorithmic structures, reorder independent helper functions, and use idiomatic naming to guarantee unique AST tokenization.

Frequently Asked Questions

Can web editors distinguish between physical typing and software typing?
Web editors inspect JavaScript KeyboardEvent properties (isTrusted, key, code). Synthetic events generated via web scripts have isTrusted=false, whereas OS-level simulated hardware events appear authentic.
What triggers MOSS (Measure of Software Similarity) alerts?
MOSS looks for tokenized AST (Abstract Syntax Tree) matching. Even if you rename variables, if the AST structure is identical to a known solution, it flags high similarity.