Join our Newsletter — 33% off our NHI Course
Home› Glossary› Authentication, Authorisation & Trust› One-Time Password Seeds
Authentication, Authorisation & Trust

One-Time Password Seeds

← Back to Glossary
By NHI Mgmt Group Updated October 29, 2026 Domain: Authentication, Authorisation & Trust

One-time password seeds are the shared secret values used to generate time-based or counter-based one-time passwords. They are typically embedded in an authenticator app or hardware token and must be protected like any other secret, because anyone who learns the seed can generate valid codes until it is revoked or re-enrolled.

How One-Time Password Seeds Work

One-time password seeds are the shared secret at the heart of TOTP and HOTP. The seed is combined with time or counter state to produce short-lived codes, so the seed itself is the long-term asset that must stay confidential even though the codes keep changing.

That design is useful because it avoids sending a reusable password over the wire, but it also means the seed is effectively equivalent to the authenticating factor. If the seed is copied, the attacker can generate valid OTPs until the seed is revoked or the account is re-enrolled.

Why OTP Seeds Are Sensitive Secret Material

OTP seeds should be treated like passwords, API keys, and signing material, not like ordinary configuration values. In most deployments they are provisioned once during enrolment, then stored in an authenticator app, hardware token, or server-side registration record for the life of the factor.

The main security property is secrecy, not obscurity. If the seed is exposed through QR enrolment leakage, device compromise, backup extraction, logs, screenshots, or insecure exports, the attacker does not need to break the OTP algorithm. They can simply mint the same codes as the legitimate user.

This is why seed protection has to cover generation, transport, storage, backup, migration, and revocation. A weak link in any of those stages can turn a temporary second factor into a durable compromise path.

Common Failure Modes and Abuse Paths

OTP seeds are often weakened by the surrounding enrolment and recovery process rather than by the algorithm itself. Poorly protected QR codes, insecure device backup, app migration without re-issuance, or shared enrolment images can quietly duplicate the seed across places that were never meant to authenticate independently.

Attackers also target the human workflow around OTP. If a user is tricked into revealing the seed, approving an illicit enrolment, or importing the secret into an attacker-controlled app, the OTP factor can be cloned without triggering obvious technical alarms.

For practitioners, the important point is that code freshness does not eliminate seed compromise. Once the shared secret is known, every future code generation event becomes predictable to the attacker until the enrolment is reset.

Operational Controls for Protecting and Rotating Seeds

Good seed handling starts with strong enrolment hygiene: use protected channels, minimise how long the seed or QR image exists in readable form, and avoid exposing it in screenshots, support tools, ticketing systems, or browser history. Where possible, prefer phishing-resistant factors for higher-risk users rather than relying on OTP as the only option.

Seed lifecycle controls matter just as much. If a seed may have been exposed, revoke it, re-enrol the factor, and verify that recovery routes, backup codes, and alternate authenticators are also still trustworthy. NHIMG’s Authenticator Apps and OTP Guide explains enrolment, seed storage, backup, and migration weaknesses in more depth.

When OTP is used broadly across the workforce, security teams should also review whether the organisation is relying on the factor for cases where phishing resistance is more appropriate. NHIMG’s MFA Guide is the best companion resource for understanding how OTP fits into a stronger authentication strategy.

Risk and Threat Considerations

OTP seeds are high-value targets because compromise of the seed defeats the factor itself, not just a single login attempt. The main risk is silent cloning: an attacker who acquires the shared secret can generate valid codes offline and retain access until the seed is replaced.

Failure mechanism: The seed is leaked during enrolment, backup, migration, support handling, or device compromise, then reused to generate authentic-looking OTPs outside the user’s control.

Impact: The attacker can bypass the intended second factor, sustain account takeover, and potentially invalidate the organisation’s assumption that OTP use alone proves possession of the enrolled device or app.

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

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementOTP seeds are authenticators that must be issued, protected, rotated, and revoked.
IA-2 — Identification and Authentication (Organizational Users)OTP seeds support user authentication for organizational access decisions.
IA-9 — Identification and Authentication (Service Accounts)The same secret-protection logic applies when non-human authenticators rely on shared secrets.
Recommendation — Manage OTP seeds as authenticators and rotate or revoke them when compromise is suspected. Require strong authentication controls for users relying on OTP seeds. Protect machine or service authenticators with the same lifecycle controls used for user OTP secrets.
NIST SP 800-63Authenticator Lifecycle and Phishing-Resistant AuthenticationDigital identity guidance covers authenticator binding, enrollment, and replacement when a seed is exposed.
Recommendation — Use phishing-resistant authenticators where possible and rebind compromised OTP seeds promptly.
OWASP ASVSV6 — AuthenticationOTP seeds are part of authenticator implementation and enrollment requirements.
Recommendation — Verify that OTP enrollment, storage, and reset flows protect the shared secret from exposure.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageOTP seeds are secret material, so leakage directly breaks the factor.
Recommendation — Prevent seed exposure in QR enrollment, logs, screenshots, backups, and support tooling.

Practitioner Guidance

What to watch for: Treat every enrolment event as a secret-handling event, not just an MFA setup step. If the seed is visible in cleartext, exported, copied between apps, or preserved in recovery media, it should be treated as exposed until proven otherwise.

Governance implication: Ownership for OTP seeds should sit with the same control domain that governs other secrets and authenticators, because the operational question is not merely whether OTP works, but whether the shared secret can be safely issued, protected, rotated, and revoked.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

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