Internet-Draft A Framework for Pre-Action Capability A December 2026
Das Expires 5 June 2027 [Page]
Workgroup:
Independent Submission
Internet-Draft:
draft-das-preaction-authz-00
Published:
Intended Status:
Informational
Expires:
Author:
S. K. Das
Independent

A Framework for Pre-Action Capability Authorization: One-Time Capability Tokens Released by a Protected Enforcement Point

Abstract

Authentication tells a system who is asking, and permission checks tell it what a role may generally do. Neither decides, at the moment an action would take effect, whether this specific action may happen now. For AI agents, telephony, mobile networks, satellites and payments, that gap matters because a wrong action cannot always be undone. This document describes a framework in which a candidate action has no effect until a protected enforcement point validates a set of predicates (identity scope, purpose, time window, freshness, quota, key binding and revocation state), atomically consumes the authorization state, and releases a one-time capability token to the component that causes the effect. It then lists eight companion profiles and states how each can be built with current technology (CWT/JWT, COSE, RATS attestation, TEEs and HSMs, strongly consistent state stores). The document is informational and does not claim that no similar mechanism exists.

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/.

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.

▲

Table of Contents

1. Introduction

Deployed security controls usually answer one of two questions. The first is authentication: which party is this? The second is permission: what is this party's role generally allowed to do? A third question is often left to application logic or to nothing at all: should this particular action, with these parameters, take effect now?

The third question matters most when the actor is automated (an AI agent or a network function driven by a learned model), when the effect is hard to reverse (a call that rings a phone, a command that changes a radio configuration, a payment, a satellite link change), or when the actor may be compromised after its credentials were issued.

This document describes a framework for answering the third question at the point where an action becomes effective. It is a design framework. It is not a protocol specification, and it does not claim that every element is new. Several elements are already used in other systems, and Section 7 lists them.

2. Terminology

3. Architecture

 Requester --(candidate action + credential)--> Enforcement Point
                                       | validate predicates
                                       | atomically consume state
                                       v
          Effect Sink <--(one-time capability token)--
              |
              +--(effect)--> world
 Enforcement Point --(signed receipt)--> audit / transparency log

The requester never talks to the effect sink with an authority of its own. The effect sink refuses any action that does not carry a capability token released for that action.

3.1. Predicates

The EP evaluates, at minimum, these predicates. A profile may add more.

3.2. Atomic consumption

The decrement of the quota and the release of the capability token happen as one atomic step. Two concurrent requests for the last remaining use must not both succeed.

3.3. Uniform denial

Where policy allows, a refusal is returned in a form that does not reveal which predicate failed. This reduces probing by an attacker. It can conflict with transparency obligations, and profiles must say where.

4. Data model

A capability token can be carried as a CBOR Web Token (RFC 8392) signed with COSE (RFC 9052), or as a JWT (RFC 7519). An illustrative JSON form follows.

{
  "iss": "https://issuer.example",
  "aud": "ep-17",
  "jti": "b3e1c0d2-...",
  "nbf": 1790000000, "exp": 1790000030,
  "cnf": { "jkt": "<requester key thumbprint>" },
  "purpose": "outbound-call",
  "bound_params_hash": "<sha-256 of action parameters>",
  "quota_remaining": 1,
  "state_version": 42
}

The "cnf" claim carries proof-of-possession binding as in RFC 7800. The "state_version" claim ties the token to a version of the authorization state so that advancing that version retires earlier tokens.

5. Implementation with current technology

A deployment can be built from existing components. This is a feasibility statement. It does not say that any vendor ships the combination.

6. Companion profiles

Each profile fixes the effect sink, the carrier protocol and the predicates for one domain. The companion documents are:

Domains outside the IETF's scope (satellite networks, ambient IoT, reconfigurable surfaces, paging, energy budgeting, digital twins) are covered in separate contribution papers addressed to 3GPP, ETSI, SDA and ESA.

7. Relationship to existing work

8. Open issues

9. Worked example: an AI agent restarts a production service

This example shows every step in one concrete case. All names, hosts and values are invented for illustration.

9.1. The situation

An operations agent (an AI system) has produced a plan. One step is to restart the service "svc-billing" in the production cluster. A restart has an effect: payments pause for a short time. The operator wants three things: only an agent with the right scope may do it, it may happen only inside a maintenance window, and a given approval may be used for one restart only.

