Page MenuHomePhabricator

[cashtab-faucet, Cashtab] Add recaptcha v2 for faucet claims with borderline v3 confidence
AbandonedPublicDraft

Authored by bytesofman on Aug 12 2025, 03:43.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Continue to see some abuse of the faucet. Recaptcha v3 is best for users, since there is no required action, but it actually seems to ... simply not work. A score of 0.8 seems to exclude the most evident bots, but also makes it difficult to claim as a human.

For an improved approach, we keep v3 -- but present v2 captchas for scores that are a little on the low side.

Test Plan

npm test, will need to deploy and monitor to see if this improves things for users / bot abuse

Diff Detail

Repository
rABC Bitcoin ABC
Branch
better-captcha
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 34121
Build 67711: Build Diffcashtab-tests · cashtab-faucet-tests
Build 67710: arc lint + arc unit

Event Timeline

need some kind of solution here but still thinking about the best approach. will probably be important to also support mobile app. So maybe we don't want recaptcha at all, or maybe some other approach.