Account takeover
Screening the number change: the recovery flow nobody instruments
Most teams screen a phone number once, at sign-up. The higher-risk moment comes later, when someone changes the number on an existing account or recovers access, because that is where an attacker turns a stolen password into lasting control. Running the same carrier, number type and number validity check on the incoming number costs one lookup.
Why the attack moved here
Login has been getting harder for several years. Passkeys, hardware keys and device binding all raise the cost of a straightforward credential attack, and the firms with the most to lose have adopted them first. Recovery has not hardened at the same rate, because recovery exists precisely to help people who have lost their second factor, and every control added there locks out genuine customers.
So the attack moves. Rather than defeat the second factor, an attacker changes it: update the phone number on the account, wait out any cooling-off period, then use the ordinary reset path. From the system's point of view every subsequent step is legitimate. This is the same destination as SIM swap reached by a different route, and it needs the same suspicion.
The three moments worth a lookup
Screen the incoming number before you accept it as a contact method, not after. This is the highest-value single check on the list, because it is the step the attacker needs and the step almost nobody instruments.
Screen whatever number the recovery flow is about to trust, whether that is the number on file or a new one being presented. If the number on file now returns a different carrier or country from the one you captured, that is worth knowing before you route a code to it. The same logic applies to every code you send, as covered in how to detect a SIM swap before sending an OTP.
The number change and the withdrawal are rarely the same session. Carrying a "contact details changed recently" flag into the payout decision is what connects them, and it is a change to your rules rather than a new integration.
What a risky incoming number looks like
- tollFree or premium. These are rarely a genuine personal contact number and are a strong candidate for a hold.
- Not confirmed as valid. An
activevalue ofnullmeans the provider did not confirm the number, which is a poor basis for a recovery destination. - Country change without any supporting context. A number in a country unconnected to the rest of the account, arriving at the same time as other profile edits, is a cluster worth reviewing rather than a single flag.
The pattern that matters is the combination. A single flag is weak evidence. A country change on a dormant high-balance account, minutes after a password reset from a new device, is not really about the number at all: the number is the piece that makes the rest legible.
A starting rule set
Thresholds below are a starting point for a team that has nothing here yet, not a tuned model. Anyone claiming to know the right numbers for your book without seeing it is guessing. Our guide to building a risk score from telecom signals covers weighting them properly.
- Incoming number is tollFree or premium: hold the change, require a stronger verification step.
- Incoming number returns
active: null: do not accept it as a contact method yet, and ask for another number. - Incoming number is a mobile on a major carrier in the expected country: proceed, and record the values so you have a baseline for next time.
That last line matters more than it looks. Recording carrier and number type at the point of change is what lets you compare later, and gives the account a history rather than a single stale snapshot.
Example call
GET https://app.telebase.io/v1/lookup?phone=%2B447700900002 Authorization: Bearer tb_test_xxxxxxxxxxxxxxxxxxxxxxxx
{
"phoneNumber": "+447700900002",
"active": true,
"carrier": "Telebase Test Carrier",
"country": "GB",
"numberType": "mobile",
"simSwap": "NO_SWAP",
"simSwapAt": "2026-09-22T09:16:03.003Z",
"simSwapPeriod": "PT240H",
"_meta": { "environment": "test", "activeSource": "SYNTHETIC" },
"chargedCents": 0,
"currency": "EUR"
}
One call, synchronous, inside the request that processes the change. If you already screen at sign-up, this is the same integration pointed at a second event.
What this check does not do
- It does not prove the person making the change is the account holder. It tells you whether the number they are presenting behaves like a real customer's number.
- It does not replace step-up verification. It tells you when to demand it, which is the harder question.
- Screening the incoming number does not tell you whether the number already on file was recently swapped. Run a separate lookup on that number and read the
simSwapfield.
Used well, it belongs alongside device and behavioural signals rather than instead of them. Our page on protecting OTP and SMS 2FA flows covers the surrounding controls.
Get sandbox access