9.2. Step by step

If the agent asks again, the quota is 0, the EP refuses and the response is the same as for any other refusal.

9.3. HTTP shape

The names below are illustrative.

POST /ep/v1/release HTTP/1.1
Host: ep.ops.example
Authorization: DPoP <access token>
DPoP: <proof bound to this request>
Content-Type: application/json

{ "action": { "type": "restart",
              "target": "svc-billing" },
  "idempotency_key": "7f3c0b6e-..." }

A release returns 200 with a body such as `{ "capability": "<CWT, base64url>" }`. Every refusal returns the same 403 with `{ "error": "denied" }`.

The agent then calls the sink:

POST /v1/restart HTTP/1.1
Host: cluster-api.ops.example
Capability: <CWT, base64url>
Content-Type: application/json

{ "type": "restart", "target": "svc-billing" }

The sink recomputes the hash of the body and compares it with "params-hash" in the token. A different body fails the check.

10. Policy examples

Predicates should be written in a language that can be reviewed and tested. Two sketches follow. They show shape and are not tested policy.

A Rego-style sketch:

package ep.decision

default allow = false

allow if {
    input.grant.agent == input.ctx.agent
    input.grant.action == input.action.type
    input.grant.target == input.action.target
    input.now >= input.grant.not_before
    input.now <  input.grant.not_after
    input.attest.age_seconds <= input.grant.max_attest_age
    not revoked(input.grant.id)
}

A Cedar-style sketch:

permit(
  principal == Agent::"ops-agent-17",
  action    == Action::"restart",
  resource  == Service::"svc-billing"
) when {
  context.now >= context.grant_start &&
  context.now <  context.grant_end   &&
  context.quota > 0
};

Quota and state version are checked by the atomic consume, not by the policy language. A policy language reads state. It must not be the place where state changes.

11. Implementation recipes by environment

11.1. Recipe 1: Kubernetes and a service mesh

11.2. Recipe 2: cloud API gateway

11.3. Recipe 3: on-premises appliance or private network

11.4. Recipe 4: telecom network function

11.5. Recipe 5: edge or constrained sink

12. Variations of the mechanism

12.1. Predicate variations

12.2. Token variations

12.3. Placement variations

See the deployment variations V1 to V5 in the common core. As a rule, use V4 for irreversible or high-value actions and V2 or V3 for reversible, high-volume actions.

13. Migrating from existing authorization

Most systems already have OAuth scopes, API keys or role-based access control. The mechanism can be added without removing them.

A common error is to add tokens and leave the standing credential in place. The token then adds audit but not protection.

14. Privacy and retention

15. Degradation and failure modes

Failure                  Safe default        Note
-----------------------  ------------------  -------------------
EP unreachable           deny the action     or fail open where
                                             denial is dangerous;
                                             record it
State store down         deny                never issue from
                                             cache
Key service down         deny                cannot sign tokens
EP attestation stale     sink refuses        re-attest, resume
Receipt log down         queue, retry        do not block; alarm
Clock source untrusted   deny                all windows void
Policy bundle expired    use last valid      a stated grace
                         until expiry,       period
                         then deny

16. Engineering questions and answers

Q: Does the EP add a network hop for every action? A: Yes, for actions that need a token. Use the mechanism only for actions where the added step is worth it. Pre-issued windows (see the real-time profile in this series) remove the per-act hop for fast paths.

Q: Can one EP serve many sinks? A: Yes. The token names its sink in "aud". Use one signing key per sink class if the sinks do not trust each other.

Q: What if the agent is compromised? A: The agent can still ask for tokens within its grants. The mechanism limits what a compromised agent can do to the scope, window and quota of its grants. It does not make a wrong grant safe.

Q: What if the EP is compromised? A: It can sign any token. This is why the EP runs in a protected domain, is attested, and why a federated deployment (V5) exists for cases where no single EP should be trusted.

Q: Is this a replacement for OAuth? A: No. OAuth identifies the requester and carries scopes. The mechanism adds a per-action, single-use step before the effect.

17. Implementation checklist

18. Lab recipe: build and test the mechanism in a day

