Independent analysis by NHI Mgmt GroupSource article: Castle, “Account enumeration in the wild: analyzing a real-world Spotify enumeration tool” (March 5, 2026)

TL;DR: Simple account-validation endpoints can become abuse primitives when they reveal whether a username or email exists, according to Castle’s analysis of the Spotify-Account-Checker project. That signal makes credential stuffing, phishing and bulk automation far more efficient than trying random identities.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Castle's blog post: Account enumeration leaks whether an email exists on a service, and that signal can be automated into credential stuffing and phishing workflows.

Why it matters: IAM and CIAM teams need to treat signup, login and recovery endpoints as abuse surfaces because existence leaks reduce attacker cost before authentication ever begins.


Context

Account enumeration is a disclosure problem, not an access problem: an application reveals whether an identifier is registered, usually through response differences, error wording or timing. That small leak is enough to help attackers separate live accounts from noise and focus follow-on abuse on the identities most likely to work. Treat account enumeration prevention as a control problem, not a bug fix.

The risk becomes more serious when pre-auth endpoints support password reset, signup validation or login flows. Those surfaces often sit outside the normal fraud and IAM review cycle, even though they shape how easily attackers can build candidate lists for further abuse. In mature programmes, this is a common weakness; in weaker ones, it is usually overlooked until it is being exploited at scale.


Key questions

Q: How do account enumeration attacks work against login and signup flows?

A: Account enumeration works when an application reveals whether a username or email is registered through response differences, error messages or timing. Attackers use that feedback to separate real identities from noise, then focus credential stuffing, phishing or recovery abuse on the accounts most likely to succeed.

Q: What should teams do first when endpoint data leakage is possible?

A: Start by identifying the leakage paths you need to control, then apply endpoint DLP or device control to the clipboard, USB, and printing channels. Add policies for file uploads, browser transfers, and local sync tools, and verify which data classes are blocked, monitored, or allowed by exception.

Q: How can rate limiting reduce automated account probing?

A: Rate limiting slows automated probing by capping repeated requests from the same source, account identifier, or device fingerprint. Per-identifier, per-device controls make enumeration harder because bots cannot rapidly test large username lists, rotate through targets, or compare response differences at scale. Add lockout thresholds, CAPTCHA, and anomaly detection where abuse persists.

Q: Why does account enumeration make credential stuffing more effective?

A: Account enumeration makes credential stuffing more effective because attackers can separate live accounts from non-existent ones before trying passwords. That reduces noise, concentrates guesses on active identities, and improves success rates against reused credentials. Defences include uniform login responses, rate limiting, and detection of repeated failed sign-in attempts.


Technical breakdown

How differential responses expose account existence

An enumeration oracle appears when a system returns different outputs for registered and unregistered identities. That difference can be a status code, a JSON field, an error message, a redirect or even a measurable timing gap. Attackers do not need to bypass authentication if the pre-auth surface tells them which identifiers are real. Once the oracle is stable, simple scripts can query large address lists and classify them with high confidence. See the account enumeration prevention guide. See the Account Enumeration Prevention Guide.

Practical implication: Standardise responses across valid and invalid identities so the surface does not confirm account existence.

Why proxies and concurrency make enumeration scalable

Enumeration is low-skill automation when the endpoint is predictable. Proxy rotation spreads requests across source IPs, while multithreading raises throughput enough to test large lists quickly. Because the task happens before authentication, many identity controls never engage. Defenders should assume that any high-confidence existence signal will be harvested repeatedly and at scale, even if the individual requests look harmless in isolation. See the Top 10 CIAM Security Risks guide. Read Top 10 CIAM Security Risks.

Practical implication: Rate-limit by identifier, IP, device and behaviour together, not by source address alone.

How enumeration feeds credential stuffing and phishing

Account existence data is valuable because it removes guesswork from the next stage of abuse. Attackers can prioritise breached passwords against live accounts, lowering the number of failed logins and reducing alert noise. The same validated list also improves phishing, because messages can target real users instead of random addresses. In identity terms, the first leak is not the final compromise, but it materially improves the odds of one. See the OWASP Top 10 A07 Guide. See the OWASP Top 10 A07 Guide.

Practical implication: Treat pre-auth identity signals as inputs to fraud and takeover risk, not as harmless metadata.


Threat narrative

Attacker objective: The attacker objective is to turn account-validation feedback into a curated list of real identities that can be reused for takeover and fraud.

  1. Entry occurs through a public signup or validation endpoint that reveals whether an email is registered.
  2. Credential harvesting follows as attackers build a high-confidence list of live accounts to pair with stolen passwords or targeted lures.
  3. Impact is improved credential stuffing efficiency, lower-noise phishing and broader account takeover pressure against the exposed identity set.
  • Twilio 0ktapus breach 2022: SMS phishing of employees exposed 209 Twilio customers and 1,900 Signal users, part of the 0ktapus campaign against 130+ firms.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Account enumeration is a governance failure in the pre-auth layer. The problem is not only that a system reveals whether an account exists. It is that identity teams often treat pre-auth responses as low-risk implementation detail, when they are actually an abuse-enabling control surface. Once the service confirms which identities are real, downstream controls inherit a harder problem. The right conclusion is that response consistency belongs in identity governance, not just in application hardening.

