Stop bots from draining your SMS credits through OTP forms
Many Indian apps and sites send an OTP by SMS for sign-up or login. It works well, until a bot finds the form. Then it requests OTPs for thousands of numbers, sometimes premium or international ones. The owner sees an SMS bill five times the normal amount, or credits run out on a Sunday. This guide explains how OTP abuse happens and the limits that stop it without making login painful for real users.
How OTP abuse shows up
- Your SMS gateway credits drop in a few hours, even though new user sign-ups in the app are flat.
- The numbers receiving OTPs are random, foreign or in long sequences, not numbers that belong to your customers.
- Real users stop getting OTPs because the gateway hits a daily cap or flags your sender ID for odd volume.
- The same Send OTP button is hit hundreds of times a minute, often from a small set of IP addresses.
Putting limits on OTP requests
- Check the SMS gateway report today. Log in to your SMS provider and download the last seven days of messages. Look at countries, number patterns and times. If you only serve India, any OTP sent abroad is a red flag. Share this report with your developer. It also helps if you need to ask the provider for a review of unusual charges.
- Limit OTPs per number and per IP. A real person needs one OTP, perhaps three if the network is slow. Set a cap per phone number per hour and a separate cap per IP. Add a short wait before Resend is allowed. These two limits alone stop most OTP floods, because bots depend on sending many messages quickly.
- Restrict countries you do not serve. If your customers are only in India, block OTP requests for non-Indian numbers at the server. If you serve India and the Gulf, allow only those codes. This removes a common way attackers make money from OTP abuse, which is sending to premium international numbers.
- Screen the request before sending. Check whether the request looks automated before the SMS is triggered. Signals like IP reputation, bot behaviour and request speed can stop the worst sources. The real user sees a normal form and gets the OTP. The bot gets nothing, and no SMS credit is spent on it.
- Alert on unusual OTP volume. Set an alert that fires when OTP requests cross a normal hourly number. A message on Telegram at night lets someone switch on stricter limits before the bill grows. Review the pattern the next morning and tune the caps so normal sign-up traffic is never affected.
How VadiGuard helps
Rate limiting for the OTP endpoint
VadiGuard limits requests per IP or user, which is the core defence for an OTP button. Bots that try to trigger hundreds of messages hit the limit quickly. People asking for one code, or one resend, never notice it.
Bot and IP checks before the SMS goes
VadiGuard checks the request against more than 15 threat signals, including bot behaviour and IP reputation. Using its real-time verification API, your server can ask whether a request looks safe before calling the SMS gateway, so credits are spent only on likely humans.
Alerts while you sleep
Smart alerts reach you by Slack, Telegram, webhook or email when a real attack or repeat offender is detected. The adaptive baseline notices sudden bursts on the OTP route. You find out in minutes, not when the gateway sends its monthly invoice.
OTP abuse turns a security problem into a money problem. Cap OTPs per number and IP, block countries you do not serve, screen requests and set alerts. To see how this fits your app's sign-up flow, ask the VadiGuard team for a demo.
Questions people ask
Is this a common problem in India?
Any site that sends OTPs without limits can be targeted. We will not quote figures, but SMS-based login is widely used in India, so it is worth setting limits before a bill surprise rather than after one.
Can VadiGuard send or verify OTPs for us?
No. VadiGuard is a security layer, not an SMS provider. It helps decide whether a request to send an OTP looks safe, and limits how often it can happen. Your existing gateway still sends the messages.
We use a mobile app, not a website. Does it help?
VadiGuard's real-time verification API can be called from your backend, which serves both web and app sign-ups. Supported server stacks include Node.js, Laravel, CodeIgniter 3 and plain PHP. The team can confirm the best setup for an app.
Will genuine users wait longer for their OTP?
The checks run in the background and real users are not shown puzzles. A sensible resend wait, like 30 seconds, is the only visible change, and most users already expect that.