Recaptcha v3 always returns a 0.9 score
I have a problem with recaptcha V3, always return request is 0.9 score and this a problem? keep sending the form.
Same problem with my site
Happens to me too
Happens to me too.
@AOlivar - could you edit te tile to something like "Recaptcha v3 always returns a 0.9 score"? That might be easier to read.
UPD: 2 of 11 users got score 0.3. That was static score(at least for 20-30 minutes stayed the same). Other 9 users has gotten score of 0.9 (also static)
What I did was open my site in incognito mode. never hovering or interacting with the website. I had developer tools opened, and using the console & selector I clicked a button which calls the recaptcha. I still got 0.9.
@atlanteh as far as i understend it uses your ip adress and seraches for actions from google-included websites or google itself. I may ask you to use proxy and try it again.
It doesn't seem right. If I'm behind a router, all the computers will have the same external ip address.
Nonetheless it looks like it's working this way... (based on my little research doing more "actions" doesn't change score anyhow)
I also get always 0.9 but only on Chrome, with IE I always get 0.1 and always 0.3 on Edge. By using console to navigate on Chrome and still have 0.9...
One of my users is using(!) Chrome 63, but he's getting 0.3 score
@sliterok I'm using Chrome 66
Same problem here. I always get 0.9 score. Is it normal?
This is more of a question with the reCAPTCHA service rather than the client library, but that said I'll add a personal opinion.
So, this isn't a definitive answer, but I wouldn't be worried about not receiving a 1. Consider it like a probability score where 1 would mean with absolute certainty this is not a bot. That can never be guaranteed, so a 1 would never happen. It's probably safe to work on the assumption you're getting a probability score rounded down to the nearest 0.1.
Me too. I want to check case score 0,1 -> 0,5. But Recaptcha v3 always returns a 0.9 score.. How to do it?
A few things on this:
- You can see the range of scores being returned for requests on your dashboard: https://www.google.com/recaptcha/admin#list
- I get a lower score on my phone if I run in a browser I don't normally use, in incognito or private mode, and through a VPN. Trying a combination of things like this may result in a different score.
- For a testing environment though, you should set up your own mock service that returns different values. You can do this either by creating something that implements
RequestMethodor by creating a mock service on a different URL and pass that in to yourRequestMethod.
Just for those testing under "incognito"... reCaptcha is not for separating good users from bad users. It's for separating "human" users appart from "bot" users. reCaptcha is just one singular instance of any generic Captcha. And Captcha means "Completely Automated Public Turing test to tell Computers and Humans Apart".
Here the key is "telling computers and humans apart".
So to make it fail, you don't have to test it against an incognito. You are still a human behind that incognito. And that's correct. If you have a real user entering your site from an incognito you want to test it as human and allow him.
Instead, try to enter via an automated client, like CURL or even PhantomJs or Selenium.
Then you'll probably get lower scores.
If you want to test incognitos, just play with cookies. Captcha does much more things. One of the things Captchas can do is to bind to the mouse-move events and track how do you "stroll the mouse" over the canvas before clicking the submit button, record a "hash" of the movements and check the hash is not in a database. If you are Selenium, you just click, you don't "move the mouse simulating a human". And if a hacker makes selenium to move the mouse, the pattern can be recorded and checked. For a human it's absolutely impossible to move the mouse two times in the same page tracing the very same pixel-journey.
So... just guys... make it easy... this is an score... Over 0.5 human, less than 0.5, ban it. Over time adjust the threshold to your site needs... if you receive many 0.48 that were "good users" because your users for example typically use weird IPs but that's okey, lower the threshold.
Neither you are a perfect 1.0 (nor me), nor a bot is a perfect 0.0.
This is one of the major changes from v2 to v3. In v2 it was black or white. In v3 it's a shade of gray. Pick your own threshold and confide in people behind the AI of the turing test.
any ideas why I'd get 0.9 with chrome headless on an incognito context ? this classify enough as a bot for me. I tried using different ISPs to change the connection, and still get 0.9. The website I am testing does an alert(score); of the score returned by recaptcha v3:
const puppeteer = require('puppeteer');
async function doit(browser) {
const context = await browser.createIncognitoBrowserContext()
const page = await context.newPage();
const result = new Promise((resolve) => {
page.once('dialog', (dialog) => {
console.log(dialog.message());
resolve();
});
});
await page.goto('https://a-website.com/');
return result;
}
(async() => {
const browser = await puppeteer.launch();
const operations = [];
for(var i =0 ; i < 10 ; i++ ) {
operations.push(doit(browser));
}
await Promise.all(operations);
await browser.close();
})();
Indded. If it's an "autoamted test" it "should" give low score. Shouldn't it?
Same with me used selenium automated test with bunch of console command executions still 0.9