No rate limiting on login, signup or AI endpoints
Quick answer: Without limits, bots can brute-force logins, spam signups or run up your AI bill.
Last updated November 14, 2026
Steps
- Add per-IP and per-user rate limits (for example Upstash Ratelimit or your platform's firewall rules).
- Add a CAPTCHA to signup.
- Set hard spending caps with your AI provider.
Why it matters
This is a common failure pattern in apps built quickly with AI coding tools. The steps above check your own app only. Never test apps you don't own.
Related patterns
- Password reset flows that leak accounts or trust the Host header
- Cron and webhook-style job endpoints anyone can trigger
- Login and signup messages that reveal which accounts exist (account enumeration)
- Regex denial of service (ReDoS): one crafted input that freezes your app
- Race conditions let one coupon, gift card or credit be used twice
- Secrets compared with === (timing-unsafe token and signature checks)
- GraphQL APIs with introspection on and no depth or cost limits
- AI features anyone can use to run up your bill (unbounded consumption)
Found a problem you'd rather not fix yourself?
Tell us what's wrong. A StorenTech engineer reviews your app and replies with a fixed quote, so you know the cost before any work starts.
Get it fixed by StorenTechVibe Security Weekly
One email a week with new failure patterns and how to fix them.
By joining you agree we may email you this newsletter. See our privacy policy. Free. Unsubscribe anytime. We'll never sell your email.