Committed Multi-Dimension Admissibility Evidence for Pre-Action Authorization: A RATS Extension Sketch
draft-das-rats-multidim-00
This document is an Internet-Draft (I-D).
Anyone may submit an I-D to the IETF.
This I-D is not endorsed by the IETF and has no formal standing in the
IETF standards process.
| Document | Type | Active Internet-Draft (individual) | |
|---|---|---|---|
| Author | Sangam Das | ||
| Last updated | 2026-12-02 | ||
| RFC stream | (None) | ||
| Intended RFC status | (None) | ||
| Formats | |||
| Additional resources |
AI-Native 6G Beyond Connectivity: Cryptographically Protected Execution Authority Across RAN, Silicon, Satellites, Ambient IoT, Autonomous Agents and Green Networks — CVID, 16 Invention Groups
|
||
| Stream | Stream state | (No stream defined) | |
| Consensus boilerplate | Unknown | ||
| RFC Editor Note | (None) | ||
| IESG | IESG state | I-D Exists | |
| Telechat date | (None) | ||
| Responsible AD | (None) | ||
| Send notices to | (None) |
draft-das-rats-multidim-00
Independent Submission S. K. Das
Internet-Draft Independent
Intended status: Informational 2 December 2026
Expires: 5 June 2027
Committed Multi-Dimension Admissibility Evidence for Pre-Action
Authorization: A RATS Extension Sketch
draft-das-rats-multidim-00
Abstract
Remote attestation (RATS, RFC 9334) lets a verifier appraise evidence
about one environment. Agent governance tools evaluate several
policy conditions before an action. Real decisions depend on many
independent conditions at once: the identity and delegation of the
requester, the model version, the state of a digital twin, the
jurisdiction, a quorum, a network slice. This document sketches how
those dimensions can be listed in a registry, evaluated together,
committed into a single vector with a cryptographic commitment, and
tied to a versioned state chain, so that when any dimension changes
the capabilities issued under the earlier state stop being valid. It
shows how this can be built with existing attestation verifiers,
policy engines, Merkle commitments and key evolution, and it says
plainly where the extension to RATS would be new.
Related patent application. This document is based on international
application PCT/IB2026/054453 (publication WO 2026/150381 A2), which
was published at WIPO PATENTSCOPE on 16 July 2026. Full text:
https://patentscope.wipo.int/search/en/detail.jsf?docId=WO2026150381
(also at https://patents.google.com/patent/WO2026150381A2/en). The
application is a pending application only; nothing in this document
states or implies that any patent has been granted. Check current
status only on official registers (WIPO PATENTSCOPE and national
patent offices).
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Das Expires 5 June 2027 [Page 1]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on 5 June 2027.
Copyright Notice
Copyright (c) 2026 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 4
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 4
3. Mechanism . . . . . . . . . . . . . . . . . . . . . . . . . . 4
3.1. Registry . . . . . . . . . . . . . . . . . . . . . . . . 4
3.2. Evaluation and commitment . . . . . . . . . . . . . . . . 4
3.3. Chain advance . . . . . . . . . . . . . . . . . . . . . . 5
3.4. Forward security . . . . . . . . . . . . . . . . . . . . 5
4. Implementation with current technology . . . . . . . . . . . 5
5. Relationship to existing work . . . . . . . . . . . . . . . . 6
6. Open issues . . . . . . . . . . . . . . . . . . . . . . . . . 6
7. Concrete design for an engineer . . . . . . . . . . . . . . . 6
7.1. Overview of the build . . . . . . . . . . . . . . . . . . 6
7.2. Step 1: write the registry . . . . . . . . . . . . . . . 7
7.3. Step 2: build the evaluators . . . . . . . . . . . . . . 8
7.4. Step 3: use a standard verifier for attestation-based
dimensions . . . . . . . . . . . . . . . . . . . . . . . 8
7.5. Step 4: compute the vector and commit to it . . . . . . . 9
7.6. Step 5: advance the state chain . . . . . . . . . . . . . 9
7.7. Step 6: forward-secure signing of chain entries . . . . . 10
8. Variations . . . . . . . . . . . . . . . . . . . . . . . . . 10
8.1. Variation A: strict conjunction (recommended) . . . . . . 10
8.2. Variation B: tiered admission . . . . . . . . . . . . . . 10
8.3. Variation C: redundant evidence . . . . . . . . . . . . . 10
8.4. Variation D: pull on demand versus push cache . . . . . . 10
8.5. Variation E: commitment only versus selective
disclosure . . . . . . . . . . . . . . . . . . . . . . . 11
9. Worked example . . . . . . . . . . . . . . . . . . . . . . . 11
10. Test plan for this profile . . . . . . . . . . . . . . . . . 11
Das Expires 5 June 2027 [Page 2]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
11. Limits and open points for the engineer . . . . . . . . . . . 12
12. Lab recipe: multi-dimension admissibility on a laptop . . . . 12
13. Test vectors . . . . . . . . . . . . . . . . . . . . . . . . 13
14. Frequently asked engineering questions . . . . . . . . . . . 14
15. Engineer's reference implementation: common core . . . . . . 15
15.1. Build order . . . . . . . . . . . . . . . . . . . . . . 15
15.2. Component view . . . . . . . . . . . . . . . . . . . . . 16
15.3. Token and receipt formats . . . . . . . . . . . . . . . 16
15.4. Enforcement point algorithm . . . . . . . . . . . . . . 17
15.5. Atomic consume: storage variants . . . . . . . . . . . . 18
15.6. Keys and attestation . . . . . . . . . . . . . . . . . . 20
15.7. Uniform denial and error handling . . . . . . . . . . . 20
15.8. Unknown outcome and idempotency . . . . . . . . . . . . 20
15.9. Receipt log . . . . . . . . . . . . . . . . . . . . . . 21
15.10. Deployment variations . . . . . . . . . . . . . . . . . 21
15.11. Test plan . . . . . . . . . . . . . . . . . . . . . . . 22
15.12. Rollout . . . . . . . . . . . . . . . . . . . . . . . . 23
15.13. What to measure . . . . . . . . . . . . . . . . . . . . 23
15.14. Common mistakes . . . . . . . . . . . . . . . . . . . . 23
16. Reference sketches in Python (tested) . . . . . . . . . . . . 24
16.1. Sketch 1: enforcement point and sink . . . . . . . . . . 24
16.2. Sketch 2: vector commitment, chain and key evolution . . 28
17. Operations, threats and adoption (common core) . . . . . . . 30
17.1. Threat model in a table . . . . . . . . . . . . . . . . 30
17.2. Operator runbooks . . . . . . . . . . . . . . . . . . . 30
17.3. What to monitor . . . . . . . . . . . . . . . . . . . . 31
17.4. Capacity and sizing method . . . . . . . . . . . . . . . 32
17.5. Interoperability and versioning . . . . . . . . . . . . 32
17.6. Adoption plan . . . . . . . . . . . . . . . . . . . . . 33
17.7. Standards used in this series, in one line each . . . . 33
18. Decision guide, review checklist and glossary (common
core) . . . . . . . . . . . . . . . . . . . . . . . . . . 34
18.1. How to choose among the variants . . . . . . . . . . . . 34
18.2. Worked failure analyses . . . . . . . . . . . . . . . . 35
18.3. Security review checklist . . . . . . . . . . . . . . . 36
18.4. Glossary . . . . . . . . . . . . . . . . . . . . . . . . 37
19. Security Considerations . . . . . . . . . . . . . . . . . . . 38
20. Status, Intellectual Property and Notices . . . . . . . . . . 39
21. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 39
22. Search Aid for Patent Examiners and Researchers . . . . . . . 39
22.1. Keywords . . . . . . . . . . . . . . . . . . . . . . . . 39
22.2. Search phrases . . . . . . . . . . . . . . . . . . . . . 40
22.3. Indicative classification starting points . . . . . . . 40
22.4. Existing technology to compare against . . . . . . . . . 40
22.5. Informative references for context . . . . . . . . . . . 40
23. Related Patent Applications and Public Disclosures . . . . . 41
24. Informative References . . . . . . . . . . . . . . . . . . . 42
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 43
Das Expires 5 June 2027 [Page 3]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
1. Introduction
RATS defines roles (Attester, Verifier, Relying Party), evidence
formats (Entity Attestation Token, RFC 9711) and a flow in which a
Verifier appraises evidence against reference values and returns an
attestation result. Nonces give freshness. Policy engines such as
Open Policy Agent and Cedar evaluate many attributes before an action
is allowed. What is not described in these specifications is how
several independent conditions of different kinds are committed
together and how a change in any one of them retires authorizations
already issued.
2. Terminology
* Dimension: an independent condition that can be true or false at
the time of a decision, with its own evidence source (for example
"model version is on the approved list", "digital twin matches
deployed configuration", "requester is within delegated scope",
"jurisdiction permits").
* Dimension profile: a registry entry for one dimension that states
an approved state class, how runtime state is fetched, the
validation rule, how fresh the evidence must be, and what events
retire it.
* Admissibility vector: the ordered results for all dimensions at
one instant.
* Vector commitment: a hash-based commitment to the vector.
* State chain: a sequence of versions of the authorization state,
each linked to the previous one by a hash.
3. Mechanism
3.1. Registry
A registry lists the dimensions that apply to a class of actions.
Each entry states the validation rule and the freshness bound, so
that evaluation is repeatable and auditable.
3.2. Evaluation and commitment
A verifier fetches evidence for each dimension, applies the
validation rule and produces a result. The results are placed in a
Merkle tree (as in RFC 9162) and the root is signed together with the
state-chain version. A capability is released only if every
dimension passes.
Das Expires 5 June 2027 [Page 4]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
3.3. Chain advance
The state chain advances when a triggering event occurs. Candidate
triggers are consumption of a use, expiry, revocation, replacement of
the model version, a change in the digital twin, a quorum change, a
change of jurisdiction, a delegation change or a change of network
slice. Each advance creates a new version. A capability carries the
version under which it was issued, and an enforcement point refuses a
capability whose version is not current.
3.4. Forward security
Keys used to sign capabilities for a version can be derived from a
one-way chain (for example by HKDF, RFC 5869), so that compromise of
the current key does not allow signing for earlier versions.
4. Implementation with current technology
* Evidence collection: EAT-based evidence from the host and
accelerator (confidential VM quotes, confidential GPU attestation
reports, device identity using DMTF SPDM), signed model manifests
(for example through supply-chain signing tools such as Sigstore),
signed digital-twin build identifiers, and identity and delegation
tokens (WIMSE, OAuth).
* Verifier: an open-source RATS verifier service for hardware
evidence plus a policy engine (OPA Rego or Cedar) for dimension
rules.
* Commitment: SHA-256 Merkle tree with a signed tree head, using the
encoding of RFC 9162 or a COSE Merkle tree profile.
* State chain: a replicated, strongly consistent log (Raft-based
store) storing version, previous hash and trigger.
* Enforcement point: reads the current version from the replicated
store and compares it with the version carried in the capability.
* Event propagation: triggers arrive by event bus, status list or
shared-signals feed.
* Latency: Microsoft has reported policy checks with a 99th-
percentile latency under 0.1 ms for its toolkit's local
evaluation. A state advance involves replicated writes and
signing, which will cost more. The cost of an advance relative to
action rates must be measured before any claim of fitness is made.
Das Expires 5 June 2027 [Page 5]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
5. Relationship to existing work
* RATS (RFC 9334, RFC 9711): the evidence-and-appraisal pattern is
reused. The extension is the multi-dimension commitment and the
version binding.
* Microsoft Agent Governance Toolkit and policy engines: evaluate
several conditions inline. They are software policy checks and,
in the sources reviewed, do not tie a decision to a state chain.
* Agent-authentication drafts (WIMSE, SPIFFE, OAuth): supply the
identity and delegation dimensions only.
* 3GPP TS 28.312 and TM Forum intent models: handle intent conflicts
at management level.
* Key-epoch rotation in key management systems is a close analogy to
chain advance, applied here to authorizations.
6. Open issues
* Eleven or more triggers are possible. A reference design must
show a minimal set that is useful and a schema that implementers
can follow.
* Dimension freshness: stale evidence must be defined per dimension.
* Cost of retiring many capabilities when one dimension changes (a
thundering herd of re-issuance).
* Whether the model-version and digital-twin dimensions can be
attested in practice outside a single vendor's platform.
7. Concrete design for an engineer
This section shows how to build the multi-dimension check on top of
an existing RATS verifier. Formats are illustrative. Where the text
names an existing structure it says so, and the engineer should check
the current version of that specification before relying on its field
names.
7.1. Overview of the build
Das Expires 5 June 2027 [Page 6]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
evidence sources dimension evaluators commitment
---------------- -------------------- ----------
model registry ----> D1 model-version
twin snapshot ----> D2 twin-match --> vector --> root
delegation log ----> D3 scope (ordered) |
jurisdiction map ----> D4 jurisdiction v
state chain S[n]
|
v
token / receipt
Each dimension has its own evidence source and its own evaluator.
The result of each evaluator is a bit (true or false) plus an
evidence digest. The vector is the ordered list of those results. A
hash-based commitment to the vector is placed in the capability token
and in the receipt.
7.2. Step 1: write the registry
The registry holds one profile per dimension. Keep it as signed
data. An illustrative entry (JSON form):
{
"dim-id": "model-version",
"version": 3,
"approved-state": "list:approved-models-2026-11",
"fetch": "attester://model-host/measurements",
"rule": "measurement in approved list",
"max-evidence-age-s": 60,
"freshness": "nonce",
"retire-on": ["model-withdrawn", "list-updated"],
"on-unavailable": "false"
}
Rules for the registry:
* Dimension identifiers are stable and never reused.
* "on-unavailable" must be stated. For safety, the default is
"false": if evidence cannot be obtained, the dimension is not
satisfied.
* Changing a profile creates a new version. The vector commitment
records the profile version of each dimension.
* The registry is signed by the registry operator. The EP verifies
the signature on load and records the registry digest in each
receipt.
Das Expires 5 June 2027 [Page 7]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
7.3. Step 2: build the evaluators
An evaluator has this interface, shown in neutral pseudo-code:
interface Evaluator:
fetch(ctx, nonce) -> evidence
check(evidence, profile) -> (ok: bool, digest: bytes)
max_age() -> seconds
Guidance per example dimension:
* Model version. Obtain measurements of the loaded model from an
attester on the host (a hash of weights or a signed manifest).
Compare to the approved list. Use a nonce so that an old
measurement cannot be replayed.
* Digital twin match. Obtain a digest of the twin configuration
that was validated, and a digest of the live configuration. The
check is equality, or equality within a stated tolerance that is
part of the profile.
* Delegated scope. Read the delegation record for the requester and
check that the action type and parameters are inside it. This is
a lookup, not an attestation.
* Jurisdiction. Check that the declared location of the service and
of the data subject is in the permitted set. State the source of
location and its confidence in the profile.
Run evaluators in parallel with a deadline. A timeout is
"unavailable" and follows the profile's rule.
7.4. Step 3: use a standard verifier for attestation-based dimensions
For dimensions based on hardware or software attestation, do not
write a new verifier. Use a RATS verifier (RFC 9334) and consume its
attestation results. Open-source verifier frameworks exist (for
example the Veraison project). Reference values can be provided in a
standard form (the IETF CoRIM work). The evidence format can be an
Entity Attestation Token (RFC 9711). The evaluator for such a
dimension is a thin wrapper that calls the verifier and maps its
result to a bit and a digest.
The IETF RATS work on attestation results for secure interactions
defines a trustworthiness vector with named claims (such as instance
identity, configuration, executables, file system, hardware, runtime
opacity, storage opacity and sourced data, at the time of writing;
check the current draft). Where a dimension in this document
Das Expires 5 June 2027 [Page 8]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
coincides with one of those claims, reuse it. Add new dimensions
only for conditions that are not about the attested platform, such as
scope or jurisdiction.
7.5. Step 4: compute the vector and commit to it
Define the vector as the ordered list of dimension results, in the
order of the registry. Build a Merkle tree over leaves:
leaf[i] = H( 0x00 || dim-id || profile-version
|| result || evidence-digest || salt[i] )
node = H( 0x01 || left || right )
root = top node
* H is SHA-256. The 0x00 and 0x01 prefixes separate leaves from
interior nodes (as in RFC 9162).
* salt[i] is a random value per leaf per decision. It stops an
observer from guessing the result of a dimension by hashing the
two possible values.
* The root is the vector commitment. It goes into the token and the
receipt.
* To prove one dimension to an auditor without revealing the others,
give the leaf, its salt and the inclusion path.
Admission rule: the action is admitted only if every dimension in the
profile set required for this action class is true. A weaker rule
(for example, k of n redundant evidence sources for one dimension)
can be defined inside the evaluator for that dimension, not across
dimensions.
7.6. Step 5: advance the state chain
The state chain links versions of the authorization state:
S[n] = H( S[n-1] || root[n] || ts[n] || policy-digest )
* Store S[n] with the grant. A token carries the value of n or S[n]
in "state-version".
* Any change in a dimension's result that matters (for example a
model is withdrawn) advances the chain. A token made under an
older state fails at the sink once the sink learns the newer
state.
Das Expires 5 June 2027 [Page 9]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Publish checkpoints of S[n] to the receipt log so that a fork (two
different successors of the same S[n-1]) is detectable.
7.7. Step 6: forward-secure signing of chain entries
To limit damage from later key theft, evolve the key used to sign
chain entries:
K[n+1] = HKDF-Expand( K[n], "advance", L ) (RFC 5869)
sign entry n with K[n], then erase K[n]
* The verifier needs the public part. For symmetric evolution, use
a scheme where verification keys are derived or published in
advance, or use a signature scheme with forward security. State
the scheme chosen. Do not describe a plain MAC chain as publicly
verifiable.
* Erasure must be real: overwrite in memory inside the protected
domain and do not write K[n] to disk or backups.
* Keep a signed link from the old key epoch to the new one, so that
history is verifiable end to end.
* Forward security protects entries signed before a compromise. It
does not protect entries after it.
8. Variations
8.1. Variation A: strict conjunction (recommended)
All required dimensions must be true. Simple to explain and audit.
8.2. Variation B: tiered admission
Define tiers of action risk. A low-risk tier needs a subset of
dimensions. A high-risk tier needs all. The tier is part of the
action class in the registry, so a requester cannot choose it.
8.3. Variation C: redundant evidence
For one dimension, require evidence from two independent sources (for
example two attesters, or an attester plus an independent
measurement). The evaluator returns true only if both agree. Keep
this inside the dimension, so the vector stays a list of single
results.
8.4. Variation D: pull on demand versus push cache
Das Expires 5 June 2027 [Page 10]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Pull on demand: fetch evidence for each decision. Freshest,
slowest.
* Push cache: evidence sources push changes and the EP caches
results for the freshness window. Faster, with a stated staleness
bound equal to the freshness window.
8.5. Variation E: commitment only versus selective disclosure
* Commitment only: put the root in the token and keep leaves in the
log. Auditors with access to the log can verify.
* Selective disclosure: let the requester or an auditor ask for a
proof of one dimension. Needs the salts to be stored for the
audit retention period.
9. Worked example
An autonomous controller proposes a change to a network function.
The registry has four required dimensions for the action class:
model-version, twin-match, scope and jurisdiction.
* The EP asks the attester for a fresh measurement of the model and
gets true.
* The twin digest equals the live configuration digest: true.
* The delegation record allows this change type: true.
* The service location is inside the permitted region: true.
* The leaves are hashed with fresh salts and the root is computed.
* The chain advances to S[n]. The EP releases a token carrying S[n]
and the root.
* One minute later the model is withdrawn. The registry advances
the chain to S[n+1]. A second request using the old token at a
sink that has learned S[n+1] fails.
* An auditor later asks about the model dimension. The EP produces
the leaf, salt and path. The auditor recomputes the root and sees
it matches the receipt.
10. Test plan for this profile
Das Expires 5 June 2027 [Page 11]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Flip one dimension between evaluation and release. The release
must reflect the state at the consume point, or the consume must
fail and the unit be returned.
* Replay an old evidence package. Rejected by the nonce or the
epoch.
* Registry signature invalid: the EP refuses to start.
* Two EPs advance the chain from the same S[n-1]. The fork is
detected by the checkpoint comparison.
* Remove one leaf from a proof. The recomputed root must not match.
* Evaluator timeout: result follows "on-unavailable" and the vector
records it.
* Key evolution: confirm that the erased key is not present in
memory dumps, swap or backups of the protected domain.
* Dimension profile change: old tokens that refer to the older
profile version must fail or be explicitly accepted by rule.
11. Limits and open points for the engineer
* The overlap with the existing RATS attestation-results work is
strong for platform dimensions. Compare before inventing a new
claim name.
* No overhead figure is given. Evaluating several dimensions in
parallel is bounded by the slowest evidence source. Measure it.
* Combining dimensions with different freshness windows needs a rule
for the vector as a whole. The simplest rule is that the vector
is as fresh as its stalest dimension.
* Salts add storage. For high-rate systems, store them only for
decisions above a risk threshold.
12. Lab recipe: multi-dimension admissibility on a laptop
* Step 1, run the sketch tests. The vector commitment sketch has
tests for proofs, a flipped bit and the chain.
Das Expires 5 June 2027 [Page 12]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Step 2, stand up a verifier. Run an open-source RATS verifier
such as the Veraison services, and register reference values for a
test platform. Produce test evidence for it from the project's
example tooling. Check that you get an attestation result and
read its trustworthiness claims.
* Step 3, write two simple evaluators. One for "model-version" that
compares a hash in a signed manifest with an approved list. One
for "scope" that reads a delegation record from a file. Give each
the interface in this document.
* Step 4, add a mock evaluator for a source that can fail. Make it
time out on purpose. Check that the vector records the dimension
as not satisfied, and that the registry's "on-unavailable" rule is
applied.
* Step 5, commit. Build the vector, the Merkle root and the state
chain entry. Store the leaves, salts and chain value.
* Step 6, prove one dimension. Produce the leaf, salt and path for
"scope". Write a separate verifier script that recomputes the
root. Run it on a copy of the data with one byte changed and
confirm it fails.
* Step 7, advance the state. Withdraw the model from the approved
list. Check that tokens carrying the previous chain value are
refused at a sink that has the new value.
* Step 8, key evolution. Run the evolution function, erase the old
key from memory and verify that signing with the old key is no
longer possible in the process.
13. Test vectors
These vectors let an engineer check a Merkle commitment
implementation that follows the leaf and node construction in this
document. Inputs:
dimension results (dim, profile version, result, evidence digest):
("model-version", 3, 1, SHA-256("evidence-1"))
("twin-match", 1, 1, SHA-256("evidence-2"))
("scope", 2, 1, SHA-256("evidence-3"))
("jurisdiction", 1, 1, SHA-256("evidence-4"))
salts: 16 bytes each, value 0x01, 0x02, 0x03, 0x04 repeated
leaf = SHA-256( 0x00 || dim || version(4 bytes, big endian)
|| result(1 byte) || evidence || salt )
node = SHA-256( 0x01 || left || right )
Das Expires 5 June 2027 [Page 13]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
Expected values (hex):
leaf[0]
f4eb272e5fef63b510d6a023105f6dda64d153351200f76a4499e26d6c1f492e
root
50568f34a6966adc4e25b7454caee51ebc3e53f378061e535f4e2e695e956cef
Chain entry with previous value of 32 zero bytes, timestamp
1790000000 (8 bytes, big endian) and a policy digest of 32 zero
bytes:
S[1]
e5ae794f484c2e9a16a5233313acd742ab9618e06a1dae3357b83b4ffcb8bf7f
Key evolution of a 32-byte key with every byte 0x42, one expand
block, info "advance":
K[1]
48d4f34c3b03aede4b500c8a8db007c0bd71dd1fddb3b4f60eb7d61f793cdc78
These values come from the reference sketch in this document. If
your code differs, check byte order, the prefix bytes and the order
of fields.
14. Frequently asked engineering questions
Q: Why salt the leaves? A: Without a salt, anyone who sees a leaf
hash can try the two possible results and learn which one it holds.
The salt hides the result unless the holder reveals it.
Q: Why a Merkle tree and not a hash of the whole vector? A: A single
hash cannot prove one dimension without revealing all of them. The
tree allows a proof of one leaf.
Q: Can the vector be extended later? A: Yes, by registering a new
dimension and creating a new profile version of the action class.
Old receipts keep their own vector definition through the profile
version.
Q: How do I handle a dimension that cannot be checked in time? A:
Decide in the registry whether it is required. A required dimension
that is unavailable means refusal. An optional one can be recorded
as not evaluated, and the action class must say that this is allowed.
Q: Is a chain per requester or global? A: Per grant or per authority
domain is simplest. A global chain is a bottleneck and a single
point of contention. Choose the narrowest scope that still lets a
token be retired by a state change.
Das Expires 5 June 2027 [Page 14]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
15. Engineer's reference implementation: common core
This section is repeated in each document of the series so that an
engineer can build from one document without reading the others. It
describes one concrete way to build an enforcement point (EP) and its
surrounding parts. Names of products are examples of existing
technology. Message layouts and code are illustrative sketches
written for this document. They are not tested reference code, and
no performance figure is claimed anywhere in this document.
15.1. Build order
An engineer can build the mechanism in this order. Each step can be
tested alone before the next one starts.
* Step 1. Write down the effect. Name the one operation whose
effect must not happen without authorization (place a call, change
a configuration, move a robot arm, release a model output).
Everything else in this document protects that one operation.
* Step 2. Find the choke point. Locate the single place every
route to the effect passes through. If there are two routes,
there will be a bypass. Put the effect sink behind that point and
make the sink refuse anything that does not carry a valid
capability token.
* Step 3. Define the canonical candidate action. Choose a
canonical byte form for the request (for example RFC 8785 JSON
canonicalization, or deterministic CBOR from RFC 8949 section
4.2). Hash it with SHA-256. The hash is what the token is bound
to.
* Step 4. Define the policy as data. List the predicates (who,
what, when, how many, in which state). Store them in a policy
language such as Open Policy Agent Rego or Cedar, and record the
digest of the policy bundle that was used.
* Step 5. Build the state store with an atomic consume operation
(see the storage variants below).
* Step 6. Build the token signer. Keep the signing key in an HSM,
a cloud key management service or a confidential VM. Sign CBOR
Web Tokens (RFC 8392) with COSE (RFC 9052), or JWTs (RFC 7519)
with JWS.
* Step 7. Build the verifier at the sink. It checks signature,
audience, validity interval, action hash, proof of possession and
single use, then applies the effect.
Das Expires 5 June 2027 [Page 15]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Step 8. Build the receipt log. Sign every release and refusal
and append it to a log that cannot be edited silently.
* Step 9. Run in shadow mode. Compute decisions but do not block.
Compare with what actually happened.
* Step 10. Enforce, one action class at a time, with a documented
fail-closed or fail-open choice for each class.
15.2. Component view
requester --> [ EP ] --> token --> [ effect sink ] --> effect
| \ |
| +--> receipt log +--> replay table (jti)
v
state store (atomic consume)
^
policy bundle (signed, versioned)
[ EP key in HSM/TEE ] <-- attested by verifier (RFC 9334)
The EP is the only component that can mint a token. The sink is the
only component that can cause the effect. The state store is the
only place where quota changes. Keep these three roles in separate
failure domains if the risk justifies it.
15.3. Token and receipt formats
An illustrative token claim set in CDDL (RFC 8610) follows. The
names are not registered. A deployment can map them to registered
claims where they exist.
Das Expires 5 June 2027 [Page 16]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
capability-token = {
"iss": tstr,
"aud": tstr, ; the sink
"jti": bstr .size 16, ; single-use identifier
"nbf": uint,
"exp": uint, ; seconds, short lifetime
"cnf": { "kid": bstr }, ; proof of possession (RFC 7800)
"purpose": tstr,
"params-hash": bstr .size 32, ; hash of canonical action
"state-version": uint,
? "profile": tstr
}
receipt = {
"id": bstr .size 16,
"decision": "released" / "refused",
"ep": tstr,
"ts": uint,
"req-digest": bstr .size 32,
"policy-digest": bstr .size 32,
"state-version": uint,
? "token-jti": bstr .size 16,
? "internal-reason": tstr ; never sent to the requester
}
The "internal-reason" field is for operators and auditors. The
response to the requester must carry no reason, as described under
uniform denial.
15.4. Enforcement point algorithm
Das Expires 5 June 2027 [Page 17]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
def decide(req):
ctx = authenticate(req) # who is asking
if ctx is None:
return deny()
cand = canonicalize(req.action)
h = sha256(cand)
pol = policy.load(ctx.tenant) # signed bundle
now = trusted_time()
ok = True
reasons = []
for p in pol.predicates: # evaluate all, no early exit
r = p.check(ctx, cand, now)
ok = ok and r.ok
reasons.append(r)
if not ok:
log_internal(req, reasons)
return deny()
if not store.consume(ctx.grant, 1, pol.version):
return deny()
tok = sign(make_token(ctx, h, pol.version))
log_receipt("released", tok.jti, h)
return tok
Notes for the engineer:
* Evaluate every predicate even after one fails. This reduces the
difference in response time between denial reasons. It does not
make timing identical. If the threat model includes timing
probes, add a small randomized delay and measure the residual
difference.
* Take time from a trusted source. If the EP clock can be set by
the requester, every time window is void. In a TEE use a time
source the host cannot rewind, or compare with an attested time
service.
* Consume only after all predicates pass. Consuming first and
failing later leaks quota. If a later step fails after consume,
return the unit with a compensating write and log it.
15.5. Atomic consume: storage variants
The consume operation must be one indivisible step: check the quota
and the state version, and decrement. Five common ways to build it
follow. Pick by consistency need, not by habit.
Variant A: Redis with a Lua script.
Das Expires 5 June 2027 [Page 18]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
-- KEYS[1] = grant key, ARGV[1] = expected version
local v = redis.call('HGET', KEYS[1], 'ver')
local q = tonumber(redis.call('HGET', KEYS[1], 'quota'))
if v ~= ARGV[1] or q < 1 then return 0 end
redis.call('HINCRBY', KEYS[1], 'quota', -1)
return 1
The script runs atomically on one Redis node. Redis replication is
asynchronous by default, so a failover can lose the last writes and
allow a second use. Use this only where a rare double use is
tolerable, or add replica acknowledgement (the WAIT command) and
accept the latency.
Variant B: relational database, single statement.
UPDATE grants
SET quota = quota - 1
WHERE grant_id = $1 AND ver = $2
AND quota > 0 AND not_after > now()
RETURNING quota;
A returned row means the unit was consumed. Zero rows means deny. A
single UPDATE takes a row lock, so concurrent callers are serialized.
Use a synchronous replica or a consensus-based distributed SQL
database if loss on failover is not acceptable.
Variant C: DynamoDB conditional update.
UpdateItem Key={grant_id}
UpdateExpression: SET quota = quota - :one
ConditionExpression: ver = :v AND quota >= :one
A failed condition means deny. Keep the authority in one region.
Multi-region replication of such tables is eventually consistent, and
two regions could each consume the same unit.
Variant D: etcd or another Raft key-value store, compare-and-swap
transaction.
txn:
if value(grant/ver) == V and value(grant/quota) > 0
then put(grant/quota, quota-1)
else fail
This gives linearizable consume at the cost of write latency on every
release. It suits low to medium rates and high-value actions.
Das Expires 5 June 2027 [Page 19]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
Variant E: hardware counter. A TPM 2.0 non-volatile counter or an
HSM counter can hold a monotonic count. Hardware counters have
limited write endurance and low rates. Use them for high-value, low-
rate grants or as an anchor for a periodic checkpoint of a faster
store.
At the sink, add a replay table keyed by jti and keep entries until
the token expires. This catches a token presented twice even if the
EP store had a fault.
15.6. Keys and attestation
* Signing key: generate inside an HSM or cloud KMS, or inside a
confidential VM with a sealed key. Prefer a key that cannot be
exported. Restrict the signing operation to the EP identity.
* Verification key distribution: publish the EP public key through a
JWKS or a COSE key set, signed by the issuer. Pin it at the sink.
* Attestation: the sink (or a third party) verifies that the EP runs
the expected code in the expected protected environment, using a
RATS verifier (RFC 9334) and attestation results carried as Entity
Attestation Tokens (RFC 9711). Cache the result for a short,
stated time. Re-verify after any restart.
* Rotation: overlap two keys for one token lifetime. Revoke by
publishing a new key set and a higher state version.
* Proof of possession: bind the token to the requester key (RFC 7800
"cnf", or DPoP, RFC 9449, for HTTP). A stolen token without the
key is then useless.
15.7. Uniform denial and error handling
Return one response for every refusal: the same status, body shape
and, as far as practical, timing. Put the reason only in the
internal log. Do not return which predicate failed, whether a grant
exists, or how much quota remains. Rate-limit refusals per requester
so that an attacker cannot use the EP as an oracle.
15.8. Unknown outcome and idempotency
A request can time out after the sink applied the effect. The
requester then does not know whether to retry. Handle it this way:
* Carry an idempotency key chosen by the requester inside the
canonical action. Two requests with the same key and the same
action hash are the same candidate action.
Das Expires 5 June 2027 [Page 20]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Let the EP map (idempotency key, action hash) to the token it
already released. A repeat request within the token lifetime
returns the same token without a second consume.
* Let the sink record the jti before the effect, and the outcome
after it. A second presentation returns the recorded outcome, not
a second effect.
* If the sink cannot tell whether the effect happened, it reports
"unknown" to the operator. Do not guess. A manual reconciliation
step is part of the design.
15.9. Receipt log
Every release and every refusal is a signed receipt. Options for the
log, from simplest to strongest:
* Option 1: an append-only table with a hash chain (each row
contains the hash of the previous row) and a signed checkpoint
every N rows.
* Option 2: a Merkle-tree log in the style of Certificate
Transparency (RFC 9162), run as a service, so that a third party
can obtain an inclusion proof and a consistency proof.
* Option 3: a transparency service in the style of the IETF SCITT
architecture, with signed statements and receipts that carry
Merkle tree proofs.
Whatever the option, publish the checkpoint to a place the operator
cannot rewrite alone (a second organization, a public log, or a
write-once store). Without that, the log shows what the operator
chose to keep.
15.10. Deployment variations
The same mechanism can be placed in five ways. Choose by where the
choke point is.
* V1, library in the application. Lowest latency. Weakest
separation, because the requester process holds the library.
Suitable only when the requester is trusted and the goal is
accident prevention, not attack resistance.
* V2, sidecar next to the requester or the sink. Good for service
meshes. A compromised application cannot change the sidecar's key
if the sidecar runs in a separate protection domain.
Das Expires 5 June 2027 [Page 21]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* V3, gateway or external authorization filter. Examples are an API
gateway plugin, an Envoy external authorization filter, a SIP
proxy script, an SBC hook or a 3GPP network function. One place
to apply policy for many services. It becomes a high-value target
and a single point of failure.
* V4, hardware-backed service. The EP runs in a confidential VM, an
enclave or an HSM-backed service. Highest assurance and highest
operational cost. Use it for high-value actions.
* V5, federated. Two or more domains each run an EP, and a token is
valid only if each EP in the chain signed it. Use it when no
single party should decide. It adds latency and needs agreed
policy semantics.
15.11. Test plan
A conformance suite for the mechanism contains at least these tests.
Each is a pass or fail test, not a measurement.
* Replay: present a valid token twice. The second must fail at the
sink.
* Parameter tamper: change one byte of the action after release.
The sink must refuse.
* Expired token: present after "exp". Refuse.
* Wrong audience: present a token for sink A to sink B. Refuse.
* Wrong key: present without the bound key. Refuse.
* Stale state: advance the state version, then present an older
token. Refuse.
* Revocation: revoke the grant, then request. Deny, with the same
response as any other denial.
* Quota race: start many concurrent requests for a grant with quota
one. Exactly one must succeed.
* Crash recovery: kill the EP between consume and token release.
After restart, the unit must be either returned or recoverable by
the idempotency key. It must not be lost silently and must not
allow two effects.
* Clock skew: move the EP clock and the sink clock apart within the
stated tolerance and beyond it. Behaviour must follow the policy.
Das Expires 5 June 2027 [Page 22]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Denial uniformity: compare responses for each refusal reason.
Bodies must match. Record timing differences and decide whether
they are acceptable.
* Bypass: attempt the effect without going through the EP. The sink
must refuse.
15.12. Rollout
* Shadow mode: run the EP, record decisions and do not block.
Compare with real traffic for a stated period. Fix false denials.
* Advisory mode: warn the requester when a request would be denied.
* Enforce, low-risk class first. Widen after each class is stable.
* Document for each class whether the EP fails closed (deny when the
EP is unreachable) or fails open (allow). Fail-open removes the
guarantee for that class. For safety-critical classes where
denial is itself dangerous (for example emergency calls), fail
open and record that fact in the receipt.
* Keep a break-glass path that is itself authorized, logged and
reviewed.
15.13. What to measure
Measure these in the engineer's own environment before making any
claim. The document gives no numbers on purpose.
* Added latency at the EP, split into authentication, policy
evaluation, consume, signing and logging.
* Signing throughput of the key service. It is often the first
limit.
* Consume latency and its behaviour under contention on one grant.
* Sink verification cost per request, with and without a warm cache
of the EP key and attestation result.
* Receipt log append rate and checkpoint publication delay.
* Rate of false denials during shadow mode.
15.14. Common mistakes
Das Expires 5 June 2027 [Page 23]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Leaving a second route to the effect that does not pass the sink
check.
* Binding the token to a request identifier instead of a hash of the
action.
* Consuming quota before checking all predicates, or after issuing
the token.
* Returning different errors for different denial reasons.
* Using one long-lived key for everything and never rotating.
* Trusting the requester's clock.
* Letting the receipt log live only on the host that the operator
can rewrite.
* Treating attestation of the EP as proof that its policy is right.
Attestation shows what code ran. It does not show that the policy
is wise.
16. Reference sketches in Python (tested)
This section gives small reference sketches in Python. They show the
logic in running form. They were run against unit tests in a sandbox
on 2 December 2026 (Python 3.13, the "cryptography" package, SQLite)
and the tests passed. They are teaching sketches. They are not
hardened code and have had no security review. The SQLite store
stands in for a real store. It serializes through a lock. A
production system would use the storage variants in the common core.
16.1. Sketch 1: enforcement point and sink
Tests for this sketch: a valid release and one use; replay refused at
the sink; one grant with quota one gives exactly one token under 30
concurrent requests; every refusal returns the same result; a changed
action or the wrong sink is refused; a repeated request with the same
idempotency key returns the same token and does not consume twice; a
revoked or not yet valid grant is refused.
# Reference sketch: enforcement point (EP) and sink.
# Requires Python 3.9+ and the "cryptography" package.
import base64, hashlib, json, sqlite3, threading, time, uuid
from cryptography.exceptions import InvalidSignature
from cryptography.hazmat.primitives.asymmetric.ed25519 import (
Ed25519PrivateKey,
)
Das Expires 5 June 2027 [Page 24]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
def canon(obj):
# Stand-in for RFC 8785 canonical JSON.
return json.dumps(
obj, sort_keys=True, separators=(",", ":")
).encode()
def b64(b):
return base64.urlsafe_b64encode(b).rstrip(b"=").decode()
def unb64(s):
return base64.urlsafe_b64decode(s + "=" * (-len(s) % 4))
class Store:
def __init__(self):
self.db = sqlite3.connect(
":memory:",
isolation_level=None,
check_same_thread=False,
)
self.lock = threading.RLock() # sqlite sketch only
self.db.executescript("""
CREATE TABLE grants(id TEXT PRIMARY KEY, agent TEXT,
action TEXT, target TEXT, nbf INT, naf INT,
quota INT, ver INT, revoked INT DEFAULT 0);
CREATE TABLE idem(k TEXT PRIMARY KEY, h TEXT, tok TEXT);
""")
def q(self, sql, args=()):
with self.lock:
return self.db.execute(sql, args)
def add_grant(
self, gid, agent, action, target, nbf, naf, q
):
self.q(
"INSERT INTO grants VALUES(?,?,?,?,?,?,?,?,0)",
(gid, agent, action, target, nbf, naf, q, 1),
)
def grant(self, gid):
return self.q(
"SELECT agent,action,target,nbf,naf,quota,ver,revoked"
" FROM grants WHERE id=?",
(gid,),
).fetchone()
Das Expires 5 June 2027 [Page 25]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
def consume(self, gid, ver, now):
# One statement: check and decrement together.
with self.lock:
cur = self.q(
"UPDATE grants SET quota=quota-1 WHERE id=?"
" AND ver=? AND quota>0 AND revoked=0"
" AND nbf<=? AND naf>?",
(gid, ver, now, now),
)
return cur.rowcount == 1
def revoke(self, gid):
self.q(
"UPDATE grants SET revoked=1, ver=ver+1 WHERE id=?",
(gid,),
)
class EP:
def __init__(
self, store, sink_id, clock=time.time, life=30
):
self.store, self.sink_id = store, sink_id
self.key = Ed25519PrivateKey.generate()
self.pub = self.key.public_key()
self.clock, self.life = clock, life
self.receipts = [] # replace with a signed log
def _receipt(self, decision, h, jti=None):
self.receipts.append(
{
"decision": decision,
"h": h,
"jti": jti,
"ts": int(self.clock()),
}
)
def release(self, agent, gid, action, idem_key):
now = int(self.clock())
h = hashlib.sha256(canon(action)).hexdigest()
row = self.store.q(
"SELECT h,tok FROM idem WHERE k=?", (idem_key,)
).fetchone()
if row and row[0] == h:
return row[1] # repeat request, same token
g = self.store.grant(gid)
ok = g is not None
Das Expires 5 June 2027 [Page 26]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
if ok: # evaluate every predicate
a, act, tgt, nbf, naf, q, ver, rev = g
checks = [
a == agent,
act == action.get("type"),
tgt == action.get("target"),
nbf <= now < naf,
q > 0,
rev == 0,
]
ok = all(checks)
if not ok or not self.store.consume(gid, g[6], now):
self._receipt("refused", h)
return None # uniform denial
claims = {
"iss": "ep",
"aud": self.sink_id,
"jti": uuid.uuid4().hex,
"nbf": now,
"exp": now + self.life,
"agent": agent,
"params-hash": h,
"state-version": g[6],
}
body = canon(claims)
tok = b64(body) + "." + b64(self.key.sign(body))
self.store.q(
"INSERT INTO idem VALUES(?,?,?)",
(idem_key, h, tok),
)
self._receipt("released", h, claims["jti"])
return tok
class Sink:
def __init__(self, ep_pub, sink_id, clock=time.time):
self.pub, self.sink_id = ep_pub, sink_id
self.clock = clock
self.seen, self.lock = set(), threading.Lock()
self.effects = []
def apply(self, token, action):
try:
p, s = token.split(".")
body = unb64(p)
self.pub.verify(unb64(s), body)
c = json.loads(body)
except (ValueError, InvalidSignature):
Das Expires 5 June 2027 [Page 27]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
return False
now = self.clock()
want = hashlib.sha256(canon(action)).hexdigest()
if (
c["aud"] != self.sink_id
or c["params-hash"] != want
or not c["nbf"] <= now < c["exp"]
):
return False
with self.lock: # replay table
if c["jti"] in self.seen:
return False
self.seen.add(c["jti"])
self.effects.append(action) # the effect happens here
return True
16.2. Sketch 2: vector commitment, chain and key evolution
Salted Merkle commitment over dimension results, inclusion proofs,
chain advance and one-way key evolution. Tests: all proofs verify, a
flipped result fails, odd leaf counts, chain links differ, evolution
is deterministic.
# Reference sketch: salted Merkle vector commitment, state chain,
# and one-way key evolution (HKDF-Expand style, RFC 5869).
import hashlib, hmac, os
def H(*parts):
return hashlib.sha256(b"".join(parts)).digest()
def leaf(dim, ver, ok, evid, salt):
return H(
b"\x00",
dim.encode(),
ver.to_bytes(4, "big"),
bytes([ok]),
evid,
salt,
)
def root_and_paths(leaves):
level, paths = list(leaves), [[] for _ in leaves]
idx = list(range(len(leaves)))
while len(level) > 1:
if len(level) % 2:
Das Expires 5 June 2027 [Page 28]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
level.append(level[-1]) # duplicate last node
for i, pos in enumerate(idx):
sib = pos ^ 1
paths[i].append((level[sib], sib < pos))
level = [
H(b"\x01", level[i], level[i + 1])
for i in range(0, len(level), 2)
]
idx = [p // 2 for p in idx]
return level[0], paths
def verify(leaf_hash, path, root):
h = leaf_hash
for sib, sib_is_left in path:
h = (
H(b"\x01", sib, h)
if sib_is_left
else H(b"\x01", h, sib)
)
return h == root
def chain_next(prev, root, ts, policy_digest):
return H(prev, root, ts.to_bytes(8, "big"), policy_digest)
def evolve(key, info=b"advance"):
# HKDF-Expand with one block; caller must erase the old key.
return hmac.new(
key, info + b"\x01", hashlib.sha256
).digest()
def decide(results):
"""results: list of (dim, ver, ok, evidence_digest)."""
salts = [os.urandom(16) for _ in results]
ls = [
leaf(d, v, int(ok), e, s)
for (d, v, ok, e), s in zip(results, salts)
]
root, paths = root_and_paths(ls)
admitted = all(ok for _, _, ok, _ in results)
return admitted, root, ls, paths, salts
Das Expires 5 June 2027 [Page 29]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
17. Operations, threats and adoption (common core)
This section is repeated in each document of the series. It covers
what an operator needs after the mechanism is built.
17.1. Threat model in a table
Threat Mitigation Residual risk
-------------------------- -------------------------- ------------
Requester forges a token Signature by EP key in Key theft
HSM/TEE; sink verifies
Requester replays a token jti replay table at sink; Table loss
short lifetime after crash
Requester alters action Token bound to action hash Hash scheme
mismatch
Stolen token used by other Proof of possession (cnf, Key theft
DPoP, mutual TLS) of holder
Compromised requester asks Predicates, quota, scope, Wrong grants
for allowed things envelope, rate limits stay wrong
Compromised EP Attestation, split key, Total loss of
federation (V5), audit guarantee
Bypass of the EP Single choke point; sink Second route
refuses without token left by error
Store rollback or fork Synchronous consensus Operator
store; counters logged error
Oracle probing of the EP Uniform denial; rate limit Timing leak
Log tampering External checkpoints Collusion
Clock manipulation Trusted time; bounds Time source
compromise
Policy mistakes Review, tests, shadow Human error
mode, signed bundles
No row removes the need for judgement. The mechanism limits what a
wrong decision can do and makes it visible afterwards.
17.2. Operator runbooks
### Signing key rotation
* Generate the new key in the HSM or KMS. Do not export it.
* Publish the new public key in the key set with a start time. Keep
the old key in the set.
* Switch the EP to sign with the new key at the start time.
* Keep the old key for verification for one maximum token lifetime
plus the clock tolerance. Then remove it.
Das Expires 5 June 2027 [Page 30]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Write a receipt for the rotation. Check that sinks picked up the
new key set.
### Policy update
* Write the change as data and review it as code.
* Run it in shadow mode against recorded requests. Compare
decisions.
* Sign the new bundle. Record its digest.
* Deploy to one EP instance first. Watch refusals and receipts.
* Roll to the rest. Keep the previous bundle for rollback.
### Suspected EP compromise
* Revoke the EP key by publishing a new key set without it and by
raising the state version.
* Stop issuance. Sinks that cannot be updated at once must be told
to refuse tokens signed after the suspected start time.
* Preserve the receipt log and the store. Do not restore the store
from backup before the investigation has taken a copy.
* Re-attest the replacement EP. Issue new grants only after review.
### Store restore
* Never restore counters silently. A restore from backup returns
used units.
* After a restore, advance the state version so that tokens issued
after the backup point cannot be confused with earlier ones, and
reconcile counters against the receipt log.
17.3. What to monitor
* Rate of releases and refusals per action class, per requester and
per grant.
* A sudden rise in refusals (scanning, a bad policy deployment or an
attack).
* Quota consumed against quota granted.
Das Expires 5 June 2027 [Page 31]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Replay table hits at sinks (a token presented twice).
* Latency added at the EP, split into its parts.
* Key service errors and signing queue depth.
* Attestation freshness of the EP and age of the oldest cached
result.
* Receipt log lag and checkpoint publication age.
* Clock offset between EP and sinks.
* Count of fail-open events and their reasons.
Alert on a fail-open event every time it happens. A fail-open class
that triggers often is a design problem.
17.4. Capacity and sizing method
This document gives no throughput figure. To size a deployment:
* Take the peak rate of candidate actions for the protected class.
* Measure the cost of one release in the real environment:
authentication, policy, consume, signing, logging.
* Find the first bottleneck. It is often the signing service, then
the consume store under contention on one hot grant.
* Test with the failure cases: store failover, key service slowdown,
log unavailable.
* Add headroom for retries. Refused requests also cost work, and
attackers send many.
* Decide what happens above capacity: queue, shed load by class, or
fail closed.
17.5. Interoperability and versioning
* Name the profile and version in every token and receipt ("profile"
claim) so that a verifier knows the rules.
* Fix the canonical form of actions by version. A change of
canonical form is a new profile version.
Das Expires 5 June 2027 [Page 32]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Plan algorithm agility: carry the algorithm identifier (COSE or
JOSE header). Keep a list of allowed algorithms at the sink.
Plan the move to post-quantum signatures as a future key and
algorithm change, not as a redesign.
* Define clock tolerance explicitly (for example how many seconds
"nbf" and "exp" may be off).
* Test cross-implementation: have two teams implement the sink and
the EP independently and run the same test vectors. Differences
in canonicalization are the most common failure.
* Treat header and claim names in this series as placeholders.
Registration of any name would follow the process of the relevant
standards body.
17.6. Adoption plan
* Phase 0, inventory: list actions with effects and the routes to
them. Pick one action class with high cost of error and moderate
volume.
* Phase 1, shadow: deploy the EP beside the existing path. Record
decisions. Fix policy.
* Phase 2, pilot: require tokens for the pilot class at one sink.
Keep break-glass.
* Phase 3, expand: add classes. Remove standing broad permissions
as classes move.
* Phase 4, assure: external review of the receipt log, key
procedures and bypass tests. Repeat after each major change.
Roles: a policy owner (decides what is allowed), a platform team
(runs the EP, store and keys), a sink owner (owns the effect and its
check), a security reviewer (owns the test plan and bypass tests) and
an auditor (reads receipts).
17.7. Standards used in this series, in one line each
Das Expires 5 June 2027 [Page 33]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
RFC 7519 JSON Web Token (JWT)
RFC 7800 Proof-of-possession key semantics for JWTs
RFC 8392 CBOR Web Token (CWT)
RFC 8610 Concise Data Definition Language (CDDL)
RFC 8693 OAuth 2.0 Token Exchange
RFC 8785 JSON Canonicalization Scheme
RFC 8949 Concise Binary Object Representation (CBOR)
RFC 9052 COSE: structures and process
RFC 9162 Certificate Transparency version 2.0
RFC 9334 Remote ATtestation procedureS (RATS) architecture
RFC 9396 OAuth 2.0 Rich Authorization Requests
RFC 9449 OAuth 2.0 Demonstrating Proof of Possession (DPoP)
RFC 9711 Entity Attestation Token (EAT)
RFC 5869 HMAC-based key derivation function (HKDF)
RFC 4082 TESLA broadcast authentication
Check the current status of each document before relying on it, and
read the document itself. This list is a reading aid, not a
substitute.
18. Decision guide, review checklist and glossary (common core)
This section is repeated in each document of the series.
18.1. How to choose among the variants
Answer these questions in order. Each answer narrows the design.
Question If yes If no
------------------------------- ------------------- ---------------
Is the effect irreversible or Use V4 (attested EP) V2 or V3 may do
costly to other parties? and single-use tokens
Can the sink verify signatures Self-contained MAC token or
at the needed rate? signed token reference token
Is immediate revocation needed? Reference token or Short lifetime
push events is enough
Can the sink reach the EP in Per-action release Pre-issued
the time budget? window
Must two parties agree? Federated EP (V5) One EP
Must an outsider check later? Merkle log with Hash chain log
external checkpoint
Is the requester untrusted or Proof of possession Bearer token
an AI agent? plus envelope may do
Does a sweep of the target Random token, rate Normal controls
space matter? limits
Where two answers conflict, choose by the cost of a wrong decision in
the deployment, and write the choice down with the reason.
Das Expires 5 June 2027 [Page 34]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
18.2. Worked failure analyses
### Failure 1: the sink applies the effect but the reply is lost
* The requester sees a timeout and sends the request again with the
same idempotency key.
* The EP finds the key, sees the same action hash and returns the
same token without a second consume.
* The sink finds the jti in its table, returns the recorded outcome
and does not repeat the effect.
* Result: one effect, one consumed unit, two requests in the log.
### Failure 2: the EP crashes after consume and before returning the
token
* The unit is consumed in the store. No token was returned.
* On restart, the requester retries with the same idempotency key.
* If the idempotency record was written in the same transaction as
the consume, the EP returns a token. If it was not, the unit is
lost.
* Lesson: write the consume and the idempotency record in one
transaction, or record an intent record before consume and finish
it on restart.
### Failure 3: two sinks receive the same token
* The sink audience check refuses the sink for which the token is
not named.
* If both sinks are named (a multi-sink token), the replay tables
are local, so both may accept it. Avoid multi-sink tokens. If
needed, use a shared replay store or one token per sink.
### Failure 4: the clock of the EP is wrong
* If the EP clock runs ahead, tokens are issued with a window in the
future and are refused by sinks until their "nbf" arrives. If it
runs behind, tokens expire early at the sinks.
* If the EP clock is set by the requester or by a compromised host,
time windows are void.
Das Expires 5 June 2027 [Page 35]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Lesson: use an attested or independently disciplined time source,
monitor offset and refuse issuance when the offset exceeds the
stated tolerance.
### Failure 5: a policy bundle with a mistake is deployed
* A predicate that is too loose allows actions that should be
refused. A predicate that is too tight refuses legitimate work.
* Shadow mode and recorded-request replay find both before
enforcement.
* Keep the previous bundle and a documented rollback. Record the
policy digest in every receipt so that the decisions made under
the bad bundle can be found.
18.3. Security review checklist
Use this list before putting the mechanism into production. A "no"
is a finding to resolve or to accept in writing.
* The effect has one choke point, shown by a bypass test from every
network zone.
* The sink refuses every request without a valid token, including
requests with an expired or foreign token.
* The EP signing key cannot be exported and is used only by the EP
identity.
* The EP code and its protected environment are attested, and the
sink or a third party checks the result.
* The action hash covers every parameter that matters, including the
idempotency key.
* The canonical form is fixed and tested against another
implementation.
* Consume is one atomic operation, and its behaviour under store
failover is documented.
* The idempotency record and the consume are written together.
* The sink keeps a replay table until token expiry plus clock
tolerance.
* Tokens are bound to the holder's key.
Das Expires 5 June 2027 [Page 36]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Refusals are uniform in status, body and, as far as practical,
timing.
* Refusal reasons are logged internally and not returned.
* Per-requester rate limits exist on the EP.
* Policy is data, versioned, signed and recorded by digest in
receipts.
* Receipts are signed and the log checkpoint is published outside
the operator's sole control.
* Time comes from a trusted source and offset is monitored.
* Key rotation, policy update, compromise response and store restore
are written and rehearsed.
* Fail-open classes are listed, justified and alarmed.
* Break-glass is authorized, logged and reviewed.
* Personal data in receipts has a retention rule.
* Standing broad permissions that the mechanism replaces have been
removed.
* A tester has attempted to replay, tamper, race and bypass, and the
results are recorded.
18.4. Glossary
* Action hash: the SHA-256 of the canonical bytes of a candidate
action. The token is bound to it.
* Atomic consume: one indivisible step that checks and reduces a
quota.
* Attestation: signed evidence about the code and state of an
environment, checked by a verifier (RFC 9334).
* Bearer token: a token that works for whoever holds it.
* Candidate action: a requested operation that has no effect until
released.
* Canonical form: a fixed byte form of a structured object, so that
two parties compute the same hash.
Das Expires 5 June 2027 [Page 37]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* Capability token: a signed, short-lived, usually single-use token
for one candidate action.
* Effect sink: the component that performs the effect and checks the
token.
* Enforcement point (EP): the protected component that decides and
releases tokens.
* Fail closed, fail open: deny or allow when a check cannot be made.
* Idempotency key: a requester-chosen value that makes a repeated
request the same request.
* Predicate: one condition checked before release (identity,
purpose, time, quota, state).
* Proof of possession: showing control of the key a token is bound
to.
* Protected domain: an environment the requester cannot alter, such
as an HSM or a confidential VM.
* Receipt: a signed record of a release or a refusal.
* Replay table: the sink's list of token identifiers already
presented.
* Shadow mode: running the check and recording decisions without
blocking.
* State version: a counter that moves when the authorization state
changes, so that older tokens can be retired.
* Uniform denial: the same refusal in every failure case.
19. Security Considerations
A compromised verifier can sign false vectors, so verifier integrity
needs attestation and multi-party signing for high-risk classes. A
suppressed trigger leaves stale capabilities valid; triggers should
be authenticated and acknowledged, and capabilities should have short
lifetimes as a backstop. Evidence replay is limited by nonces.
Commitment trees must be consistent across all verifiers. Privacy:
the vector may reveal internal state, so only the commitment and
selective proofs are exposed outside the trust domain.
Das Expires 5 June 2027 [Page 38]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
20. Status, Intellectual Property and Notices
This Internet-Draft is submitted as an individual contribution. It
is not an IETF standard, has no working group status and does not
represent IETF consensus.
Intellectual property: the author is aware of the pending patent
applications listed in the section "Related Patent Applications and
Public Disclosures". If this draft is submitted to the IETF, the
author will make the disclosure required by BCP 79 before or with
submission.
Origin and AI assistance. The underlying invention is human-
originated and is described in the PCT application named above. AI-
assisted tools were used to prepare this document (summaries, mapping
to existing technology and threat scenarios). It may contain errors.
Readers must cross-check it against the original publicly available
PCT filing and against the original sources linked in the references
before drawing any conclusion.
Industry names. Company, product and standards names appear only to
identify existing technology and the technical problems it addresses.
Their appearance is not an endorsement, validation, adoption,
partnership or infringement statement, and nothing here presumes
patent validity, licensing obligations or technical superiority.
21. IANA Considerations
This document has no IANA actions.
22. Search Aid for Patent Examiners and Researchers
This section lists plain, industry-standard search terms. It is an
aid to prior-art searching and is not a claim construction or a
statement about scope.
22.1. Keywords
remote attestation; RATS; entity attestation token; attestation
verifier; appraisal policy; Merkle tree commitment; vector
commitment; forward-secure key evolution; HKDF; key epoch rotation;
policy as code; Open Policy Agent; Cedar; confidential GPU
attestation; SPDM; model signing; AI model provenance; digital twin
versioning; agent governance; capability revocation.
Das Expires 5 June 2027 [Page 39]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
22.2. Search phrases
* "admissibility vector committed with Merkle root"
* "state chain advance invalidates earlier capabilities"
* "dimension registry with validation rule and freshness"
* "capability bound to state version"
* "forward-secure authorization chain"
* "multi-dimension evidence appraisal before action"
* "model version replacement retires authorizations"
* "hash chain of authorization state versions"
22.3. Indicative classification starting points
Indicative only; not an official classification of the application.
G06F 21/57 (certifying or maintaining trusted platforms); H04L 9/32
(authentication); H04L 9/0643 (hash functions); H04L 9/50 (hash-based
chains, ledgers); H04L 63/20 (managing network security policies);
G06N 20/00 (machine learning, for model-version dimension).
22.4. Existing technology to compare against
* RFC 9334 RATS architecture; RFC 9711 EAT; Veraison and similar
verifiers.
* Microsoft Agent Governance Toolkit (policy decision before agent
action).
* Open Policy Agent; Cedar policy language.
* RFC 9162 Merkle-tree transparency logs; COSE Merkle tree proofs
work.
* draft-coetzee-oauth-spt-txn-tokens (attested issuance, status-list
revocation).
22.5. Informative references for context
The following references identify the existing specifications and
drafts against which this document should be read: [AI-AGENT-AUTH],
[RFC9052], [RFC9162], [RFC9334], [RFC9711], [SPT-TXN].
Das Expires 5 June 2027 [Page 40]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
23. Related Patent Applications and Public Disclosures
The first entry is the application on which this document is based.
The URLs come from the applicant's reference register; their current
accessibility was not rechecked when this document was prepared.
1. CVID - Principal PCT application (this document is based on
it)
PCT/IB2026/054453 - WO 2026/150381 A2
* Google Patents:
https://patents.google.com/patent/WO2026150381A2/en
* WIPO PATENTSCOPE: https://patentscope.wipo.int/search/en/
detail.jsf?docId=WO2026150381
2. DAS Protocols - Mothership
PCT/IB2026/055615 - WO 2026/150382 A2
* Google Patents:
https://patents.google.com/patent/WO2026150382A2/en
* WIPO PATENTSCOPE: https://patentscope.wipo.int/search/en/
detail.jsf?docId=WO2026150382
3. Algorithmic Logic Fingerprint (ALF)
PCT/IB2026/053385 - WO 2026/115520 (filed 7 April 2026, disclosed
4 June 2026)
* WIPO PATENTSCOPE: https://patentscope.wipo.int/search/en/
detail.jsf?docId=WO2026115520
* Zenodo (PCT document): https://zenodo.org/records/24438881
4. Query-Scoped Communication Handles - Map-Based Business
Discovery
PCT/IB2026/056771 - WO 2026/172333 A2
* Google Patents:
https://patents.google.com/patent/WO2026172333A2/en
* WIPO PATENTSCOPE: https://patentscope.wipo.int/search/en/
detail.jsf?docId=WO2026172333
5. Non-Bearer Capability-Validated Architecture
PCT/IB2026/056353 - WO 2026/196260
Das Expires 5 June 2027 [Page 41]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
* WIPO PATENTSCOPE: https://patentscope.wipo.int/search/en/
detail.jsf?docId=WO2026196260
6. Related public technical disclosures
* Computation Is Not Authority: https://zenodo.org/
records/23245054
* A Skill Is Not a Capability: https://zenodo.org/
records/23793254
* Protected Sequential AI Inference - Technical Disclosure:
https://zenodo.org/records/24622479
* IETF - Protected Incremental AI Inference Admission:
https://datatracker.ietf.org/doc/draft-das-incremental-ai-
inference-admission/
* DAS Protocols Mothership - TD Commons:
https://www.tdcommons.org/dpubs_series/12542/
Status of all filings: pending applications only; no patent is stated
or implied to be granted.
24. Informative References
[AI-AGENT-AUTH]
Kasselman, "AI Agent Authentication and Authorization",
Work in Progress, Internet-Draft, draft-klrc-aiagent-auth-
03, July 2026, <https://www.ietf.org/archive/id/draft-
klrc-aiagent-auth-03.html>.
[RFC9052] Schaad, "CBOR Object Signing and Encryption (COSE):
Structures and Process", RFC 9052, August 2022,
<https://www.rfc-editor.org/info/rfc9052>.
[RFC9162] Laurie, "Certificate Transparency Version 2.0", RFC 9162,
December 2021, <https://www.rfc-editor.org/info/rfc9162>.
[RFC9334] Birkholz, "Remote ATtestation procedureS (RATS)
Architecture", RFC 9334, January 2023,
<https://www.rfc-editor.org/info/rfc9334>.
[RFC9711] IETF, "The Entity Attestation Token (EAT)", RFC 9711,
<https://www.rfc-editor.org/info/rfc9711>.
Das Expires 5 June 2027 [Page 42]
Internet-Draft Committed Multi-Dimension Admissibility December 2026
[SPT-TXN] Coetzee, "Transaction-Bound Authorization Tokens for
Software and AI Agents", Work in Progress, Internet-Draft,
draft-coetzee-oauth-spt-txn-tokens-03, July 2026,
<https://datatracker.ietf.org/doc/html/draft-coetzee-
oauth-spt-txn-tokens-03>.
Author's Address
Sangam Kumar Das
Independent
Balasore
Odisha
India
Phone: +91-9861363532
Email: info@sangamdas.com
Das Expires 5 June 2027 [Page 43]