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

A number is added or changed on an existing account

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.

Account recovery is initiated

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.

A high-value action follows a recent change

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

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.

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

Request
GET https://app.telebase.io/v1/lookup?phone=%2B447700900002
Authorization: Bearer tb_test_xxxxxxxxxxxxxxxxxxxxxxxx
Response, 200 OK
{
  "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

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.

SIM swap detection

Telebase detects recent SIM swaps with a single API call. Carrier, country, number type and number validity are returned in the same call and cover the number-change check described on this page. Create a sandbox account to get started.

Get sandbox access