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

Authentication Tag

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

An authentication tag is the short value an AEAD or MAC algorithm produces so the receiver can check that data has not been changed. For AES-GCM and AES-CCM as registered in RFC 5116, the tag is 16 octets appended to the ciphertext. In JWE it is checked on decryption to detect tampering or corruption.

What an authentication tag actually proves

An authentication tag is not the message itself, but the integrity check attached to it. In AEAD and MAC constructions, the receiver uses the tag to confirm that the ciphertext or protected data was not altered in transit, so the content is authentic relative to the key and algorithm in use.

This matters because a valid-looking payload without a valid tag should be treated as untrusted. In practice, the tag is part of the security boundary: if verification fails, the receiver should reject the message rather than try to “repair” it or continue processing it.

Because the tag is generated from the protected data and the secret key, it helps detect tampering, accidental corruption, and some classes of active interference. That makes it a core primitive for secure transport, stored-object protection, and token formats that embed integrity checks.

How authentication tags work in AEAD and MAC designs

Authentication tags are produced by cryptographic algorithms that combine confidentiality, integrity, or integrity-only protection. In AEAD modes, the tag is bound to both the ciphertext and any associated data, so the receiver can verify that the protected metadata and encrypted content belong together.

The tag is intentionally short compared with the message, which is why it is efficient to transmit and verify. Its security depends on the algorithm design, the key, the nonce or IV rules where applicable, and the exact verification procedure used by the application or protocol.

In formats such as JWE, the tag is checked during decryption. If the ciphertext, header, or associated data has been modified, verification fails and the protected content should not be released. That failure is a feature, not an error to work around.

Why the tag is essential for tamper detection

The main value of an authentication tag is that it turns silent corruption into a detectable event. Without it, a receiver may accept altered data, which can be far more dangerous than an obvious failure because the system may process forged values as if they were genuine.

Tags are especially important where the attacker can observe, modify, replay, or inject traffic. They do not only protect against malicious change, they also help expose accidental transmission errors and storage corruption before downstream systems act on bad data.

The practical rule is simple: verification failure means the data must be discarded. Applications should not ignore a failed tag, retry with the same material, or fall back to unauthenticated handling, because that defeats the protection the tag is meant to provide.

Where authentication tags fit in secure system design

Authentication tags are one part of a larger cryptographic design. They work best when the implementation also handles key management, nonce uniqueness where required, correct algorithm selection, and strict separation between authenticated and unauthenticated data.

They also support safer protocol and application design by letting systems verify messages before they are trusted for business logic, authorization, or state changes. That is why tag verification is usually treated as an early control in the processing flow, not a late cosmetic check.

For practitioners, the key architectural point is that an authentication tag protects integrity only within the guarantees of the specific cryptographic construction. If the surrounding system mishandles keys, reuses nonces incorrectly, or ignores verification failure, the tag cannot compensate for those mistakes.

Risks and operational failure modes around authentication tags

Authentication tags are only useful when they are generated, transmitted, and checked correctly. Implementation mistakes such as accepting unauthenticated data, truncating tags too aggressively, reusing nonces in AEAD, or comparing tags in unsafe ways can weaken or break the protection they are meant to provide.

Failure mechanism: An attacker or faulty integration exploits a verification gap, malformed handling, or cryptographic misuse so that altered ciphertext or metadata is accepted as valid.

Impact: The result can be corrupted records, undetected tampering, replayed content, broken trust in encrypted channels, or downstream processing of data that should have been rejected.

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, OWASP ASVS and NIST SP 800-57 set the technical controls, while ISO/IEC 27001:2022 defines the regulatory obligations.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SC-13 — Cryptographic ProtectionAuthentication tags are a cryptographic integrity mechanism for protected data.
IA-5 — Authenticator ManagementTag-based protection depends on sound key and authenticator lifecycle handling.
Recommendation — Use SC-13 to require authenticated cryptography for data whose integrity must be verified. Use IA-5 to govern the lifecycle and protection of authenticators and related secret material.
ISO/IEC 27001:2022A.8.24 — Use of CryptographyAuthentication tags are part of cryptographic protection and verification controls.
Recommendation — Apply A.8.24 to define approved cryptographic use and verification requirements.
OWASP ASVSV11 — CryptographyApplication cryptography requirements cover authenticated encryption and integrity checks.
Recommendation — Use V11 to verify that cryptographic messages are authenticated and validated correctly.
NIST SP 800-57Key ManagementTag security depends on proper key generation, storage, rotation, and destruction.
Recommendation — Apply key management policy so authenticated encryption keys remain protected and rotated appropriately.

Practitioner Guidance

What to watch for: Treat tag verification as a mandatory gate, not an optional integrity hint. If your design uses AEAD, verify the tag before any plaintext is consumed, and fail closed on any mismatch or parsing error.

Governance implication: Teams should document which algorithms are allowed, how tags are generated and checked, and which components own nonce discipline and key lifecycle. That avoids inconsistent handling across services and reduces the chance that one weak implementation becomes the system’s trust anchor.

Practitioner takeaway: The tag is only as strong as the verification path around it, so integrity must be enforced consistently in every consumer, not assumed because encryption is present.

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