The named concept here is verification signal leakage. That is the point where a system meant to answer a basic lookup question becomes a reliable oracle for attackers. The more confidence the signal gives, the less sophistication an adversary needs to operationalise it. In practice, this shifts the issue from theoretical enumeration to measurable fraud enablement, which is why teams should assess every pre-auth endpoint for differential feedback.

CIAM programmes need to treat signup, recovery and login flows as one abuse chain. Enumeration rarely stays isolated to a single endpoint; it becomes the front end of credential stuffing, phishing list building and automated abuse. That means authentication design, rate controls and monitoring have to be evaluated together, not as separate team responsibilities. CIAM risk controls matter here because the weak point is often the interaction between identity discovery and follow-on abuse.

Multi-threading and proxying do not create the risk, they reveal it. When a trivial script can extract value without browser emulation or advanced evasion, the real weakness is the endpoint contract. That is a useful test for any identity surface: if a simple client can turn public metadata into attacker advantage, the control is leaking more than it should. Practitioners should prioritise closing the signal before chasing more elaborate bot signatures.

What this signals

Account enumeration should be treated as an attack multiplier, not a nuisance defect. Once an application confirms identity existence, the attacker can sequence collection, filtering and follow-on abuse with far less friction. The practical question for programmes is whether any pre-auth path still leaks useful identity truth after normal error handling, retries and automation are considered.

Verification signal leakage is the more precise risk to watch. If the contract between client and server changes depending on whether an identity exists, the endpoint is already helping the attacker classify targets. Identity and fraud teams should review pre-auth telemetry for repeated identity probing, then push the control boundary back to the point where account status is no longer exposed.


For practitioners

  • Flatten pre-auth responses Return the same visible outcome for existing and non-existing accounts across signup, login and recovery flows, including status, error text and timing.
  • Harden high-risk identity endpoints Review password reset, account lookup and signup validation paths as abuse surfaces, then apply rate limits, step-up checks and monitoring to each.
  • Detect bulk identity probing Watch for repeated requests against many identifiers from rotating IPs, unusual concurrency, and systematic testing of the same endpoint with changing emails.
  • Reduce client trust before confirmation Use short-lived server-issued tokens or equivalent proof only where first-party client assurance is genuinely required, and avoid confirming account existence earlier than necessary.

Key takeaways

  • Account enumeration is dangerous because it turns a public lookup surface into a reliable source of live identities for attackers.
  • The main evidence is differential feedback from a pre-auth endpoint, which makes bulk probing and follow-on abuse far more efficient.
  • Flattening response behaviour and monitoring pre-auth flows are the controls most likely to reduce the abuse value of the signal.

Related NHI Mgmt Group resources: Account Enumeration Prevention Guide · Top 10 CIAM Security Risks · OWASP Top 10 A07 Guide


Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10, OWASP API Security Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe article centres on a pre-auth signal that lets attackers distinguish valid identities from invalid ones.
Recommendation — Remove identity-existence feedback from pre-auth flows and test for differential responses across all account states.
OWASP API Security Top 10API2 — Broken AuthenticationThe signup validation endpoint exposes account state through an unauthenticated API response.
Recommendation — Review unauthenticated endpoints for account-state leakage and normalise responses before exposing them publicly.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsIdentity validation surfaces influence who can progress into authentication and recovery steps.
Recommendation — Apply consistent authorization and identity checks to pre-auth flows so they do not leak usable account intelligence.
MITRE ATT&CKTA0006 — Credential AccessEnumeration supports the credential access phase by identifying live targets for password testing.
Recommendation — Map enumeration telemetry to credential-access behaviour and hunt for repeated identity probing at scale.

Key terms

  • Account Enumeration: Account enumeration is the process of discovering which user or system accounts exist in a target environment. Attackers use login pages, password reset flows, API responses, or directory queries to confirm valid identities, then focus phishing, password attacks, or privilege abuse on those accounts. It weakens IAM and NHI security.
  • Pre-Auth Endpoint: A pre-auth endpoint is an application route that can be reached before a user proves identity. It typically handles login, registration, password reset or other unauthenticated flows, so the endpoint must avoid leaking account existence, version details or other sensitive information before authentication succeeds.
  • Credential Stuffing: Credential stuffing is an attack that uses stolen username and password pairs from previous breaches to try logging into other services. It works because many people reuse credentials, and because the login attempt uses valid information, it can look ordinary until the surrounding behavior gives it away.
  • Rate Limiting: A control that restricts how many requests a caller can make within a defined period. It protects availability and reduces abuse, but it only works when paired with correct authentication, authorisation and endpoint design.

Deepen your knowledge

The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, secrets management and workload identity. It is designed for practitioners who need to connect identity control design to real operational risk.
NHIMG Editorial Note
Published by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org