Forgot your password?
typodupeerror
The Internet Privacy

Cloudflare Precursor Watches Your Mouse and Keyboard To Decide If You Are Human (nerds.xyz) 87

BrianFagioli writes: Cloudflare has launched Precursor, a new behavioral bot detection system that monitors mouse movement, typing cadence, scrolling, clipboard activity, page visibility, and other signals across an entire browsing session. The system is designed to catch advanced bots that can run JavaScript, use real browsers, and pass traditional CAPTCHA challenges. Cloudflare says Precursor does not record actual keystrokes and instead studies timing and rhythm. The company also says the data is not tied to user identities or persistent profiles. Even so, software that watches how people move and type throughout a visit raises privacy concerns, especially as Cloudflare claims bots now generate roughly 57 percent of all Internet requests.
This discussion has been archived. No new comments can be posted.

Cloudflare Precursor Watches Your Mouse and Keyboard To Decide If You Are Human

Comments Filter:
  • People do the same. (Score:4, Interesting)

    by gurps_npc ( 621217 ) on Monday July 13, 2026 @02:13PM (#66236564) Homepage

    Everyone my age knows what the stereotypical 'robotic' voice is. They changed it because they wanted to hide the fact you were talking to a machine.

    We all know that a mouse moving in a perfectly straight line means a machine is controlling it, while humans do something more like a squiggly line. Basically a normal human drawing a line looks like someone with Parkinsons did it as compared to what a machine drawing a line looks like.

    Similarly, humans typing have pauses that tend to end after set thoughts. New sentence = a pause. If I am seeing a long unbroken, steady text output or text that all appears in full sentences quickly, I know it is a machine.

    • by clive27 ( 889511 ) on Monday July 13, 2026 @02:17PM (#66236572)
      Sounds incredibly easy for bots to add some randomness to its movements and typing speed.
      • I guess Antigravity (the IDE) has no problems with Googles Antigravity to remote control my browser and solve most CaptChas for me.

        Yesterday I had a funny CaptCha failure, had to repeat it like 5 times. The items it wanted me to click simply were not as often in the pictures as "the algorithm" thought there should be.

        Took ten minutes to finally get through ...

      • Indeed it would sound very easy, except that human movements aren't random, and with proper statistical models it's quickly possible to determine someone who didn't know the difference between natural restricted and biased variance and randomness.

        You're the target audience here: the people who think that this "sounds incredibly easy" will be the first to have their bots blocked. Yeah it'll be worked around, but the bar is raised in the meantime.

        • Indeed it would sound very easy, except that human movements aren't random, and with proper statistical models it's quickly possible to determine someone who didn't know the difference between natural restricted and biased variance and randomness.

          You're the target audience here: the people who think that this "sounds incredibly easy" will be the first to have their bots blocked. Yeah it'll be worked around, but the bar is raised in the meantime.

          You're not wrong. But the same data that describes what is and isn't human input can be used to create activity that matches that data. If Cloudflare has gathered the information, someone else can as well.

          This mirrors the spam arms-race that started a couple decades ago.

          • Worth noting we've already done this. ReCaptcha has used input characterisation for a long time now. Again I didn't disagree it'll be worked around, just that it won't be as easy as people think.

            There's a difference between capturing and replaying data (something that will be easily detected, humans are biased but still have variance), and properly generating a human looking input. This is harder than people think.

      • by higuita ( 129722 )

        yes, but humans aren't random... so linear speed is a bot, totally random is a bot. Add that info from multiple inputs like cloudflare is doing and probably can guess within a error margin if it is a bot or a human... hey, even if it fails to detect 50% of the bots, it is already 50% less traffic arriving to a site.
        Sadly there is no way to detect 100% of the bots/humans, but every hint helps.
        Of course, people using bots could be much nicer and use correct user-agents to identify thyself and allow sites to

        • by allo ( 1728082 )

          If you record your mouse movements yourself, it should be very simple to train an AI to generate similar paths. A transformer or even LSTM with source, target and previous way points should be able to predict the next "natural" waypoint if you train it on a few thousand (maybe even a few hundred) traces. The funny thing is, that the network you need is probably quite similar to the network Precursor may be using to verify if it is natural or not.

          • by higuita ( 129722 )

            sure, but again, if it blocks 50% of the bots, it is 50% less bots arriving and more resources that the remaining 50% have to use in order of not being blocked. For sure cloudflare will have other detections too! like a onion, many layers, there isn't one that solves all, but all together can make a good filter

      • Sounds incredibly easy for bots to add some randomness to its movements and typing speed.

        Sure, but are bots still economically feasible if they run as slow as humans?

      • by allo ( 1728082 )

        Common browser automation tools already have plugins for that. But Cloudflare isn't stupid either, the current standard techniques probably won't work. But I won't bet they win the game in the long run.

    • by Misagon ( 1135 )

      We all know that a mouse moving in a perfectly straight line means a machine is controlling it [...]

      Unless your mouse has angle snapping or is a wireless mouse and there is movement lag because of interference.

    • by AmiMoJo ( 196126 )

      Sucks for people with accessibility issues though. Moving the mouse in a straight line, say because they have a joystick or their eye tracking software interpolates, is going to get them blocked or forced to do a long captcha challenge that isn't very accessible either.

  • by 93 Escort Wagon ( 326346 ) on Monday July 13, 2026 @02:23PM (#66236588)

    Safari and Firefox would likely block this, given it's a third party JavaScript tool.

    • Block Cloudflare, maybe? But if I re call correctly I am starting to see sites that won't render until you unblock Cloudflare
      • by anoncoward69 ( 6496862 ) on Monday July 13, 2026 @03:20PM (#66236734)
        Pretty much all of the "useful" internet is going though cloudflare these days. The whole platform just a massive CIA/NSA/FBI MITM attack.
        • ""useful" internet" maybe? But "Corporate/Government Internet" might be more accurate.
          • Cloudflare has a free plan that most of the little mom and pop websites use.

            • by allo ( 1728082 )

              I wonder what they gain from the free plan. It can't be that they think companies wouldn't know about Cloudflare if they would not have a free plan for mom and pop's site. I guess it is more like they can, for example, collect a lot of mouse movement information on the sites behind free Cloudflare to train their detection on how current bots move the mouse and how humans do. And you're happy if it's only mouse movement they collect.

    • by higuita ( 129722 ) on Monday July 13, 2026 @04:02PM (#66236844) Homepage

      you know that these features already exist in javascript and are commonly used to monitor user behavior, either for ads or for study how you interact with sites?!

      https://developer.mozilla.org/... [mozilla.org]

      the only difference here is that this is being used to check for bots and cloudflare announced it... most other companies use this and do not announce it

      • I wonder how many times law enforcement has subpoened the stats to identify individual users - if it's not already been done, it's coming...
        • by higuita ( 129722 )

          there are probably better ways than identify users by mouse/keyboard data...
          chrome for instance have a unique ID in every browser, so google can identify that browser no matter if you clean cookies, create new profiles or even use different users in your machine. the browsers id is the same and set during download.
          That is why chromium also have to have a google id to access google services and de-googled chromium can't access those services, because without the ID, they will refuse to work

    • It would run on any modern browser that runs javascript because it's just a JavaScript script that monitors everything you're doing. It's also nothing new browser fingerprinting has been around for ages and is used by basically any website of any size to try and catch bots.

      I'm actually a little surprised they didn't already have a fingerprinting product.
      • I suspect GP's point is that every malware blocker in every browser is likely to treat this kind of script as hostile, except for Chrome because Google are currently nerfing the ability for blockers to intercept hostile scripts in one of the most blatantly user-hostile changes they've ever made.

        If Apple play along with Safari then every other browser and its malware blocking plugins are about to be toast in a huge retrograde step for Internet privacy. But not even Cloudflare is going to get away with blocki

        • by BeaverCleaver ( 673164 ) on Monday July 13, 2026 @11:26PM (#66237340)

          Did anyone mention recently that simultaneously controlling both the most popular web browser and several of the most popular ad-supported web properties might be a little anticompetitive, and that it's about time that Google was broken up? It's probably time for that drum to start beating a bit louder again.

          I remember when Microsoft got hit with an anti-trust suit because they bundled the browser with the OS. Here in 2026 Google owns the browser, the OS and the search engine. If you're on a chromebook or a Pixel they also control the hardware. Why is this allowed?

          • by Whibla ( 210729 )

            Did anyone mention recently that simultaneously controlling both the most popular web browser and several of the most popular ad-supported web properties might be a little anticompetitive, and that it's about time that Google was broken up? It's probably time for that drum to start beating a bit louder again.

            I remember when Microsoft got hit with an anti-trust suit because they bundled the browser with the OS. Here in 2026 Google owns the browser, the OS and the search engine. If you're on a chromebook or a Pixel they also control the hardware. Why is this allowed?

            For a particular definition of 'allowed', I guess the answer is: because they pay for it... [bbc.co.uk]

            "Europe's top court has ruled Google must pay a €4.1bn (£3.5bn) fine handed down for using its Android mobile operating system to block rivals.

            When the fine was first announced in 2018, it was alleged there were three ways in which Google had acted illegally:

            [1] - requiring Android handset and tablet manufacturers to pre-install the Google Search app and its own web browser Chrome as a condition of allowing

            • For a particular definition of 'allowed', I guess the answer is: because they pay for it... [bbc.co.uk]

              I hadn't seen that, thanks for the link.

              • ... and fittingly, gotta turn off Javascript to view the link. Best sort of paywall, though -- the variety you can opt out of with one click.

                • ... and fittingly, gotta turn off Javascript to view the link. Best sort of paywall, though -- the variety you can opt out of with one click.

                  It worked OK for me. I'm using PiHole with the default settings, no adblocker. I find the BBC too infested with ads to use without something to reduce the ads.

          • by AmiMoJo ( 196126 )

            Two reasons it's allowed.

            1. The iPhone sells well.

            2. Android lets you replace most of the OS, including core parts like Google Play Services.

            There is definitely a case for requiring better interoperability where people do things like replace Play Services and then find that their banking app won't open because there is no way to tell it that the device is secure, but it's mostly enough to ward off Microsoft style anti-trust issues.

    • by ls671 ( 1122017 )

      Safari and Firefox would likely block this, given it's a third party JavaScript tool.

      I am not sure it would be considered a "third party JavaScript tool". Once you gave the key to your domain to cloudflare, the domain resolves to a cloudflare IP and cloudflare act as a reverse proxy contacting to your site thus enabling them to inject any javascript without being viewed as third party.

  • by Anonymous Coward

    I shouldn't have to unblock nefarious Javascript on a random website to provide I am human.

    If you're worried about bots, don't punish humans.

    This company is fucking EVIL.

    • by Kernel Kurtz ( 182424 ) on Monday July 13, 2026 @02:35PM (#66236612)

      I shouldn't have to unblock nefarious Javascript on a random website to provide I am human.

      If you're worried about bots, don't punish humans.

      This company is fucking EVIL.

      People use Cloudflare because otherwise crawlers, mostly AI, make their websites unusable. Punish the people running the bots, not the people trying to protect themselves.

      • Well, this whole cloudfare crap also makes their websites unusable.

        • by higuita ( 129722 )

          why? what is your problem with it?

          yes, the captchas are annoying, but cloudflare already did their best to avoid showing them and make then as easy as click a box (instead of select 3 or 4 times images or try to read some distorted letters/numbers)
          Yes, they are big and control many site traffic, that is a danger, but mostly to the sites, not the user... but they are also big because they work well and are much cheaper than most alternatives (that usually even perform worse)
          Yes , a site without it would be b

          • Click a box, then click it again, and again and again only to see the message "your browser is not supported by cloudfare". Fuck them. If the website owner doesn't want me to see their website, then so be it.

            • by higuita ( 129722 )

              yes, i agree that is annoying and is also my main complain about cloudflare captchas.
              I understand that part is cloudflare fault, by testing many browser corner cases and so they target the latest browser versions to match their statistical distribution
              another part is site owners, that may have enable the "required up to date browser" in cloudflare settings
              and finally a part is user fault, many people use browsers "requiring updated" for weeks... at least from my experience, i see many people in meetings wit

          • by AmiMoJo ( 196126 )

            I find that Anubis is a lot, lot less of a pain in the arse than Cloudflare's captchas. Usually I said right through Anubis in a second or two. Cloudflare usually requires at least a click, and often a stupid game.

            • by higuita ( 129722 )

              agree, but anubis doesn't really work on everything...

              anubis waste resources and slow down requests, this protect against normal scrapers and AI... but i doesn't protect against attacks. if the host is yours, anubis forces you to waste more money, but attacks use someone else resources, they use infected devices all over the place, so if their CPU is 100% or not, it doesn't matter much... yes, it may still slow down the attack, but the attack can bypass it by just adding more vulnerable hosts if really need

      • by Rujiel ( 1632063 ) on Monday July 13, 2026 @03:11PM (#66236708)

        This overlooks the spam traffic coming from cloudflare. Also cloudflare was an actual intelligence project (quoted here):

        https://www.devever.net/~hl/cl... [devever.net]

        "Back in 2003, Lee Holloway and I started Project Honey Pot as an open-source project to track online fraud and abuse. The Project allowed anyone with a website to install a piece of code and track hackers and spammers. We ran it as a hobby and didn't think much about it until, in 2008, the Department of Homeland Security called and said, 'Do you have any idea how valuable the data you have is?' That started us thinking about how we could effectively deploy the data from Project Honey Pot, as well as other sources, in order to protect websites online. That turned into the initial impetus for CloudFlare."

  • by eneville ( 745111 ) on Monday July 13, 2026 @02:33PM (#66236606) Homepage

    The thing about computers is they can use machine learning until they generate randomness algorithms that work.

    • by allo ( 1728082 )

      And cloudflare itself is giving them the reinforcement learning signal they need.

  • I understand the advertisement industry had been engaging in this, to help identify your typing cadence, mouse move, etc. This is something I read a long time ago, so the technique is not new; and I can only imagine what else they can infer from this data.

  • And it always flags me as a bot because I type too damned fast. Or click to fast.

    • by HiThere ( 15173 )

      It also seems calculated to discriminate against handicapped folks that need mechanized assistance...but I may be wrong.

      • by ebunga ( 95613 )

        You're almost certainly not wrong. And if they can find a way to block women by accident they'll probably do that too.

  • Cloudflare has launched Precursor, a new behavioral bot detection system that monitors mouse movement, typing cadence, scrolling, clipboard activity, page visibility, and other signals across an entire browsing session.

    Nothing nefarious here, no potential for abuse, move along, move along.

  • So what about people that don't use the mouse but use touchscreens?

    • by higuita ( 129722 )

      it is the same, you press a random place in the area, not a exactly the center pixel.
      when you type, you also have a distinct timing, not a constant speed
       

  • by kyoko21 ( 198413 ) on Monday July 13, 2026 @03:46PM (#66236800)

    How does it interact with 508 and accessibility type devices/software like JAWS and other screen readers?

  • by guygo ( 894298 ) on Monday July 13, 2026 @03:50PM (#66236812)

    You have been deemed a non-person because you are not random enough for us. Your death certificate should arrive in the mail within two weeks.

  • At this point, webmasters should accept very short lived client TLS keys signed by neutral third parties who take care of the proof of humanity on their behalf. Since security requirements for most websites are low, even places like libraries could issue them if needs be, and webmasters could choose how many or how few authorities they trust. The standard could be used creatively such that Valid To field is used purely as an limiter for initiating trust for the first time, providing convenience to users whi
  • I will then use similar tools in my nefarious scripts to pretend that they are human.
  • I bet I can write a client that matches exactly the intended behaviour.

    If it's in software, it can be emulated.
    If it is not, it can be emulated anyway.

    The problem is the server-side, not the client.

  • More than 35 years ago, well before the Internet, BBSes ruled.

    One I was a pillar of was nothing but a wall where you would post anonymously (or not).
    The software was written to verify the typing rate to make sure that no text was uploaded

    CHALLENGE ACCEPTED!

    I wrote a special terminal program that would randomize the time between characters to foil that BBS's rejection of uploads...

    (Oh, it worked, and the dude running the show never found out).

Those who can't write, write manuals.

Working...