Join our Newsletter — 33% off our NHI Course

Canonical Request Data

Canonical request data is a normalised representation of the exact fields that define an operation, such as recipient, amount, action, and nonce. Normalisation removes ambiguity so the same request always produces the same signed bytes. That makes tampering detectable after human approval or policy review.

Expanded Definition

Canonical request data is the exact operational input set rendered into a stable, normalised form before it is approved, signed, or transmitted. It typically includes the fields that change business meaning, such as recipient, amount, action, nonce, expiry, and scope, while excluding presentation noise like ordering differences or formatting variants. In NHI and agentic AI workflows, this matters because a human approver or policy engine must review the same semantic request that later becomes the signed artefact.

Definitions vary across vendors when systems describe this as a message digest, a signing payload, or an approval envelope, but the security requirement is consistent: the canonical form must be deterministic and verifiable. That aligns with the integrity expectations described in the NIST Cybersecurity Framework 2.0, even if the framework does not use this exact term. When organisations design this poorly, they create a gap between what was reviewed and what was executed. The most common misapplication is canonicalising only the display layer, which occurs when the signed bytes are generated from fields that were not locked at approval time.

Examples and Use Cases

Implementing canonical request data rigorously often introduces extra engineering and governance overhead, requiring organisations to weigh tamper resistance against flexibility in how requests are assembled, approved, and replay-checked.

  • An AI agent prepares a payment instruction, and the approval screen shows the same recipient, amount, and nonce that will be signed, so downstream validation can detect any change after review.
  • A service account submits an API call through a broker that converts unordered JSON fields into a stable canonical string before HMAC signing, reducing ambiguity in retries and audits.
  • An access workflow for a privileged secret request records the exact scope, purpose, expiry, and requester identity in canonical form so a later approval cannot be repurposed for a broader action.
  • A supply chain signing flow for machine-to-machine trust uses canonical request data to ensure the request approved by policy is the same request that reaches the target system, supporting the integrity model discussed by NIST Cybersecurity Framework 2.0.
  • NHIMG research shows that poor identity hygiene remains widespread, including Ultimate Guide to NHIs — Key Research and Survey Results finding that 96% of organisations store secrets outside secrets managers and 80% of identity breaches involve compromised non-human identities, which makes request integrity controls especially relevant.

Why It Matters in NHI Security

Canonical request data is a control against request substitution, silent parameter drift, and approval laundering. In NHI environments, the risk is not only that a secret or token is stolen, but that an agent or integration uses a slightly altered payload than the one a reviewer, policy engine, or signing service assessed. That distinction becomes critical when actions are high impact, such as rotating credentials, granting access, changing payment destinations, or authorising third-party callbacks.

NHIMG research highlights why this matters at scale: the Ultimate Guide to NHIs — Key Research and Survey Results reports that 97% of NHIs carry excessive privileges and 71% are not rotated within recommended time frames. When high-privilege identities are already overexposed, weak request integrity can turn a routine automation into a lasting compromise. For practitioners, canonicalisation is part of making approvals auditable, signatures meaningful, and replay detection reliable. It also supports the operational discipline expected in NIST Cybersecurity Framework 2.0 because integrity protections only work when the reviewed object is identical to the executed object. Organisations typically encounter the need for canonical request data only after a fraud event or privilege abuse incident, at which point the mismatch between approval and execution 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 CSF 2.0, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Request integrity and tamper resistance are core to safe non-human actions.
NIST CSF 2.0 PR.DS-6 Protects data integrity during storage and transmission of machine requests.
NIST Zero Trust (SP 800-207) SC.AC-3 Zero Trust requires each action to be explicitly verified, not assumed trustworthy.
NIST SP 800-63 AAL2 Strong assurance depends on binding the approved transaction to the executed one.
OWASP Agentic AI Top 10 AGENT-05 Agent tool actions must be constrained to the exact approved parameters.

Canonicalise action payloads before approval and signing so the executed request matches the reviewed request.