Xetera / ghost-cursor

🖱️ Generate human-like mouse movements with puppeteer or on any 2D plane
MIT License
1.03k stars 120 forks source link

Potential big flaw: mouse grab shake is missing #117

Open TheGP opened 7 months ago

TheGP commented 7 months ago

I think I found an important piece of the puzzle that is missing in such libraries. And probably can be used to detect bots quite easily.

When we fill out the form we usually move our mouse hand to the keyboard to assist another hand in typing, Therefor after the typing we have to grab our mouse back.

Because the mouse bounces between the fingers in the hand it produces sharp movements, which are not similar to random movements.

Try it yourself, release ur mouse, and grab it back.

It potentially differentiates on the weight of the mouse, not just a person.

In the attachment below results of grabbing the mouse multiple times after typing (recording with my tool https://reviewer.eugenebos.com/automation-test can press "+" button on a keyboard to start recording and again to pause and then click show trail).

P.S. I'm writing it because I'm curious about your thoughts, as well as how other people grab their mouses and maybe ideas for implementation.

MergedImages