Blog
SMS pumping fraud: how it works and how to stop paying for fake codes
How SMS pumping, or artificial inflation of traffic, turns your verification form into a revenue source for attackers, and the checks that make it unprofitable.
Updated 2026-11-24
SMS pumping is a fraud in which attackers use your forms to send text messages to numbers they profit from, and you pay for every one. The industry body GSMA describes the practice as artificial inflation of traffic (AIT). It is not an attack on your users. It is an attack on your messaging bill, and it works because a verification form is, by design, an unauthenticated way to make you send an SMS.
How the scheme works
The scheme needs one fact about how messaging is paid for: sending a message costs you money, and money moves down the chain to the network that delivers it.
- The attacker finds a form that sends a code. Signup, login, password reset and "text me the app link" all qualify. Anything reachable without an account is best.
- A script submits numbers on a chosen route. The numbers belong to a destination where terminating a message pays well, or to numbers an accomplice controls.
- Your platform sends the codes. It does not know the numbers are not users. Each message is billed to you by your messaging provider.
- The terminating side earns from the traffic, and a share goes back to whoever arranged it. This revenue-sharing step is what makes the fraud profitable.
- Nobody ever types the code. The attempt expires, and the script moves to the next number.
The victim pays for volume that never helped a customer. The mechanism does not need any breach of your system. It needs a form that sends too easily.
What it looks like in your data
You cannot see the revenue share, but you can see the shape of the traffic.
| Signal | What it looks like | Why it points to pumping |
|---|---|---|
| Destination mix | A spike in sends to countries where you have no users | Real signups follow your customers |
| Number patterns | Many numbers in one prefix, or in sequence | People do not sign up in numeric order |
| Conversion | Codes sent keep rising while codes entered do not | Bots never read the message |
| Timing | Bursts at regular intervals, often at night | Scripts run on a schedule |
| Source | Many requests from hosting-network addresses, or one address with many numbers | Real users sit on home and mobile networks |
| Accounts | Many sessions that never complete the signup, or share one device | Pumping needs the send, not the account |
The best single indicator is conversion, the share of sent codes that users complete. Track it per country and per number prefix. A normal figure for your product is a baseline you build from your own traffic, and any lasting drop is the alarm.
Why a bare verification form is easy prey
Three defaults make forms vulnerable:
- No cost to the attacker. A request needs no account and no payment.
- The send happens before any judgment. The number is texted as soon as it is submitted.
- One request maps to one message. There is no limit on how many an address, a session or a number can trigger.
Every defence below removes one of these.
Defences, in the order to build them
1. Choose who you send to
Keep a list of the countries where you have customers and send codes only there. For every other country, offer another channel or manual review. This one rule removes most of the money on offer, because attackers choose destinations by payout, not by your customer base. Review the list when your business changes.
2. Validate the number before any message
Check the number against the numbering plan and the line type before you pay to send. With the Qelka phone API:
- Refuse numbers that are not valid, so impossible numbers cost nothing.
- Refuse
premium_rateandshared_costnumbers, which no signup should send a code to. - Decide your policy for
voipandlandline: a landline cannot receive a text, so sending to it is a pure cost. - Store
e164, so the same number written two ways counts once in your limits.
The basic check costs 1 credit and never touches the phone network, so it is far cheaper than a message. See phone number validation. Be honest about its reach: many pumped numbers are valid ordinary numbers, so validation is a floor, not a ceiling.
3. Limit by number, by session and by network
Rate limits should sit on every dimension an attacker has to vary:
| Limit | Example | Stops |
|---|---|---|
| Per number | 3 codes per hour, then a cooldown | Hammering one target |
| Per account or session | 5 sends per day | A single script session |
| Per IP address and per ASN | A low ceiling for hosting networks | Bulk submission from one place |
| Global per country | A daily cap on sends to each country | Runaway spend |
Pick the numbers from your own traffic, not from ours. Rate limiting explains the mechanics.
4. Add friction before the send, not after
Put a challenge between the form and the SMS: a CAPTCHA, a proof-of-work or a confirmation by email. A message that has been sent is paid for, whether or not the attempt succeeds. A step that happens earlier costs the attacker time and costs you nothing.
5. Use the IP as a signal
An address that belongs to a hosting network, a Tor exit or a known proxy network is more likely to be a script than a person. The IP API returns asn.type, four flags and a risk score. Use them to require an extra step, not to ban outright, since real users sit behind VPNs too. IP fraud score shows how to read them, and residential proxies, which carry no flag, are covered in residential proxies.
6. Cap the damage
Set a daily budget per country in your messaging provider's console, or in your own code, and alert when it is half spent. A cap does not stop the fraud. It stops the invoice.
7. Offer other ways to verify
If an email code, an authenticator app or a passkey does the job, make that the default and keep SMS for the cases that need it. Every flow that does not send a message is a flow that cannot be pumped.
A gate in front of the send
The check below runs on your server before you ask your provider to send a code. It validates the number, applies your country rule and looks at the client address.
const API = 'https://api.qelka.com/v1'
const allowedCountries = new Set(['US', 'CA', 'GB', 'FR', 'DE'])
async function lookup(path, body) {
const response = await fetch(`${API}/${path}`, {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify(body),
signal: AbortSignal.timeout(5000),
})
return response.ok ? response.json() : null
}
export async function mayTextCode({ phone, country, ip }) {
const number = await lookup('phone', country ? { phone, country } : { phone })
if (!number) return { send: false, reason: 'lookup_failed' }
if (!number.valid) return { send: false, reason: 'invalid_number' }
if (!allowedCountries.has(number.country.code)) return { send: false, reason: 'country_not_served' }
if (['premium_rate', 'shared_cost', 'landline', 'pager', 'voicemail'].includes(number.line_type)) {
return { send: false, reason: 'line_type' }
}
const address = await lookup('ip', { ip })
const risky = address && (address.risk.level === 'high' || address.flags.datacenter)
return { send: true, e164: number.e164, challenge: Boolean(risky) }
}
Two choices in that code are deliberate. When the lookup fails, it does not send: a code is a paid action, so the safe failure here is to hold it, and the user can retry. And a risky address does not block the request, it sets challenge, so the caller can ask for a CAPTCHA or an email step first. Note that the ip call returns a 422 for private addresses such as 127.0.0.1; in local development, treat that as no signal. Combine the gate with the per-number and per-IP limits above; the gate alone does not count requests.
Mistakes that keep the fraud profitable
- Counting only per IP. Attackers rotate addresses. Limit per number and per account as well.
- Allowing every country by default. A country list is the cheapest control you have.
- Sending first and validating later. The message is gone and paid for by then.
- Treating
validas safe. A valid number can still be an attacker's number. - Alerting on cost only. By the time the bill moves, the damage is done. Alert on conversion and on sends per country.
- Blocking VPN users. Add a challenge instead; the people behind VPNs are often real.
A note on figures
You will see large loss numbers quoted for SMS fraud. We do not repeat them here, because we could not tie them to a primary source we can link. What you can measure is your own: sends per country, conversion per prefix and spend per day. Those are the figures that tell you whether you are being hit, and whether a control works.
Where to go next
- Stopping fake signups combines email, phone and IP checks.
- Validate phone numbers in a signup form shows the form side.
- SMS deliverability covers the sending side of the same checks.
- Phone validation API has pricing and volumes.
Frequently asked questions
What is SMS pumping fraud?
How do I know if I am being hit by SMS pumping?
Does a CAPTCHA stop SMS pumping?
Can phone validation prevent SMS pumping?
Which countries are targeted by SMS pumping?
Do I stop sending SMS codes to avoid pumping?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.
- 100 free credits a month
- No card
- Test keys spend nothing
- Cancel any time