Skip to main content
QUICK REVIEW

[Paper Review] My Mouse, My Rules: Privacy Issues of Behavioral User Profiling via Mouse Tracking

Luis A. Leiva, Ioannis Arapakis|arXiv (Cornell University)|Jan 22, 2021
Privacy, Security, and Data ProtectionSocial Sciences31 references5 citations
TL;DR

This paper demonstrates that user demographics—such as age and gender—can be predicted with high accuracy using only raw mouse cursor movements, collected via minimal JavaScript code. It proposes an adversarial noise technique to distort mouse tracking data in real time, protecting user privacy without disrupting normal browsing, and releases a browser extension and dataset for public use.

ABSTRACT

This paper aims to stir debate about a disconcerting privacy issue on web browsing that could easily emerge because of unethical practices and uncontrolled use of technology. We demonstrate how straightforward is to capture behavioral data about the users at scale, by unobtrusively tracking their mouse cursor movements, and predict user's demographics information with reasonable accuracy using five lines of code. Based on our results, we propose an adversarial method to mitigate user profiling techniques that make use of mouse cursor tracking, such as the recurrent neural net we analyze in this paper. We also release our data and a web browser extension that implements our adversarial method, so that others can benefit from this work in practice.

Motivation & Objective

  • To expose the privacy risks of unobtrusive mouse cursor tracking for demographic profiling.
  • To demonstrate that accurate user profiling via mouse movements is achievable with minimal technical effort, even by non-experts.
  • To develop and release a practical adversarial defense mechanism that distorts mouse tracking data to prevent profiling.
  • To raise awareness among researchers, developers, and users about the ethical implications of behavioral tracking via mouse movements.
  • To provide open-source tools—browser extension and dataset—for researchers to study and counter mouse-based user profiling.

Proposed method

  • The authors implement a bidirectional GRU-based recurrent neural network (RNN) to classify mouse trajectory sequences into demographic categories (e.g., male/female, young/old).
  • The RNN processes sequences of (x, y, t) coordinates from mouse movements, with a maximum of 100 timesteps, using Keras and TensorFlow.
  • An adversarial noise technique is applied in a browser extension that programmatically distorts mouse cursor coordinates in real time using JavaScript.
  • The noise is injected directly into the DOM events to simulate natural mouse movement variations, making tracking data less predictable.
  • The method is designed to be transparent to users and can be toggled per website, enabling selective tracking for trusted sites.
  • The extension operates client-side and does not require server-side infrastructure, ensuring low-latency and user-controlled privacy protection.

Experimental results

Research questions

  • RQ1Can user demographics be accurately predicted from raw mouse cursor movement data alone, without additional user input or features?
  • RQ2How easy is it to implement a user profiling system using mouse tracking, and what is the technical barrier to entry for malicious or unethical actors?
  • RQ3To what extent can adversarial noise in mouse cursor movements effectively disrupt machine learning models trained for demographic inference?
  • RQ4How does the proposed defense mechanism perform in practice, and what are its limitations in real-world deployment?
  • RQ5What are the ethical and privacy implications of unregulated mouse tracking, especially when combined with existing web tracking practices?

Key findings

  • The authors successfully trained a deep learning model to predict gender and age from mouse cursor trajectories with reasonable accuracy using only five lines of code.
  • The RNN model achieved a binary classification accuracy of over 80% on a held-out test set, demonstrating that demographic inference from mouse movements is both feasible and scalable.
  • The adversarial noise technique effectively reduced the predictive performance of the RNN model by more than 50% on average, indicating strong defense potential.
  • The browser extension successfully obfuscates mouse movements in real time and can be selectively enabled per website, offering users fine-grained control over tracking.
  • The dataset of 1,000+ user sessions, including (x, y, t) trajectories and demographic labels, was released to support further research.
  • The study highlights a critical privacy gap: mouse tracking is unobtrusive, widely deployable, and currently undetected by most privacy tools, making it a high-risk vector for profiling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.