Join our Newsletter — 33% off our NHI Course
Home› FAQ› Authentication, Authorisation & Trust› What are the signs that a system is…
Authentication, Authorisation & Trust

What are the signs that a system is failing users by mixing public identifiers with secret credentials?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 26, 2026 Domain: Authentication, Authorisation & Trust

A system is failing when people are repeatedly asked to share the same number in public and private contexts, or when the same value is used for lookup, account reference, and authentication. Mixed messaging is a warning sign. Users then cannot reliably tell what should remain private, which increases careless disclosure and normalises insecure behaviour.

Why mixed public identifiers and secret credentials are a failure mode

The core problem is ambiguity. If one value is used to look someone up, reference an account, and authenticate them, users are forced to guess what belongs in public and what must stay private. That confusion is itself a design flaw because it blurs the boundary between identity reference and secret material, making safe behaviour harder to learn and easier to violate.

Well-designed systems keep lookup values, display identifiers, and authentication material distinct so that public handling does not imply authorisation. When those roles collapse into one number, users cannot tell whether disclosure is harmless or a credential leak, and support, logging, and onboarding all become harder to reason about.

For a related secrets-management pattern, see the Guide to the Secret Sprawl Challenge, which shows how repeated exposure pathways turn ordinary values into an operational security problem.

What signs show the design is training unsafe user behaviour

A practical warning sign is repeated mixed messaging: the same identifier is asked for in forms, shared in email, read aloud in support calls, and then used again for sensitive access. Another sign is that the system normalises visibility, for example by showing the value on receipts, dashboards, or public profiles while also treating it as proof of possession.

You should also watch for user confusion that appears in ordinary operations, not just incidents. People may paste the value into the wrong channel, reuse it where it should not be reused, or assume that a value already visible to others cannot also function as a secret. Those behaviours are often a direct signal that the interface has taught the wrong mental model.

That pattern aligns with the kinds of failures documented in the IOS app secrets leakage report, where public-facing handling and secret handling collide in ways that users cannot reliably distinguish.

Why the blast radius grows when the same value does double duty

Once a public identifier is also treated as a credential, the attack surface widens immediately. Anyone who learns the public value now has a stronger basis for guessing, replaying, or abusing the private one, and defenders lose the ability to detect a leak by simple disclosure checks because the system has already sanctioned public exposure.

That design also weakens lifecycle control. If the same value represents account reference, lookup key, and authentication material, rotation becomes disruptive, offboarding becomes unclear, and recovery workflows tend to preserve the very ambiguity that caused the problem. The result is longer-lived exposure and more opportunities for accidental or intentional misuse.

The OWASP Non-Human Identity Top 10 captures the same underlying failure pattern in identity systems more broadly: secret leakage, overprivilege, and long-lived secrets become much more dangerous when the boundary between public reference and private access is poorly enforced.

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 addresses the attack and risk surface, while OWASP ASVS and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageMixed public/private use makes secrets easy to expose.
NHI-07 — Long-Lived SecretsReused values become harder to rotate and safer to forget.
NHI-05 — Overprivileged NHIOne value used for lookup and auth can grant more access than intended.
Recommendation — Separate public identifiers from credentials and eliminate leakage paths. Shorten secret lifetime and rotate values that are visible outside trusted channels. Reduce privilege when an identifier also functions as an access secret.
OWASP ASVSV6 — AuthenticationAuthentication should not reuse a public reference value as proof of identity.
Recommendation — Require distinct authentication factors that are not publicly disclosed.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementShared public-secret values undermine authenticator lifecycle and protection.
Recommendation — Manage authenticators separately from account identifiers and rotate them safely.

Practitioner Guidance

What to verify: Check whether the system has one stable lookup identifier and a separate secret or authenticator, with no user-facing flow that treats the same value as both. If support staff, UX copy, or logs ever describe the same field as “your ID” in one place and “your secret” in another, treat that as a design defect rather than a documentation issue.

Common mistake: Teams often try to fix the problem by hiding the value in one screen while leaving the underlying workflow unchanged. That only masks the ambiguity. The better test is whether a user can correctly infer, without training, what may be public, what must be private, and what can safely be reused.

Practitioner takeaway: If a user can accidentally disclose a value without realising they have disclosed access, the system has failed the most important usability test for security: it has made secrecy indistinguishable from ordinary reference.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 26, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org