Join our Newsletter — 33% off our NHI Course

aud Claim

The aud claim in a JWT identifies the intended recipient of the token. It is a validation control, not an authorisation field, and should be checked against a specific service or API before the token is accepted by any downstream component.

Expanded Definition

The NIST SP 800-53 Rev 5 Security and Privacy Controls family does not define the JWT aud claim as an access decision, but NHI practitioners use it as a critical token-boundary check: the token must be accepted only by the service or API that the issuer intended. In an NHI and agentic AI environment, that makes aud part of request validation, not authorisation logic. It helps prevent a token minted for one workload from being replayed against another workload, especially where service-to-service calls, model gateways, and tool endpoints coexist. The meaning is stable across implementations, but operational handling varies: some stacks validate exact audience strings, while others support arrays, URI patterns, or tenant-scoped audiences. That variation makes policy design more important than syntax alone. For NHI security teams, the key question is whether the receiving component treats aud as an enforced recipient constraint before any downstream trust decision. The most common misapplication is treating aud as a substitute for authorisation, which occurs when teams assume possession of a valid token automatically implies permission to use every API behind the gateway.

Examples and Use Cases

Implementing aud rigorously often introduces integration friction, requiring organisations to weigh tight recipient binding against simpler shared-token patterns that are easier to deploy but harder to secure.

  • A service mesh verifies that a workload token issued for one microservice is rejected by a different internal API unless the aud value matches exactly.
  • An AI agent calling a tool endpoint is issued a token with an audience bound to that specific tool, so the same token cannot be replayed to a model management API.
  • A federated workload flow uses a narrow audience value for a cloud storage API, preventing a credential intended for data upload from being reused elsewhere.
  • During incident analysis of token misuse, responders compare the claimed audience against the receiving service name to determine whether the token was valid but misplaced.
  • The LLMjacking: How Attackers Hijack AI Using Compromised NHIs research illustrates why token scoping matters when attacker activity targets compromised non-human identities and adjacent services.

For implementation patterns, teams often align audience checks with identity and token validation guidance from NIST SP 800-53 Rev 5 Security and Privacy Controls, even though the standard leaves JWT claim design to the application layer.

Why It Matters in NHI Security

Audience validation is one of the simplest ways to stop token replay across services, yet it is also one of the easiest checks to omit when teams prioritise fast integration over recipient-bound security. In NHI environments, that omission creates a broad blast radius: a token stolen from one workload can sometimes be presented to another service, especially when shared signing keys, weak gateway rules, or overly broad trust domains are present. NHI Management Group research on the DeepSeek breach shows how exposed credentials and adjacent trust relationships can expand impact quickly. The same logic applies to JWT handling: if aud is not enforced, the receiving system may become an unintended trust sink. Operationally, that means incident responders must treat misuse of a valid token as a containment problem, not just an authentication event. In practice, organisations typically encounter audience validation failures only after a token has been replayed against the wrong API, at which point aud becomes operationally unavoidable to address.

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 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST SP 800-63, NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-01 Covers token validation failures that let NHI credentials be replayed across services.
NIST SP 800-63 JWT audience is part of relying-party validation, not the authenticator itself.
NIST CSF 2.0 PR.AC-3 Identity assertions must be validated before access is granted to a resource.
NIST Zero Trust (SP 800-207) SI Zero Trust requires explicit validation of each service-to-service request.
OWASP Agentic AI Top 10 A2 Agent tool calls fail safely only when credentials are scoped to the intended endpoint.

Bind tokens to the intended relying party and reject tokens presented to other services.