HomePhabricator

[token-server] Reject queries with insufficient recaptcha score

Description

[token-server] Reject queries with insufficient recaptcha score

Summary:
Now that we have the data from yesterday, can see that most "success" recaptcha queries had a low score.

Implement a threshold. In local testing, sometimes I get as low as 0.7, so use this as a threshold. Most queries from suspected bots lower than this.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D16858

Details

Provenance
bytesofmanAuthored on Oct 4 2024, 16:28
bytesofmanPushed on Oct 4 2024, 17:32
Reviewer
Restricted Project
Differential Revision
D16858: [token-server] Reject queries with insufficient recaptcha score
Parents
rABC6a3ec8fdc5f4: [token-server] Improve recaptcha handling
Branches
Unknown
Tags
Unknown