gitpod
gitpod copied to clipboard
Limit phone number re-use for verification
Followup to #12258
Phone number verification would probably be more effective if it did not allow re-use of phone numbers across accounts. There appear to be services which provide low-friction re-usable phone numbers for circumventing verification.
Have we checked our data if this would help?
We could blacklist any phone numbers that have been used by blocked accounts.
There are a couple of things we could, and believe we should, do:
- Add a "Blocked phone numbers" tab to /admin, like we have for repositories. Allowing to add new, modify, delete numbers manually
- Look for phone numbers used too many times and block all associated accounts.
- Automatically block a phone number when the user is blocked. And unblock when the user is unblocked.
- Stop deleting the phone number when the user deletes the account, guaranteed we never use it for anything other than abuse mitigation purposes.
- Do not allow more than 3 verifications with the same phone number. More than that should require contacting support.
Do not allow more than 3 verifications with the same phone number. More than that should require contacting support. This seems pretty reasonable and would catch a lot of cases automatically while avoiding some legitimate phone number reuse scenarios.