惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
博客园 - 聂微东
Jina AI
Jina AI
The Cloudflare Blog
V
Visual Studio Blog
博客园_首页
量子位
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 【当耐特】
爱范儿
爱范儿
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
博客园 - 司徒正美
阮一峰的网络日志
阮一峰的网络日志
Last Week in AI
Last Week in AI
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
T
Tailwind CSS Blog
博客园 - Franky

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Your Login Endpoint Is Being Tested Right Now. Your Rate ...
Adrian Alexa · 2026-05-13 · via DEV Community

Here's a thing that happened to a mid-sized SaaS last year:
They had rate limiting. They had CAPTCHA on failed attempts. They had account lockout after 10 failures. Their security posture, by most checklists, was "reasonable."

Over 47 days, 2.3 million credential pairs were tested against their login endpoint.
Zero lockouts triggered. Zero CAPTCHAs served. Zero alerts fired.
The reason isn't a zero-day. It isn't some exotic bypass. It's something so structurally simple that once you see it, you can't unsee it — and you'll look at your own auth implementation differently.

The Velocity Gap
The entire architecture of brute-force and credential stuffing defense is built on one assumption: attacks are fast.
Lock out after N failures. Rate limit per IP. Detect anomalous request volumes. All of it assumes the attacker is in a hurry.
They're not.
The shift happened gradually and then all at once: credential stuffing operations evolved from spray-and-pray to what threat intelligence work now calls low-velocity distributed testing. The attack is spread across:

Thousands of residential proxy IPs (not datacenter ranges your WAF is watching)
Days or weeks, not hours
One or two attempts per IP, never enough to trigger per-IP thresholds
Human-realistic timing patterns, including sleep cycles, to defeat behavioral analysis

The math is simple and brutal: if you test 50,000 credentials at 1 attempt per IP, spread across 72 hours, with normally-distributed timing, you hit the following controls:
Control Status IP rate limiting (per-IP)✅ Never triggered
Account lockout (N failures per account)✅ Never triggered
Velocity-based anomaly detection ✅ Never triggered
CAPTCHA on failed attempts ✅ Never triggered
Your SIEM alert ✅ Never triggered

This isn't a hypothetical. This is operational tradecraft documented across dark web IAB (Initial Access Broker) forums and criminal communities. The tools to do this at scale are commoditized, cheap, and actively sold with "anti-detection" as a primary feature.

What You're Actually Logging
When a low-velocity credential stuffing operation runs against your endpoint, here's what your logs typically show:

A moderate uptick in failed logins, well within normal variance
Diverse IP distribution, mostly residential ranges
Normal User-Agent strings (the tooling rotates these)
No obvious geographic clustering — residential proxies span legitimate geographies
Login attempt timing that doesn't stand out from organic traffic patterns

What you're not seeing without specific instrumentation: the ratio of attempts-per-credential-pair and the relationship between accounts being tested. The attack looks like noise because it was designed to look like noise.

The Credential Ecosystem Problem
Here's the part that doesn't get talked about enough in engineering-focused security content:
The credentials being tested against your endpoint didn't come from nowhere. They came from a data breach marketplace — and those markets are now extraordinarily efficient.
A credential dump from a 2022 breach of a mid-tier e-commerce site gets:

Parsed and deduped
Tested against high-value targets (banking, crypto, SaaS)
Already-validated credentials sold to IABs at premium
Remaining "untested" credentials sold in bulk for a few dollars per thousand pairs
Those bulk credentials used in stuffing operations against your login endpoint

The time from breach to your endpoint being tested is now measured in weeks, not months. And the credentials being tested against you might be from a service your user signed up for 4 years ago that you've never heard of.
Your user reused a password. They have no idea. You have no idea. The attacker has a list.

The Controls That Actually Matter
Stop me if this sounds familiar: your security posture is built around preventing unauthorized logins. But with credential stuffing, the login often succeeds. That's the point. The credentials are real.
So the question shifts from "how do I stop the wrong password" to "how do I detect that a correct password is being used by the wrong person."
That's a fundamentally different problem.
What doesn't work (as a primary control):

Per-IP rate limiting alone
Account lockout on failed attempts (most stuffing succeeds on the first try per account)
Password complexity requirements (the password is correct)
Standard CAPTCHA (it's served on failure, stuffing succeeds)

What actually moves the needle:

  1. Credential pair testing detection Look for the population of tested accounts, not individual account behavior. If 800 distinct accounts each receive exactly 1–2 login attempts from distinct IPs within a 24-hour window, that's a signal. None of those individually trigger a threshold. The population does.
  2. Impossible travel and device fingerprinting on successful logins A successful login from a credential that has never been seen on this device/browser fingerprint, from an ASN associated with residential proxy providers, is worth flagging for step-up authentication — regardless of whether the password was correct.
  3. Password breach detection at login Have I Been Pwned's API (and similar) lets you check whether the credential being used appears in known breach datasets. A correct password that's also in a breach corpus deserves extra scrutiny. This is underused.
  4. Invisible MFA friction on anomalous signals Don't lock accounts on first anomaly. Do add friction. A step-up auth challenge that looks organic to a legitimate user is nearly impossible for an automated stuffing operation to complete at scale.
  5. Honeypot accounts If you have the infra: seed your user database with accounts that should never see login attempts. Any attempt against them is, by definition, from a list. Treat it as a signal that a credential dump including your domain is in circulation.

The Structural Honest Assessment
Here's the take I'll stand behind: most auth security advice is optimized for a threat model that hasn't been operationally accurate for 3–4 years.
Rate limiting, lockout policies, and CAPTCHA were designed for an era when attackers were using their own IPs and moving fast. The underground adapted. The defense guidance largely didn't.
The "OWASP Top 10" framing, while useful for broad awareness, treats credential stuffing as a volume problem with a volume solution. The 2026 operational reality is that sophisticated stuffing operations deliberately operate below every volume threshold you've set, because they specifically studied where those thresholds are.
You can't fix this with a single control. You fix it by instrumenting for population-level patterns, not individual-account-level events. And by accepting that a successful login is not, by itself, evidence of authorization.

What This Means for Your Next Auth Review
Three concrete questions worth asking about your current implementation:

Do we have any visibility into population-level login attempt patterns, or only per-account and per-IP patterns? If the answer is "per-account and per-IP only," you have a detection gap.
What happens when a credential stuffing operation succeeds? What does the session look like, and what anomaly signals do we check at that point? If the answer is "nothing, a valid login is a valid login," you have a response gap.
Do we have any signal on whether credentials currently in use against our system appear in known breach datasets? If the answer is "no," that's a free improvement available today.

None of this is exotic. All of it is underimplemented.

This post is informed by threat intelligence research covering dark web credential markets, Initial Access Broker operations, and criminal tooling tradecraft — part of the Aether Intel AS-CTI-2026 series. TLP:WHITE.
Have you instrumented for population-level credential stuffing signals?

What's actually worked in your stack? Drop it in the comments.