Independent Submission S. K. Das Internet-Draft Independent Intended status: Informational 2 December 2026 Expires: 5 June 2027 Pre-Authorized Bounded Actions in the URLLC User Plane: Separating Slow Authorization from Fast Execution draft-das-detnet-urllc-preauthorized-actions-00 Abstract Ultra-reliable low-latency control (robots, motion control, grid protection) cannot afford a fresh authorization round trip for every command. Existing networks handle this by authorizing a session or flow at setup and then letting traffic through (5G sessions and QoS flows, TSN stream reservation and per-stream filtering, DetNet flows). That is coarse: once permitted, a flow may carry any number of commands. This document describes a split in which a slow plane issues a bounded authorization window (a number of acts, a time interval, a parameter envelope) and a fast plane verifies each act with pre-installed symmetric keys or hash chains and a local counter, then reconciles with the slow plane. It shows how to build the fast plane with existing TSN and DetNet mechanisms, hardware MAC functions, SmartNICs or FPGAs, and it says that no latency measurement is offered and that existing session authorization already solves the basic problem. 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 Pre-Authorized Bounded Actions in the U 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. Window issuance (slow plane) . . . . . . . . . . . . . . 4 3.2. Per-act check (fast plane) . . . . . . . . . . . . . . . 5 3.3. Reconciliation . . . . . . . . . . . . . . . . . . . . . 5 4. Implementation with current technology . . . . . . . . . . . 5 5. Relationship to existing work . . . . . . . . . . . . . . . . 5 6. Open issues . . . . . . . . . . . . . . . . . . . . . . . . . 6 7. Concrete design for an engineer . . . . . . . . . . . . . . . 6 7.1. The engineering constraint . . . . . . . . . . . . . . . 6 7.2. Step 1: define the authorization window . . . . . . . . . 7 7.3. Step 2: choose the act authenticator . . . . . . . . . . 8 7.4. Step 3: the per-act check . . . . . . . . . . . . . . . . 9 7.5. Step 4: reconcile . . . . . . . . . . . . . . . . . . . . 9 8. Placement in a deterministic network . . . . . . . . . . . . 9 9. Variations . . . . . . . . . . . . . . . . . . . . . . . . . 10 9.1. Variation A: window per actuator . . . . . . . . . . . . 10 9.2. Variation B: window per function group . . . . . . . . . 10 9.3. Variation C: windowless for small loops . . . . . . . . . 10 9.4. Variation D: dual-control windows . . . . . . . . . . . . 10 9.5. Variation E: shadow window . . . . . . . . . . . . . . . 11 9.6. Variation F: renewable window . . . . . . . . . . . . . . 11 10. Failure and fallback table . . . . . . . . . . . . . . . . . 11 11. Worked example: a robot cell . . . . . . . . . . . . . . . . 11 12. Test plan for this profile . . . . . . . . . . . . . . . . . 12 13. Limits to state . . . . . . . . . . . . . . . . . . . . . . . 12 14. Lab recipe: a windowed act checker on commodity hardware . . 13 Das Expires 5 June 2027 [Page 2] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 15. Test vector for the hash chain . . . . . . . . . . . . . . . 14 16. Frequently asked engineering questions . . . . . . . . . . . 14 17. Engineer's reference implementation: common core . . . . . . 15 17.1. Build order . . . . . . . . . . . . . . . . . . . . . . 15 17.2. Component view . . . . . . . . . . . . . . . . . . . . . 16 17.3. Token and receipt formats . . . . . . . . . . . . . . . 16 17.4. Enforcement point algorithm . . . . . . . . . . . . . . 17 17.5. Atomic consume: storage variants . . . . . . . . . . . . 18 17.6. Keys and attestation . . . . . . . . . . . . . . . . . . 20 17.7. Uniform denial and error handling . . . . . . . . . . . 20 17.8. Unknown outcome and idempotency . . . . . . . . . . . . 20 17.9. Receipt log . . . . . . . . . . . . . . . . . . . . . . 21 17.10. Deployment variations . . . . . . . . . . . . . . . . . 21 17.11. Test plan . . . . . . . . . . . . . . . . . . . . . . . 22 17.12. Rollout . . . . . . . . . . . . . . . . . . . . . . . . 23 17.13. What to measure . . . . . . . . . . . . . . . . . . . . 23 17.14. Common mistakes . . . . . . . . . . . . . . . . . . . . 23 18. Reference sketches in Python (tested) . . . . . . . . . . . . 24 18.1. Sketch 1: enforcement point and sink . . . . . . . . . . 24 18.2. Sketch 2: hash-chain window checker . . . . . . . . . . 28 19. Operations, threats and adoption (common core) . . . . . . . 29 19.1. Threat model in a table . . . . . . . . . . . . . . . . 29 19.2. Operator runbooks . . . . . . . . . . . . . . . . . . . 30 19.3. What to monitor . . . . . . . . . . . . . . . . . . . . 31 19.4. Capacity and sizing method . . . . . . . . . . . . . . . 32 19.5. Interoperability and versioning . . . . . . . . . . . . 32 19.6. Adoption plan . . . . . . . . . . . . . . . . . . . . . 33 19.7. Standards used in this series, in one line each . . . . 33 20. Decision guide, review checklist and glossary (common core) . . . . . . . . . . . . . . . . . . . . . . . . . . 34 20.1. How to choose among the variants . . . . . . . . . . . . 34 20.2. Worked failure analyses . . . . . . . . . . . . . . . . 34 20.3. Security review checklist . . . . . . . . . . . . . . . 36 20.4. Glossary . . . . . . . . . . . . . . . . . . . . . . . . 37 21. Security Considerations . . . . . . . . . . . . . . . . . . . 38 22. Status, Intellectual Property and Notices . . . . . . . . . . 38 23. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 39 24. Search Aid for Patent Examiners and Researchers . . . . . . . 39 24.1. Keywords . . . . . . . . . . . . . . . . . . . . . . . . 39 24.2. Search phrases . . . . . . . . . . . . . . . . . . . . . 39 24.3. Indicative classification starting points . . . . . . . 40 24.4. Existing technology to compare against . . . . . . . . . 40 24.5. Informative references for context . . . . . . . . . . . 40 25. Related Patent Applications and Public Disclosures . . . . . 40 26. Informative References . . . . . . . . . . . . . . . . . . . 42 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 42 Das Expires 5 June 2027 [Page 3] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 1. Introduction In 5G, the network authorizes a protocol data unit session and assigns QoS flows (including delay-critical guaranteed-bit-rate classes) at setup. In time-sensitive networking, a centralized configuration entity reserves streams, and per-stream filtering and policing (IEEE 802.1Qci) enforces rate and size contracts. In DetNet (RFC 8655) flows are provisioned in advance. All of these authorize outside the time-critical path. This is the conventional form of a slow/fast split. What these mechanisms do not provide is a bound on the number and parameters of individual acts after setup. A robot controller that is permitted to send commands on a flow can send any command on that flow, including a wrong one, until the flow is torn down. This document asks whether a finer bound is practical inside a sub- millisecond to few-millisecond budget, and for which use cases session-level permission is too coarse. It does not claim that the answer is yes for every case. 2. Terminology * Slow plane: control and management functions with time budgets of tens of milliseconds or more. * Fast plane: the forwarding or actuation path with a cycle-time budget measured in microseconds to a few milliseconds. * Authorization window: a bounded grant of a number of acts, a time interval and a parameter envelope. * Act authenticator: a short cryptographic tag carried with each act. 3. Mechanism 3.1. Window issuance (slow plane) The slow plane authenticates the requester, evaluates policy and issues a window to the fast-plane element. It installs, in the fast- plane element and the requester, material for act authenticators, for example a per-window symmetric key or a one-way hash chain. Das Expires 5 June 2027 [Page 4] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 3.2. Per-act check (fast plane) Each act carries an authenticator over the act parameters and a monotonically increasing counter. The fast-plane element verifies the tag, checks the counter against the window, checks that parameters lie inside the envelope, and decrements the remaining count. It forwards or applies the act only if all checks pass. 3.3. Reconciliation Counters, consumed acts and exceptions are reported to the slow plane, which can close the window early or issue another. 4. Implementation with current technology * Time-aware transport: TSN (802.1Qbv scheduling, 802.1Qci filtering and policing, 802.1AS time synchronisation) and DetNet provide bounded latency. The window can be bound to a stream identifier and a gate schedule. * Cryptography at line rate: AES-CMAC or HMAC-SHA-256 with truncated tags can be computed in hardware in SmartNICs, FPGAs or programmable switch pipelines. Hash chains (as used in broadcast authentication schemes such as TESLA, RFC 4082) avoid per-act asymmetric signatures. * 5G: the window can be tied to a QoS flow of a delay-critical class and to configured grant or semi-persistent scheduling; verification is in the user-plane function or in an application- layer gateway at the edge. * Counters and state: a local register or memory in the fast-plane element, with periodic report to the slow plane; persistent state must survive restart. * Window issuance: an ordinary authenticated control API (mutual TLS) from the slow-plane service; keys protected in an HSM. * Industrial protocols: the check can be applied at the boundary to OPC UA or fieldbus gateways. * Budget: these primitives are widely used for packet authentication, but this document offers no measurement for any specific platform and one must be made before use. 5. Relationship to existing work Das Expires 5 June 2027 [Page 5] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 3GPP TS 22.104 service requirements for cyber-physical control, Release 16 TSN integration and later releases: define what the network must deliver. They do not bound individual acts. * IEEE 802.1Qci: polices streams by rate and size, not by authorized act. * IETF DetNet: provisions bounded-latency flows. * Research on 5G determinism (for example Det-5G): treats the open problem as timing determinism. An added check must not worsen that. * IEC 62443 and zone/conduit models: authorize at zone boundaries. 6. Open issues * Clock synchronisation is needed for time-bound windows. * Window exhaustion during a safety event must not block a safety stop; emergency actions need a separate always-allowed path. * Key distribution to many fast-plane elements. * Replay inside the window if counters are not strictly monotonic across failover. * Whether the added assurance is worth the complexity for each use case. 7. Concrete design for an engineer This section shows how to authorize actions on a path with a hard cycle time, where a per-act signature round trip does not fit. The idea is to do the slow, strong checks ahead of time and to leave only a small, fast check on the path. Parameters are illustrative. No timing figure is given, and every figure must be measured on the target hardware. 7.1. The engineering constraint A control loop in a factory, a robot cell or a power substation may run on a cycle measured in microseconds to a few milliseconds. In that loop: * a public-key signature verification on every act may not fit the budget on the device that must check it; Das Expires 5 June 2027 [Page 6] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * a call from the device to a remote service for every act certainly does not fit; * a failure of the remote service must not stop a safe loop. The profile therefore splits the work into a slow plane and a fast plane. slow plane (tens of ms or more) fast plane (per cycle) -------------------------------- ---------------------------- EP checks identity, purpose, act = {action, counter, tag} time, quota, parameter envelope ----> checker: tag ok? counter ok? issues authorization window W inside envelope? -> apply (acts N, interval T, envelope E, else -> refuse, keep last authenticator seed) safe state reconciles receipts after the fact 7.2. Step 1: define the authorization window A window W is a bounded grant for one controller (the issuer of acts) toward one actuator or controlled function (the checker). Illustrative contents: { "window-id": "w-8841", "issuer": "ctl-cell-3", "checker": "drive-12", "not-before": 1790000000, "not-after": 1790000600, "max-acts": 100000, "envelope": { "axis-1-position": { "min": -90.0, "max": 90.0 }, "axis-1-speed-max": 0.5, "max-delta-per-act": 0.01 }, "auth": { "scheme": "hash-chain", "anchor": "" }, "state-version": 7 } Rules: * The window is signed by the EP and delivered to both the controller and the checker over the slow plane. * The checker stores W in protected memory (secure element, TPM, trusted execution area of a microcontroller, or a hardened register set). Das Expires 5 June 2027 [Page 7] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * The envelope is the main safety content. The authenticator only proves that an act belongs to the window. * Choose the window length so that an unavailable EP does not stop work for a long time, and so that a stolen window is useful for a short time only. 7.3. Step 2: choose the act authenticator Per-act authentication must be cheap. Options: * Hash-chain authenticators. The EP creates a chain by hashing a secret seed repeatedly. The chain anchor (the last value) is given to the checker in W. The controller reveals chain values in reverse order, one per act. The checker verifies a value by hashing it once and comparing with the last accepted value. This costs one hash per act and no key sharing for later values. It is the idea used in TESLA (RFC 4082) for broadcast authentication. * Message authentication code (MAC) with a window key. The EP gives the controller and the checker a shared key for the window. Each act carries a truncated tag over action and counter. Fast with hardware AES or HMAC support. The checker can forge acts because it holds the key. Acceptable where the checker is trusted. * Network-layer authentication. Where the path already uses link- layer protection such as MACsec (IEEE 802.1AE), it authenticates the frame hop by hop. It does not carry the window, so it complements and does not replace the window check. * Asymmetric signature per act. Possible only if the checker has hardware support and the cycle budget allows. Measure first. State the property chosen. A hash chain gives one-way disclosure and no forging by the checker. A shared-key MAC does not. A hash chain sketch: seed = random(32) v[0] = seed v[i] = H( v[i-1] ) for i = 1 .. N anchor = v[N] given to checker act k carries v[N-k] (k = 1 .. N) checker: accept if H(received) == last_accepted then last_accepted = received Das Expires 5 June 2027 [Page 8] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 If an act is lost, the checker can hash the received value up to a small number of times to catch up. Bound that number, so that a gap cannot be used to skip many values. 7.4. Step 3: the per-act check The fast plane check is a short fixed sequence: def check(act, W, state): if not state.window_valid(W, now_trusted()): refuse() if state.count >= W.max_acts: refuse() if not auth_ok(act, W, state): refuse() if not inside(act.action, W.envelope): refuse() if delta(act.action, state.last) > W.max_delta: refuse() state.count += 1 state.last = act.action apply(act.action) Notes: * Every step is bounded in time. No loops of unbounded length, no memory allocation, no calls out. * "refuse" means keep the last safe state or enter the defined safe state for the axis. It must never stall the loop. Define the safe state per function. * Time comes from the synchronized network time (IEEE 802.1AS) or a local monotonic clock. State which, and what happens if sync is lost. * Count and last value are in protected memory, so that a reboot cannot reset them without the window being reissued. 7.5. Step 4: reconcile After the window, the controller or checker reports the count of acts and the last chain value to the EP. The EP issues a signed receipt that covers the window: acts allowed, acts refused, window identifier and state version. Differences between what the controller says and what the checker says are investigated. If the checker was offline from the EP, it stores a compact log (counts and hashes) and uploads it later. 8. Placement in a deterministic network Das Expires 5 June 2027 [Page 9] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * Time-sensitive networking features (IEEE 802.1Qbv scheduled traffic, 802.1AS time synchronization, 802.1CB frame replication and elimination, 802.1Qci per-stream filtering and policing) control timing and loss. They do not decide whether an act is authorized. The window check is a separate step in the endpoint, not in the switch. * Per-stream filtering and policing (802.1Qci) can enforce a rate and a size for a stream. It can limit the number of frames that reach an actuator and thus act as a coarse quota. It cannot check an authenticator or a parameter envelope. * The IETF deterministic networking architecture (RFC 8655) gives bounded latency and loss to flows over layer 3. The same split applies: path guarantees come from the network, authorization comes from the endpoint. * In 5G, ultra-reliable low-latency communication gives a bounded latency over the radio. The window check is again at the endpoints (the controller side and the actuator side), not in the radio network. 9. Variations 9.1. Variation A: window per actuator One window for each actuator. Simplest to reason about. Many windows to manage in a large cell. 9.2. Variation B: window per function group One window covers several axes with a combined envelope. Fewer windows. The envelope is more complex and mistakes are more likely. 9.3. Variation C: windowless for small loops For a small closed loop where the controller and actuator are in one trusted enclosure, use a static envelope fixed at commissioning. No window. The EP is used only to change the envelope. This is a legitimate and simpler design for low-risk loops. 9.4. Variation D: dual-control windows For hazardous functions, require two EPs or an EP plus a human approval to issue a window. The checker accepts a window only if two signatures are present. Das Expires 5 June 2027 [Page 10] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 9.5. Variation E: shadow window Run the checker in observe mode. It compares acts against the window and logs but does not refuse. Use during commissioning to tune the envelope. 9.6. Variation F: renewable window The controller asks for the next window before the current one ends, so that there is no gap. Overlap is allowed for a short time, and the checker uses the window with the higher state version. 10. Failure and fallback table Event Behaviour at the checker --------------------------- ----------------------------------- EP unreachable keep operating in current window until it ends, then safe state Window expired enter defined safe state Counter exhausted refuse further acts, keep last Authenticator mismatch refuse act, count the event, alarm after a stated number of events Envelope violation refuse act, keep last safe value Time sync lost behaviour defined per function: hold last, or safe state Checker reboot load window from protected memory and count from protected counter; if lost, request a new window For some functions, refusing can be dangerous (a brake release is safe, a brake application may need to be always allowed). Classify acts into those that are always allowed (moves toward a safe state) and those that need authorization. Only the second class goes through the check. 11. Worked example: a robot cell * The EP issues a window to the cell controller and the drive: 600 seconds, a stated number of acts, position limits, speed limit and a maximum change per cycle. * The cell controller sends one act per cycle with a chain value. The drive checks one hash, the limits and the delta, then moves. * At second 412 a software fault makes the controller send a position outside the limit. The drive refuses and holds the last safe position. The count of refused acts rises and an alarm is raised after the stated number. Das Expires 5 June 2027 [Page 11] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * At second 600 the window ends. The drive enters its defined safe state unless a new window arrived. The controller had requested the next window at second 540. The new window arrives and work continues. * After the run, the EP receives the count and issues a receipt. The investigator can show that no act outside the envelope was applied. 12. Test plan for this profile * Replay of a chain value: the checker must refuse a value it has already accepted. * Skipped values: gaps up to the allowed bound are accepted. A gap beyond it is refused. * Envelope: acts just inside and just outside every limit. * Counter exhaustion at exactly max-acts. * Window expiry mid-run and renewal with and without overlap. * Power loss and restart of the checker: count and last value preserved. * Loss of time synchronization: confirm the function-specific behaviour. * EP outage for longer than the window: confirm the safe state. * Authenticator brute force: send random tags at the line rate. The checker must stay within its time budget and refuse them all. * Timing: measure worst-case execution time of the check on the target hardware, including the refuse path. The refuse path must not be slower than the accept path in a way that breaks the cycle. 13. Limits to state * The profile applies where a slow plane exists. A system with no connection to any EP uses a static envelope (Variation C). * No cycle-time claim is made. The check is intended to be a small fixed sequence, and its fit must be measured per device. Das Expires 5 June 2027 [Page 12] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * Existing TSN and DetNet work gives timing and reliability. Industrial security work (for example IEC 62443 practices and OPC UA security) gives authentication and authorization at other layers. This profile adds a pre-authorized window with an envelope at the actuator, and the sources reviewed do not show that existing specifications define it. 14. Lab recipe: a windowed act checker on commodity hardware * Step 1, logic only. Run the window checker sketch and its tests. * Step 2, two machines. Use two Linux machines with network cards that support hardware timestamping and time-aware scheduling (many current server and embedded NICs do; check the driver documentation). Install a real-time kernel on both. * Step 3, time synchronization. Run linuxptp with the IEEE 802.1AS (gPTP) profile between them. Check the offset reported by the daemon and keep a record of it during tests. * Step 4, scheduled traffic. Configure a time-aware shaper with the Linux traffic control tool and its time-aware priority scheduler for the control stream, so that the control frames leave in a fixed slot of a fixed cycle. * Step 5, the controller and checker. Write the controller as a periodic task that sends one act per cycle with the next chain value. Write the checker as a periodic task that receives the act, runs the check and writes the accepted action to a simulated actuator (a variable or a file). * Step 6, measure the worst case. Use a latency measurement tool for real-time Linux, and your own timestamps, to record the maximum time of the check over a long run, including the refusal path. Report the maximum, not the average. * Step 7, fault injection. Drop acts, replay acts, send out-of- envelope positions, stop the window issuer, remove time sync, and reboot the checker. Compare with the failure table in this document. * Step 8, move to the target. When the logic and timing are understood, port the checker to the target controller. Re-measure there. A figure from a desktop machine says nothing about a microcontroller. Das Expires 5 June 2027 [Page 13] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 15. Test vector for the hash chain Take a seed of 32 bytes, each 0x11. The chain is built with SHA-256 repeated three times. Values in hex: v[0] (seed) 1111111111111111111111111111111111111111111111111111111111111111 v[1] 02d449a31fbb267c8f352e9968a79e3e5fc95c1bbeaa502fd6454ebde5a4bedc v[2] 59420d36b80353ed5a5822ca464cc9bffb8abe9cd63959651d3cd85a8252d83f v[3] (anchor given to the checker) 175e2b04a64e93b5928d0f64f2fc0ffbcdcd98be473e08d5c2a4eda3724126d3 The controller reveals v[2] for the first act, then v[1], then v[0]. The checker hashes the received value once and compares with the last accepted value, which starts as v[3]. 16. Frequently asked engineering questions Q: Why a hash chain and not a signature per act? A: A hash costs far less than a signature verification on a small device. The chain gives one-way disclosure, so the checker cannot forge later values. Measure both on the target before choosing. Q: What if acts are lost? A: Allow a small bounded skip, as in the sketch. A larger gap is refused and a new window is needed. Q: What if the controller is compromised during a window? A: It can send any act inside the envelope until the window ends. This is why the envelope and the maximum change per act matter more than the authenticator. Q: Can the same chain protect several actuators? A: Use a separate chain per checker, so that revealing a value to one does not help a request to another. Q: Does the time-aware shaper make the check unnecessary? A: No. The shaper gives timing. It does not decide whether an act is allowed. Q: What about hard real-time safety standards? A: Functional safety standards have their own requirements for safety functions. This profile is an authorization layer. Check how it relates to the safety case with the safety engineer, and do not claim a safety integrity level for it. Das Expires 5 June 2027 [Page 14] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 17. 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. 17.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 Pre-Authorized Bounded Actions in the U 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. 17.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. 17.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 Pre-Authorized Bounded Actions in the U 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. 17.4. Enforcement point algorithm Das Expires 5 June 2027 [Page 17] Internet-Draft Pre-Authorized Bounded Actions in the U 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. 17.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 Pre-Authorized Bounded Actions in the U 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 Pre-Authorized Bounded Actions in the U 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. 17.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. 17.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. 17.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 Pre-Authorized Bounded Actions in the U 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. 17.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. 17.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 Pre-Authorized Bounded Actions in the U 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. 17.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 Pre-Authorized Bounded Actions in the U 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. 17.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. 17.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. 17.14. Common mistakes Das Expires 5 June 2027 [Page 23] Internet-Draft Pre-Authorized Bounded Actions in the U 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. 18. 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. 18.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 Pre-Authorized Bounded Actions in the U 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 Pre-Authorized Bounded Actions in the U 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 Pre-Authorized Bounded Actions in the U 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 Pre-Authorized Bounded Actions in the U 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 18.2. Sketch 2: hash-chain window checker Hash-chain act authenticator and window checker. Tests: replay refused, one lost act accepted, envelope violation refused, skip bound, count exhaustion. # Reference sketch: hash-chain act authenticator, window checker. import hashlib, os def H(b): return hashlib.sha256(b).digest() class Controller: def __init__(self, n): self.chain = [os.urandom(32)] for _ in range(n): self.chain.append(H(self.chain[-1])) self.anchor, self.k = self.chain[-1], 0 def next_act(self, action): self.k += 1 # reveal in reverse return { "action": action, "auth": self.chain[-1 - self.k], } class Checker: def __init__(self, anchor, max_acts, env, max_skip=3): self.last, self.max_acts, self.env = ( Das Expires 5 June 2027 [Page 28] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 anchor, max_acts, env, ) self.count, self.max_skip, self.pos = ( 0, max_skip, None, ) def check(self, act): a = act["action"] if self.count >= self.max_acts: return False h, steps = act["auth"], 0 while steps <= self.max_skip: # bounded catch-up steps += 1 h = H(h) if h == self.last: break else: return False lo, hi = self.env["pos"] if not lo <= a["pos"] <= hi: return False if ( self.pos is not None and abs(a["pos"] - self.pos) > self.env["max-delta"] ): return False self.last, self.count, self.pos = ( act["auth"], self.count + 1, a["pos"], ) return True 19. 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. 19.1. Threat model in a table Das Expires 5 June 2027 [Page 29] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 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. 19.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. * 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. Das Expires 5 June 2027 [Page 30] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 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. 19.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. * 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. Das Expires 5 June 2027 [Page 31] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 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. 19.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. 19.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. * 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). Das Expires 5 June 2027 [Page 32] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 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. 19.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). 19.7. Standards used in this series, in one line each 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 Das Expires 5 June 2027 [Page 33] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 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. 20. Decision guide, review checklist and glossary (common core) This section is repeated in each document of the series. 20.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. 20.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. Das Expires 5 June 2027 [Page 34] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 ### 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. * 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. Das Expires 5 June 2027 [Page 35] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 20.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. * 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. Das Expires 5 June 2027 [Page 36] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 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. 20.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. * 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. Das Expires 5 June 2027 [Page 37] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 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. 21. Security Considerations Symmetric window keys held in the fast-plane element must be protected, because compromise allows forging acts within the window. Truncated tags reduce computation and increase forgery probability; the tag length must be chosen against the act rate and the consequence of a forgery. Counter rollback after restart would permit replay. Reconciliation channels must be authenticated. A denial-of-service attack that exhausts a window can disrupt control; windows should be sized and renewed with margin. 22. 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 Das Expires 5 June 2027 [Page 38] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 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. 23. IANA Considerations This document has no IANA actions. 24. 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. 24.1. Keywords URLLC; ultra-reliable low-latency communication; time-sensitive networking; IEEE 802.1Qci; per-stream filtering and policing; deterministic networking; DetNet; 5G QoS flow; configured grant; TS 22.104; industrial control security; message authentication code; hash chain broadcast authentication; SmartNIC; P4 programmable data plane; IEC 62443; motion control; cyber-physical systems; private 5G; one-time authorization window. 24.2. Search phrases * "authorization window with bounded number of acts" * "slow plane issues authorization fast plane verifies" * "per-act authenticator verified with local counter" * "pre-installed hash chain authenticators for URLLC" * "reconciliation of consumed acts with slow plane" * "parameter envelope enforced in user plane" * "pre-authorized actions in time-sensitive network" * "session authorization too coarse for single-use commands" Das Expires 5 June 2027 [Page 39] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 24.3. Indicative classification starting points Indicative only; not an official classification of the application. H04L 9/32 (message authentication); H04L 9/0643 (hash functions); H04L 47/20 (traffic policing); H04L 12/40 (bus networks, industrial); H04W 76/10 (connection setup); H04L 63/12 (applying verification of the received information). 24.4. Existing technology to compare against * 3GPP URLLC and TSN integration; TS 22.104. * IEEE 802.1Qbv/Qci/AS; IETF DetNet (RFC 8655). * TESLA broadcast authentication (RFC 4082). * Det-5G and other 2026 determinism research. * 5G session and QoS flow authorization (TS 23.501/23.502). 24.5. Informative references for context The following references identify the existing specifications and drafts against which this document should be read: [DETNET-WG], [Det-5G], [IEEE-802.1Qci], [RFC8655]. 25. 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 Das Expires 5 June 2027 [Page 40] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 * 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 * 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. Das Expires 5 June 2027 [Page 41] Internet-Draft Pre-Authorized Bounded Actions in the U December 2026 26. Informative References [Det-5G] Unspecified, "Det-5G: Closing the Determinism Gap in 5G- Advanced for Industrial Closed-Loop Control", . [DETNET-WG] Unspecified, "IETF Deterministic Networking (DetNet) Working Group", . [IEEE-802.1Qci] Unspecified, "IEEE 802.1Qci", . [RFC8655] Finn, "Deterministic Networking Architecture", RFC 8655, October 2019, . Author's Address Sangam Kumar Das Independent Balasore Odisha India Phone: +91-9861363532 Email: info@sangamdas.com Das Expires 5 June 2027 [Page 42]