Skip to content

feat: Human Entropy — Gaussian noise on mouse coordinates and timing #14

Description

@Delqhi

Problem

Anti-bot systems (Cloudflare Turnstile, DataDome, hCaptcha 2026) analyze:

  • Mouse coordinate entropy (perfect center clicks = bot)
  • Click timing patterns (instant press+release = bot)
  • Movement trajectories (teleporting cursors = bot)

Our click_ref tool was dispatching instant, pixel-perfect CDP clicks — instantly flaggable.

Evidence

Solution (Implemented)

Modified click_ref in service_worker.js:

  1. Coordinate Jitter: ±5px Gaussian noise on X and Y
  2. mouseMoved first: Cursor travels to target before clicking (humans never teleport)
  3. Reaction Delay: 20-70ms random pause before mousePressed
  4. Finger Hold: 50-150ms random pause before mouseReleased

Files Changed

  • extension/background/service_worker.jsclick_ref tool handler

Acceptance Criteria

  • No two consecutive clicks land on identical pixel coordinates
  • Click timing varies between 70-220ms total duration
  • Cloudflare Turnstile does not flag the extension as bot

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions