Subscribe to the Non-Human & AI Identity Journal

What breaks when service-to-service tokens can be forged in Entra?

The break is not just technical acceptance. It is governance visibility. When a trusted certificate can mint a token that looks legitimate to downstream services, the organisation loses reliable sign-in evidence, revocation becomes weak, and conditional access no longer represents the full control boundary for privileged access.

Why This Matters for Security Teams

When service-to-service tokens can be forged in Entra, the failure is broader than a single authentication bypass. Downstream systems may accept a token that appears legitimate, which weakens sign-in evidence, obscures who actually initiated access, and undermines revocation as a control. That matters because service identity is often the real boundary for privileged action, not the user behind the workflow.

This is the same pattern seen in token-based compromise cases such as the Salesloft OAuth token breach, where trusted access paths were abused after issuance, and in the Guide to the Secret Sprawl Challenge, which shows how quickly credentials become durable attack paths once they are copied, reused, or leaked. NIST’s Cybersecurity Framework 2.0 is clear that asset and identity governance must be measurable, but forged service tokens make that measurement unreliable if the token itself is no longer trustworthy.

In practice, many security teams discover this only after downstream logs still look clean while privileged API activity has already moved laterally through trusted service paths.

How It Works in Practice

In a healthy service-to-service model, the token is evidence of workload identity, its audience is constrained, and its lifetime is short enough that compromise has a narrow blast radius. When a token can be forged, those assumptions collapse. The service no longer proves that a trusted workload requested access at a specific time. It only proves that a signature or trust chain was accepted, which is a much weaker guarantee.

That is why current guidance increasingly treats workload identity, token issuance, and revocation as a single control plane. In agentic and automated environments, static RBAC alone is not enough because the workload’s actions are dynamic. Policy must be evaluated at request time, with context about issuer, audience, device or workload posture, and intended action. This is consistent with the lessons in the Internet Archive breach, where identity trust and downstream access assumptions mattered as much as the initial compromise.

  • Use short-lived tokens and bind them to a specific audience and workload identity.
  • Prefer workload identity primitives over reusable shared secrets, and verify issuer provenance.
  • Force runtime policy checks before high-risk actions instead of relying on token possession alone.
  • Log token minting, exchange, and use as separate events so revocation can be validated.

Operationally, teams should cross-check sign-in telemetry, token issuance logs, and downstream authorization logs to detect gaps where a token was accepted without a corresponding trustworthy issuance path. These controls tend to break down in hybrid estates with legacy services, because older apps often accept bearer tokens without enforcing audience restrictions or revocation checks.

Common Variations and Edge Cases

Tighter token controls often increase engineering overhead, requiring organisations to balance stronger assurance against service availability and integration complexity. That tradeoff becomes sharper in multi-cloud, hybrid, and legacy API environments, where not every service can validate the same token attributes or call back to the issuer in real time.

There is no universal standard for this yet, but current guidance suggests treating forged-token risk differently from ordinary token theft. If the issuer can be impersonated, revocation by itself is not enough. Teams need issuer hardening, certificate protection, tighter audience scoping, and independent detection of impossible token paths. For practical lessons on exposed tokens persisting beyond their intended life, the Dropbox Sign breach and JetBrains GitHub plugin token exposure both show how quickly a trusted credential becomes a long-lived access problem once it escapes its control boundary.

In environments with heavy automation, the safest posture is to assume that any long-lived or broadly accepted service token will eventually outlive its trust context, especially where certificate compromise, shared signing material, or weak audience validation are still present.

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, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Forged service tokens expose weak issuance, rotation, and revocation controls.
OWASP Agentic AI Top 10 A-04 Autonomous service actions need runtime authorization beyond static token trust.
CSA MAESTRO ID-2 Workload identity and trust boundaries are central when tokens may be forged.
NIST AI RMF AI RMF applies when autonomous systems depend on service tokens for tool access.
NIST CSF 2.0 PR.AC-4 Access control and identity assurance fail if forged tokens bypass service boundaries.

Tighten NHI token issuance, rotation, and revocation so accepted tokens stay bounded to intended workloads.