Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

OTP

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

An OTP, or one time password, is a temporary code used to verify a user during login, recovery, or transaction approval. It can improve authentication, but it is vulnerable when delivery depends on a compromised phone number or device. Stronger programs combine OTPs with additional identity and risk signals.

What OTPs are, and why they still matter

An OTP is a short-lived code that adds a separate verification step during sign-in, account recovery, or transaction approval. It can raise the cost of simple password theft, but it is not a guarantee of strong authentication on its own, especially when the code can be intercepted, relayed, or requested against a compromised channel.

In practice, OTPs are most useful as a compensating control when an organisation needs a fast way to confirm user possession of a factor, but they work best when paired with stronger signals such as device trust, risk scoring, or phishing-resistant methods. For a broader comparison of where OTP fits in modern MFA, see the MFA Guide.

Where OTPs fit in authentication flows

OTPs are commonly used in three places: initial login, step-up verification for sensitive actions, and recovery when a user has lost access to another factor. That makes them a flexible control, but also means they often sit inside the most security-sensitive parts of the user journey.

The security value of OTP depends on how the code is generated, delivered, entered, and verified. If the channel is weak, the OTP becomes a shared secret in transit rather than a strong proof of identity. NHIMG’s D3-OTP One-time Password guide explains the hardening patterns, verifier rules, and limits that matter for OTPs.

Common failure modes

The main weakness of OTP is that it depends on the protection of the delivery path more than many users realise. SMS codes, for example, can be exposed through SIM swap, phone compromise, call forwarding abuse, or adversary-in-the-middle phishing that captures the code and relays it in real time.

Even when the user receives the right code, OTP does not necessarily stop session theft or replay if the implementation does not enforce proper expiry, rate limiting, and replay rejection. That is why OTP should be treated as a control with boundaries, not as a universal authentication upgrade.

How to use OTP safely in a modern control stack

OTP is strongest when it is one layer in a larger access decision, not the only decision. Organisations should prefer OTP for lower-risk use cases, treat recovery flows as high risk, and use contextual checks to detect when the code request itself looks suspicious.

Where possible, OTP should be replaced or supplemented with phishing-resistant MFA for higher-value accounts and critical approvals. When OTP remains necessary, the surrounding policy should minimise exposure to reusable codes, weak delivery channels, and recovery abuse.

Why practitioners should care: OTP often survives in production because it is easy to deploy, but that convenience can hide serious assumptions about the phone number, device, or messaging channel. The control is only as strong as the weakest step in the code's delivery and verification path.

What to watch for: Repeated OTP failures, unusual recovery requests, device or number changes before login, and successful logins that follow phishing or help desk pressure are all warning signs that the control is being worked around rather than trusted.

Practitioner takeaway: Use OTP as a bounded factor with clear limits, and prefer stronger phishing-resistant options where the account or transaction justifies the added assurance.

Standards & Framework Alignment

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

NIST SP 800-53 Rev 5, NIST SP 800-63, CIS Controls v8 and OWASP ASVS set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementOTP is an authenticator that must be issued, protected, rotated, and invalidated correctly.
IA-8 — Identification and Authentication (Non-Organizational Users)OTP commonly verifies external users during login and recovery flows.
Recommendation — Apply IA-5 to control OTP lifecycle, expiry, replay resistance, and secure verifier handling. Use IA-8 to authenticate external users with appropriately bound OTP workflows.
NIST SP 800-633.1.3 — Authenticator and Verifier RequirementsNIST digital identity guidance directly addresses OTP use, strength, and phishing resistance.
Recommendation — Follow authenticator and verifier requirements to limit OTP replay, interception, and weak channel use.
CIS Controls v8CIS-6 — Access Control ManagementOTP is an access control factor that should be managed within broader authentication policy.
Recommendation — Enforce access control policy that limits OTP to appropriate use cases and sensitive flows.
OWASP ASVSV6 — AuthenticationOTP is an authentication mechanism covered by application authentication verification requirements.
Recommendation — Verify OTP implementation against authentication requirements, including resistance to bypass and replay.

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 November 19, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org