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 30500
Build 60517: Build Difftoken-server-tests
Build 60516: arc lint + arc unit