Page MenuHomePhabricator

[token-server] Reject queries with insufficient recaptcha score
ClosedPublic

Authored by bytesofman on Oct 4 2024, 16:29.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
token-server-captcha-score
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 30499
Build 60515: Build Difftoken-server-tests
Build 60514: arc lint + arc unit