This recipe lets an engineer see the whole mechanism work with free tools. It uses the reference sketches in this document as a starting point. Nothing here is a product claim.

19. Test vector for canonical action hashing

Canonicalization differences are the most common cause of two implementations disagreeing. An engineer can check an implementation against this vector. The action is:

{"type":"restart","target":"svc-billing"}

With keys sorted and no spaces (as in RFC 8785 for this simple case), the canonical bytes are:

{"target":"svc-billing","type":"restart"}

The SHA-256 of those bytes, in hex, is:

f40624664727e35a5bd8e508b7af1d987a82ea666ae5ce47f990e0cadb7eb257

Check that your implementation gives this value. Then test numbers, nested objects, non-ASCII text and escaped characters against a complete JSON canonicalization library. The vector above does not cover those cases.

20. Frequently asked engineering questions (continued)

Q: How long should a token live? A: Long enough for the requester to present it once under normal network delay, and short enough that a stolen token has little time. Seconds to a minute is the usual range for interactive actions. Decide by measuring presentation delay at the 99th percentile in your environment.

Q: Should the token be self-contained or a reference? A: Self-contained for scale and offline sinks. Reference if immediate revocation matters more than the extra call. A short lifetime narrows the difference.

Q: Where does the idempotency key come from? A: From the requester, inside the canonical action, so that it is covered by the hash. The EP must not invent it.

Q: What if two EPs run for availability? A: They must share one consume store with linearizable writes, or each must own a disjoint set of grants. Two EPs with separate stores and the same grant will both release.

Q: How do I show an auditor that a given effect was authorized? A: Join three records: the grant (who allowed what), the release receipt (the EP decision with the action hash) and the sink receipt (the effect with the token identifier). All three carry the action hash.

Q: What do I do about actions that must always be allowed, such as moves toward a safe state? A: Do not route them through the EP. Define the always-allowed class in advance, review it carefully, and keep it as small as possible.

21. 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.

21.1. Build order

An engineer can build the mechanism in this order. Each step can be tested alone before the next one starts.

21.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.

21.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.

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.

21.4. Enforcement point algorithm

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:

21.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.

-- 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.

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.

21.6. Keys and attestation

21.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.

21.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:

21.9. Receipt log

Every release and every refusal is a signed receipt. Options for the log, from simplest to strongest:

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.

21.10. Deployment variations

The same mechanism can be placed in five ways. Choose by where the choke point is.

21.11. Test plan

A conformance suite for the mechanism contains at least these tests. Each is a pass or fail test, not a measurement.

21.12. Rollout

21.13. What to measure

Measure these in the engineer's own environment before making any claim. The document gives no numbers on purpose.

21.14. Common mistakes

22. 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.

22.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,
)


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()

    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
        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):
            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

23. 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.

23.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.

23.2. Operator runbooks

### Signing key rotation

### Policy update

### Suspected EP compromise

### Store restore

23.3. What to monitor

Alert on a fail-open event every time it happens. A fail-open class that triggers often is a design problem.

23.4. Capacity and sizing method

This document gives no throughput figure. To size a deployment:

23.5. Interoperability and versioning

23.6. Adoption plan

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).

23.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

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.

24. Decision guide, review checklist and glossary (common core)

This section is repeated in each document of the series.

24.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.

24.2. Worked failure analyses

### Failure 1: the sink applies the effect but the reply is lost

### Failure 2: the EP crashes after consume and before returning the token

### Failure 3: two sinks receive the same token

### Failure 4: the clock of the EP is wrong

### Failure 5: a policy bundle with a mistake is deployed

24.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.

24.4. Glossary

25. Security Considerations

Token theft is mitigated by proof-of-possession binding and short lifetimes. Replay is mitigated by atomic consumption and nonces. A compromised requester can still request actions inside its authorization; the quota and parameter binding limit the damage. A compromised EP can release arbitrary tokens, so EP integrity depends on the protected domain and on attestation, and receipts must be logged outside the EP. Side channels (response timing, error text) can reveal which predicate failed and should be reduced. Probing of the denial path should be rate limited before the EP.

26. 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.

27. IANA Considerations

This document has no IANA actions.

28. 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.

28.1. Keywords

pre-action authorization; one-time capability token; single-use token; enforcement point; policy enforcement point; policy decision point; atomic consume; compare-and-swap; proof-of-possession; confidential computing; remote attestation; hardware security module; trusted execution environment; signed receipt; transparency log; fail-closed; AI agent authorization; zero trust; least privilege; revocation.

28.2. Search phrases

  • "authorization released before effect"
  • "one-time use capability token released by enforcement point"
  • "atomic decrement of authorization quota"
  • "candidate action not effective until authorization"
  • "uniform denial response to avoid oracle"
  • "enforcement point in trusted execution environment"
  • "capability token bound to action parameters hash"
  • "state version retires previously issued tokens"

28.3. Indicative classification starting points

Indicative only; not an official classification of the application. H04L 9/32 (authentication arrangements); H04L 9/40 (network security protocols); H04L 63/10 (controlling access to network resources); H04L 63/20 (managing network security policies); G06F 21/57 (certifying or maintaining trusted platforms); G06F 21/62 (protecting access to data).

28.4. Existing technology to compare against

  • OAuth 2.0 Token Exchange (RFC 8693), JWT/CWT, proof-of-possession tokens (RFC 7800), DPoP.
  • IETF RATS architecture (RFC 9334) and EAT (RFC 9711).
  • draft-coetzee-oauth-spt-txn-tokens-03 and draft-asor-wimse-agent-delegation-chain-03.
  • Microsoft Agent Governance Toolkit; Open Policy Agent; Cedar.
  • Capability systems literature: macaroons, Biscuit tokens, UCAN.

28.5. Informative references for context

The following references identify the existing specifications and drafts against which this document should be read: [AGENT-DELEGATION-CHAIN], [AI-AGENT-AUTH], [OAUTH-DELEGATION-CHAIN], [RFC7519], [RFC8392], [RFC8693], [RFC9052], [RFC9162], [RFC9334], [RFC9711], [SPT-TXN].

30. Informative References

[AGENT-DELEGATION-CHAIN]
Asor, "Verifiable Attenuated Delegation for AI Agent Chains", Work in Progress, Internet-Draft, draft-asor-wimse-agent-delegation-chain-03, , <https://datatracker.ietf.org/doc/html/draft-asor-wimse-agent-delegation-chain-03>.
[AI-AGENT-AUTH]
Kasselman, "AI Agent Authentication and Authorization", Work in Progress, Internet-Draft, draft-klrc-aiagent-auth-03, , <https://www.ietf.org/archive/id/draft-klrc-aiagent-auth-03.html>.
[OAUTH-DELEGATION-CHAIN]
Liu, "Delegation Chain for OAuth 2.0", Work in Progress, Internet-Draft, draft-liu-oauth-chain-delegation-00, , <https://www.ietf.org/archive/id/draft-liu-oauth-chain-delegation-00.txt>.
[RFC7519]
Jones, "JSON Web Token (JWT)", RFC 7519, , <https://www.rfc-editor.org/info/rfc7519>.
[RFC8392]
Jones, "CBOR Web Token (CWT)", RFC 8392, , <https://www.rfc-editor.org/info/rfc8392>.
[RFC8693]
Jones, "OAuth 2.0 Token Exchange", RFC 8693, , <https://www.rfc-editor.org/info/rfc8693>.
[RFC9052]
Schaad, "CBOR Object Signing and Encryption (COSE): Structures and Process", RFC 9052, , <https://www.rfc-editor.org/info/rfc9052>.
[RFC9162]
Laurie, "Certificate Transparency Version 2.0", RFC 9162, , <https://www.rfc-editor.org/info/rfc9162>.
[RFC9334]
Birkholz, "Remote ATtestation procedureS (RATS) Architecture", RFC 9334, , <https://www.rfc-editor.org/info/rfc9334>.
[RFC9711]
IETF, "The Entity Attestation Token (EAT)", RFC 9711, <https://www.rfc-editor.org/info/rfc9711>.
[SPT-TXN]
Coetzee, "Transaction-Bound Authorization Tokens for Software and AI Agents", Work in Progress, Internet-Draft, draft-coetzee-oauth-spt-txn-tokens-03, , <https://datatracker.ietf.org/doc/html/draft-coetzee-oauth-spt-txn-tokens-03>.

Author's Address

Sangam Kumar Das
Independent
Balasore
Odisha
India