Internet-Draft OAuth Mission Runtime June 2026
McGuinness Expires 26 December 2026 [Page]
Workgroup:
Network Working Group
Internet-Draft:
draft-mcguinness-oauth-mission-runtime-latest
Published:
Intended Status:
Standards Track
Expires:
Author:
K. McGuinness
Independent

Mission-Bound Runtime Enforcement for OAuth 2.0

Abstract

The Mission-Bound Authorization for OAuth 2.0 profile binds issued authority to a durable, approved Mission, but it governs issuance and derivation only: it does not evaluate individual runtime actions, so an active Mission can become ambient authority for the actions an agent takes within a token's lifetime. This document specifies the companion runtime layer for deployments that claim runtime Mission enforcement. Within a declared enforcement scope, each consequential action is evaluated, before it executes, against the Mission the acting credential is bound to. The evaluation checks the action and its parameters against the Mission's approved authority and constraints, the actor context from the delegation chain, and the Mission against its current state. The document defines where enforcement MUST sit, how a permit is bound to concrete parameters to close the time-of-check to time-of-use gap, how carried consumption bounds (budget, call counts, duration) are metered, and the runtime evidence each consequential action MUST produce.

About This Document

This note is to be removed before publishing as an RFC.

The latest revision of this draft can be found at https://mcguinness.github.io/draft-mcguinness-oauth-mission/draft-mcguinness-oauth-mission-runtime.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-mcguinness-oauth-mission-runtime/.

Source for this draft and an issue tracker can be found at https://github.com/mcguinness/draft-mcguinness-oauth-mission.

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

Table of Contents

1. Introduction

Mission-Bound Authorization for OAuth 2.0 [I-D.draft-mcguinness-oauth-mission] (the "issuance profile") makes a Mission a first-class OAuth artifact: a structured, human-approved, integrity-bound task whose authority bounds and outlives every token an agent derives. But it is deliberately an issuance-and-derivation layer. As its security considerations state, it does not evaluate individual runtime actions, so an active Mission still bounds a set of authority an agent may exercise freely within a token's lifetime, and preventing that authority from becoming ambient for individual consequential actions requires a separate runtime enforcement layer.

This document is that layer. It delivers exactly the four things the issuance profile names as out of scope, plus enforcement of the constraints that profile carries but does not evaluate:

  1. evaluation of a request's parameters against the Mission at the point of use (Section 6, Section 7);

  2. per-action runtime enforcement evidence (Section 10);

  3. binding of the invoked tool or function identity to the Mission's approved authority (Section 6);

  4. execution-time re-evaluation that closes the approval-to-execution (time-of-check to time-of-use) gap (Section 7);

and, additionally, metering of the consumption bounds (budget, call counts, duration) the issuance profile carries as constraints but leaves to this layer to enforce (Section 8).

The model is a Policy Enforcement Point (PEP) at each consequential execution boundary that, before the action runs, obtains a decision from a Policy Decision Point (PDP) evaluating the action against the Mission. Mission-bound tokens bound what authority may exist; this profile defines where and how that authority is re-checked before consequential effects occur.

This profile specifies enforcement invariants, not a wire protocol: it does not standardize a PDP decision API, an enforcement-scope discovery format, a Mission Status endpoint, or a portable audit receipt. It defines what a deployment MUST satisfy when it claims runtime Mission enforcement; the surfaces it deliberately leaves to deployments or future work are collected in Section 12.

1.1. Relationship to the issuance profile

This document depends normatively on the issuance profile and is not implementable alone: it consumes Mission-bound access tokens that profile defines. It does not place any new requirement back on the issuance profile; it reads only fields that profile already defines:

  • the mission claim (id, origin, authority_hash);

  • the token's authorization_details, including entries of type mission_resource_access (resource, actions, constraints, and any delegation member) and any other entry type the deployment supports under the issuance profile's rules;

  • the act chain, when delegation is in effect;

  • the standard iss, aud, sub, client_id, and exp claims, when present in the token format; and

  • any cnf sender-constraint binding.

Where this document needs a value the token does not carry (the current Mission lifecycle state, or a materialized policy-view version), it obtains it at runtime as described below, never by requiring the issuance profile to add a field.

The Resource Server enforcement rules in the issuance profile remain the baseline for every Mission-bound access token. This document adds an optional runtime conformance profile for deployments that claim execution-time Mission enforcement; it does not weaken the issuance profile's stateless token-validation, subset, delegation, or constraint-enforcement requirements.

2. Conventions and Terminology

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

This specification uses the terms "access token", "Authorization Server", "client", "protected resource", "resource owner", and "Resource Server" from OAuth 2.0 [RFC6749] through the terminology incorporated by [I-D.draft-mcguinness-oauth-mission]. It also uses the Mission, Mission Intent, Mission Issuer, Authority Set, Approver, delegation, and mission claim terminology from [I-D.draft-mcguinness-oauth-mission].

Policy Enforcement Point (PEP):

The component that can prevent a consequential action and that obtains and enforces a decision before the action runs. Depending on the action this is a Resource Server, an MCP server, an egress proxy, a workflow engine, or the orchestrator itself.

Policy Decision Point (PDP):

The component that evaluates a consequential action against the Mission and returns permit or deny. Its placement is a deployment choice (Section 6).

Resource policy:

Local policy of the Resource Server or protected resource, including object-level authorization, tenant configuration, legal holds, service invariants, and risk decisions. Mission authority is an upper bound and does not override Resource policy.

Consequential action:

An action that has external visibility or effect and so MUST be evaluated before it runs (Section 3.3).

Decision:

A PDP's permit-or-deny result for one action, bound to the inputs it evaluated (Section 6).

Policy-view version:

A deployment-opaque identifier the PDP emits for the materialized policy and Mission view it evaluated against, so a permit and its evidence record tie to a reproducible decision basis. It need not reveal policy content; it is a correlator that lets an operator determine which materialized policy, Mission state view, and constraint interpretation a decision used. It is local to the runtime layer and is distinct from the issuance profile's policy_version Mission-record field ([I-D.draft-mcguinness-oauth-mission]); this document does not interpret it beyond correlation, and defines no portable policy-version registry.

Runtime enforcement evidence:

The record a consequential action produces for a PDP decision or a PEP refusal path (Section 10).

Enforcement scope:

The set of resources, action classes, execution paths, PEP placements, supported authorization details, state sources, and evidence mechanisms for which a deployment claims conformance to this profile.

Operation profile:

Deployment documentation that defines operation-specific runtime semantics needed for interoperable enforcement within that deployment, including parameter normalization rules and duration measurement.

Resource Server runtime profile:

A deployment's Resource Server-facing conformance statement for this profile. It defines which protected resources and operations the Resource Server enforces, where the PEP sits, how local Resource policy composes with Mission authority, and which operation profiles apply.

Mission state source:

A deployment-trusted source from which the PDP establishes the Mission lifecycle state or the freshness of that state (Section 6.1).

Mission-bound token:

An access token issued under a Mission per [I-D.draft-mcguinness-oauth-mission], carrying authorization_details and a mission claim.

3. Runtime model

3.1. Enforcement flow

 Agent          PEP (action boundary)        PDP
   |                  |                        |
   |- action+params ->|                        |
   |                  | validate token         |
   |                  |- evaluate vs Mission ->|
   |                  |  (authority, params,   |
   |                  |   actor, state)        |
   |                  |<---- permit / deny ----|
   |                  | bind to params;        |
   |                  | write evidence         |
   |<- execute/refuse-|                        |

The PEP first validates the token as described in Section 5. On permit the PEP reverifies the parameter binding, then executes; on deny it refuses. The runtime decision evaluates the action against the Mission's authority, the entry constraints, the actor chain, the Mission's current state, and Resource policy, as defined in Section 6.

3.2. Enforcement scope and conformance

This profile is implemented by a runtime deployment, not by an OAuth Authorization Server alone. Three things conform, at different granularities: the runtime deployment (this section), the Resource Server runtime profile for OAuth-protected resources (Section 4), and the PEP/PDP decision path for each consequential action (Section 6). Conformance is not global to a product, Authorization Server, Resource Server, or PDP: a deployment conforms to this profile only for the resources, action classes, execution paths, and authorization-detail types named in its enforcement scope.

A deployment that claims conformance to this profile MUST document its enforcement scope, including:

  • the protected resources, action classes, and execution paths it mediates;

  • the PEP locations that can prevent those actions;

  • the PDP or PDPs that evaluate Mission-bound decisions;

  • the authorization_details types, action identifiers, and constraint vocabularies it supports;

  • any Resource Server runtime profile and operation profiles it uses (Section 4);

  • the Mission state source and maximum staleness bound used for each action class (Section 6.1);

  • the runtime enforcement evidence mechanism and retention window (Section 10); and

  • any consumption-metering consistency bound it advertises (Section 8).

A deployment MUST NOT claim runtime enforcement for a resource, action class, authorization_details type, or execution path outside that declared scope. A Mission Issuer conforms to the issuance profile; it does not become a runtime-conforming deployment merely by issuing Mission-bound tokens.

The enforcement scope is a deployment conformance statement, not an OAuth Authorization Server metadata extension. This document defines no discovery mechanism, registry, or wire format for publishing it. Different deployments can document scope through configuration, operational policy, resource-server metadata defined elsewhere, or a contractual profile.

3.3. Action classification

The boundary between consequential and non-consequential actions is deployment policy, but a deployment MUST NOT define it so loosely that nothing is enforced. This document defines a default classification a deployment SHOULD adopt, and a floor it MUST observe.

Table 1
Class Examples PDP gate Parameter binding
Non-consequential internal reasoning, cache reads, planning not required n/a
Consequential read reading user data, querying logged APIs MUST not required
Consequential write updating records, posting messages MUST MUST
Irreversible action sending mail, payment, deletion MUST MUST, with TOCTOU reverification
External commitment signing, accepting terms for the user MUST MUST, with TOCTOU reverification and evidence
Privileged administration granting access, changing policy MUST MUST, with TOCTOU and evidence

The table's per-class requirements (the PDP gate and parameter binding) are requirements for an action once it is assigned to that class. Assigning an action to a class is deployment policy, bounded by the floor below and by any Resource-policy minimum (Section 6): the profile does not require every read to reach a PDP. A read that is already fully constrained by the token's audience, resource, and the Resource Server's object-level authorization, and that does not materially affect the resource set or disclosure risk, need not be classified a consequential read, and is then not separately PDP-gated by this profile. A deployment MUST NOT, however, use classification to evade the floor or a Resource-policy minimum, and once an action is a consequential write or higher it MUST be gated and bound as the table requires.

Classification floor. Actions in the irreversible, external commitment, and privileged administration classes MUST be treated as consequential and gated. A Mission's purpose, or deployment policy, MAY raise an action to a stricter class; it MUST NOT lower an action below any minimum classification the Resource policy (Section 6) sets for it, and in any case MUST NOT classify an irreversible, external-commitment, or privileged-administration action as non-consequential. A deployment that leaves such an action ungated does not enforce this profile for that action's class (Section 3.4).

A deployment policy can require human confirmation, step-up authentication, or another local signal for privileged administration or external commitments. This profile does not define such a signal.

Consequential reads do not require parameter binding by default. However, a deployment MUST bind or digest read parameters when those parameters materially change the effective resource set or disclosure risk. Examples include export-like reads, bulk reads, cross-tenant or cross-account queries, privacy-sensitive filters, field selection that controls sensitive attributes, destination or delivery parameters, and aggregation choices that affect re-identification risk.

3.4. PEP placement

Enforcement only works at the component that can actually stop the action. A deployment claiming this profile MUST observe these rules:

  • The PEP MUST sit at the last controllable boundary before the action. A permit checked further upstream does not survive parameter changes, retries, or routing that happen after the check.

  • A token-issuance decision does not replace execution-time authorization. A token-only Resource Server cannot claim runtime enforcement; the issuance gate is governance, the runtime gate is enforcement.

  • A tool-catalog filter does not replace per-call authorization. Filtering a tool list by the caller's authority is exposure control; every consequential tool call MUST still pass the runtime gate.

  • An orchestrator's internal check does not replace a Resource Server's PEP. Defense in depth is permitted; substitution is not.

  • If no PEP can prevent the action for a given class, the deployment MUST NOT claim runtime enforcement for that class, and MUST name the action classes and execution paths it does mediate.

The boundary varies by action: an OAuth-protected API call is gated at the Resource Server; a consequential MCP tools/call at the MCP server; a local tool invocation, file write, or payment at the orchestrator or whatever component drives the call; external egress at an egress proxy. Where an action can be reached by an unmediated path (a debug shell, an unsanctioned egress route, a direct connector), the profile is not enforced for the classes that path reaches.

4. Resource Server runtime profile

An OAuth Resource Server that claims conformance to this runtime profile MUST publish or otherwise make available a Resource Server runtime profile for the protected resources and operations in scope. The Resource Server runtime profile is a deployment conformance statement, not an OAuth Authorization Server metadata extension and not a new access token format.

The Resource Server runtime profile MUST define:

A Resource Server MUST NOT claim this runtime profile for an operation unless the operation's consequential effects pass through a PEP that can refuse the operation after token validation and before execution. A Resource Server that only validates the access token and checks static token audience or scope claims does not implement this runtime profile.

The Resource Server runtime profile MAY be documented in Resource Server configuration, resource-server metadata defined elsewhere, a contractual deployment profile, or another deployment-specific mechanism. This document does not define a discovery document, registry, or wire format for publishing it.

5. Token presentation and validation

The runtime decision is downstream of ordinary access token validation. Before using a token's Mission, authority, subject, client, actor, or confirmation-key values as decision inputs, the PEP MUST establish that the access token is valid for the protected resource and request. For the Mission-bound JWT access tokens defined by the issuance profile, this means validating the JWT per [RFC9068], verifying the issuer and audience, checking token expiry, and verifying any sender-constraint binding (cnf) under the proof-of-possession rules of the issuance profile ([I-D.draft-mcguinness-oauth-mission]); this profile defines no proof-of-possession mechanism of its own.

The underlying OAuth deployment MUST follow the applicable security best current practice in [RFC9700]. In particular, a Resource Server PEP MUST refuse a token whose audience is not intended for that Resource Server, and MUST verify the proof-of-possession check for a sender-constrained token before treating its cnf binding as authenticated.

A PEP MUST NOT ask a PDP to authorize an action from unverified token claims. If token validation fails, or if the deployment requires Mission governance for the protected operation and the token lacks a mission claim, the PEP MUST refuse before runtime Mission evaluation. When the PEP is an OAuth Resource Server, it uses the normal OAuth error behavior for the protected resource (for example, Bearer token errors under [RFC6750]); this profile defines no new OAuth error code.

Where the PEP and PDP are separate components, the decision request and response MUST be integrity-protected and the parties MUST authenticate each other. The PDP MUST accept token-derived inputs only from a PEP authorized for the declared enforcement scope. A deployment can satisfy this with a mutually authenticated channel, a signed decision request and response, or another mechanism with equivalent security properties. The PEP SHOULD send the PDP the minimum token-derived claims needed for the decision rather than the presented access token. If a deployment sends the access token itself to the PDP, the PDP MUST treat it as a credential, protect it against disclosure, and MUST NOT use it outside the declared enforcement scope.

6. The decision

Before a consequential action runs, its PEP MUST obtain a permit from a PDP that evaluates the action against the Mission the acting token is bound to. This is the normative contract. The decision API wire format is a deployment choice; Section 11 gives a non-normative example binding.

The PEP MUST supply the inputs the PDP needs for the Mission-bound decision. Runtime enforcement MUST evaluate:

On a deny, the PEP MUST refuse the action. Authority-expandable denials and the escalation workflow that turns a deny into a Mission expansion are out of scope and deferred (Section 12); in this profile a deny is terminal for the attempted action.

The PDP's placement is a deployment choice (co-located with the Mission's origin, embedded in the Resource Server, a tenant-scoped service, or a shared service); this document does not mandate one. The requirement is only that a PEP at each consequential boundary can reach an applicable PDP.

6.1. Mission state and freshness

A Mission-aware decision needs the Mission's current state, which a token alone does not convey. A runtime deployment MUST define the Mission state source it trusts for each enforcement scope. Examples include origin AS token introspection, a local Mission database, an authenticated status or event feed from the Mission origin, a materialized policy view, or a short-lived cross-domain credential whose lifetime is the deployment's accepted state lease.

  • The PDP MUST refuse a consequential action when it cannot establish, within the deployment's published staleness bound, that the Mission is active.

  • A state source MUST either report the Mission state with a freshness time, or define a lease interval over which a previously established active state remains acceptable for the relevant action class. A permit issued from that state view MUST expire no later than the applicable freshness time or lease interval.

  • When the credential issuer also holds the Mission, the PDP can learn state through token introspection ([RFC7662]) at the issuer per [I-D.draft-mcguinness-oauth-mission]. A non-origin Resource AS introspecting a local token cannot report current Mission state under the issuance profile; it can establish local token validity, but not origin Mission freshness.

  • This document defines no cross-issuer by-Mission status query. Deployments that need tighter freshness than the token or cross-domain grant lifetime provides need an out-of-band trusted status feed or a future standardized Mission Status surface.

  • Each enforcement scope MUST publish its maximum staleness bound per action class and state source. This document does not impose one universal value.

The following non-normative guidance illustrates freshness bounds that are likely to match the risk of common action classes:

Table 2
Class Suggested freshness posture
Consequential read Token lifetime or a short state lease; tighter for privacy-sensitive, cross-tenant, or bulk reads
Consequential write A short state lease, typically measured in minutes
Irreversible action Immediate check or single-use permit
External commitment Immediate check or single-use permit
Privileged administration Immediate check, suitable for composition with local step-up

7. Parameter binding and time-of-check to time-of-use

A permit for an operation does not authorize arbitrary parameter values. For consequential writes, irreversible actions, external commitments, and privileged administration, the PDP MUST bind its permit to the normalized action parameters through a parameter_digest, and the executing PEP MUST recompute and reverify that digest immediately before acting.

This closes the time-of-check to time-of-use gap and prevents a permit from being replayed for a different request (the parameter_digest mismatches). For non-idempotent consequential writes, irreversible actions, external commitments, and privileged administration, the single-use decision identifier or idempotency key also prevents repeat execution of the same normalized action. Consequential reads do not require a parameter digest by default; the evaluation request still appears in the evidence record, by digest where the parameters are sensitive (Section 10).

Deployments MUST require parameter binding for consequential reads when read parameters materially change the effective resource set or disclosure risk. Independent of that risk judgment, a binding floor applies: a consequential read whose parameters select a cross-tenant or cross-audience scope, request a bulk or export-like result, or choose the returned fields or destination MUST bind those parameters; a deployment MUST NOT classify such a read as not materially affecting the resource set. Other examples that materially change the resource set or disclosure risk include privacy-sensitive filters and aggregation level. Ordinary reads that do not change the resource set or disclosure risk can remain unbound.

8. Consumption metering

Consumption bounds the Mission carries are enforced here, not at issuance. The issuance profile ([I-D.draft-mcguinness-oauth-mission]) defines three Mission-level consumption bounds in the Mission context that this layer meters:

A per-entry constraints value that expresses a consumption bound is metered the same way. When an applicable entry or the Mission's context carries such a bound, the PDP MUST meter use against it and MUST refuse a consequential action that would exceed it.

The exactness of a consumption bound depends on the decision topology, and this profile does not overpromise:

A deployment MUST NOT advertise exact consumption enforcement it cannot meet under its chosen topology. As with all constraints, an unmetered or unrecognized consumption bound MUST cause refusal rather than silent pass-through.

For a metered permit, the PDP and PEP MUST define retry and idempotency behavior. A retry of the same normalized action under the same idempotency key or single-use decision identifier MUST NOT consume the bound twice. Reuse of an idempotency key or decision identifier for a different normalized action MUST cause refusal. For irreversible actions and external commitments, a deployment MUST define whether metering is reserved before execution and committed after success, or committed before execution; it MUST NOT leave the decrement ambiguous.

9. Failure modes

Enforcement is meaningful only if failure is bounded. A PDP or PEP MUST behave as follows; in all cases the evidence record (Section 10) MUST be sufficient to reconstruct which path produced a refusal.

Table 3
Condition Required behavior
Token validation fails, including sender-constraint verification Refuse before runtime Mission evaluation
Mission governance is required but the token lacks a mission claim Refuse before runtime Mission evaluation
PEP-PDP channel authentication or integrity protection fails Fail closed
Mission state cannot be established within the staleness bound Fail closed for consequential actions
PDP unreachable Fail closed for consequential actions; do not proceed on cached permits past the window
Mission not active Refuse
mission_expiry passed, when known from the Mission state source Refuse
Unsupported authorization_details type for the action Refuse
Unknown or unmetered constraint on the applicable entry Refuse
Consumption bound would be exceeded Refuse
parameter_digest mismatch at the executing PEP Refuse
Re-presentation of a consumed single-use decision identifier Refuse (fail closed)
Required act chain missing or malformed Refuse
Invoked capability identity outside the approved actions Refuse
Resource policy refuses the action Refuse
Request would broaden the Mission's authority Refuse (expansion is out of scope)

10. Runtime enforcement evidence

Every PDP decision on a consequential action MUST produce a runtime enforcement evidence record. A PEP refusal for a consequential action, whether before a PDP decision (for example, token validation failure or PDP unreachability) or after a PDP permit (for example, a parameter_digest mismatch), MUST likewise produce a runtime enforcement evidence record with the available fields and the failure condition. This document fixes the minimum record content and local integrity requirements. The concrete record schema, any interoperable canonical byte representation, separate Decision Evidence and Execution Evidence object schemas, and portable cross-domain receipts are out of scope (Section 12).

10.1. Required decision evidence

A record MUST contain:

  • the decision or refusal result and, on refusal, the failure condition from Section 9;

  • the request time (RFC 3339 [RFC3339]); and

  • the parameter_digest for parameter-bound classes, or a privacy-preserving digest of the evaluation request otherwise.

A record MUST also contain the following fields when they are available and trusted for the refusal or decision path:

  • the Mission reference (mission.id, mission.origin) and the authority_hash (and intent_hash when known: it is carried in neither the mission claim nor introspection, so it is available only to a PDP with direct Mission-record access, and most deployments record authority_hash alone) it operated under;

  • the token issuer and audience or protected-resource identifier when available;

  • the authenticated sub, client_id, a client-instance identifier (a deployment-defined correlator) when present, the sender-constraint confirmation key when present, and the act chain projection when delegation applies;

  • the action and resource identifiers (and the asserted capability identity when applicable);

  • the authorization_details type and authorizing entry, or a digest of that entry when recording the full entry would disclose excess authority or sensitive policy;

  • the decision identifier, when the PDP produced one; and

  • the PDP's policy-view version.

For a token-validation failure, the record MUST NOT describe unverified token claims as authenticated facts. It MAY include a digest of the presented token or rejected claim set for correlation and forensics, subject to the privacy requirements below.

The authority_hash and intent_hash in a record are the originating AS's commitments, cited as anchors; the PDP does not recompute them and is not required to hold the full Authority Set to record them, consistent with [I-D.draft-mcguinness-oauth-mission].

10.2. Execution-outcome evidence

For an irreversible action, an external commitment, or privileged administration, the executing PEP MUST also produce, after it acts, an execution-outcome record keyed to the permit's decision identifier, recording at least success or failure and the parameter_digest actually executed. This lets a decision and its execution be reconciled one to one, so a permit that was obtained but executed more than once, or executed for different parameters, is detectable after the fact. The detailed object schema is deferred (Section 12).

10.3. Record integrity and retention

The following requirements apply to every record:

  • The Resource Server runtime profile MUST define the record's concrete serialization and canonicalization before storage and integrity protection. JSON records SHOULD use JCS [RFC8785] under the issuance profile's canonicalization rules.

  • It MUST be append-only and integrity-protected; the enforcement scope MUST name the mechanism (a hash-linked log, signed segments, a transparency anchor, or equivalent).

  • Raw parameters MUST NOT appear in the record; when retained for forensics they MUST be in separately access-controlled storage referenced by an opaque identifier, with only the parameter_digest in the record.

  • Records for one Mission MUST carry a deployment-defined sequence indicator so decision order can be reconstructed without relying on wall-clock time alone.

  • The enforcement scope MUST publish a retention window no shorter than the Mission's effective audit horizon.

11. Example decision API binding: AuthZEN

The decision contract of Section 6 is abstract. One possible binding is the OpenID AuthZEN Authorization API [AUTHZEN]: the PEP issues an Access Evaluation request and the PDP returns a decision. This section is non-normative and does not define an AuthZEN profile.

A deployment using AuthZEN can carry Mission and actor inputs in AuthZEN's open-ended context object:

The AuthZEN subject remains the principal the decision is requested for; the invoked capability is the action and the target resource is the resource. Note that AuthZEN's resource.type is a resource-kind identifier, not the issuance profile's authorization_details type ([I-D.draft-mcguinness-oauth-mission]): the example uses a deployment resource kind (mission_resource), and a deployment that needs to convey the mission_resource_access type carries it in resource.properties or context. An evaluation request might look like:

{
  "subject":  { "type": "user", "id": "user_3p2q8mN1a0kV7tR" },
  "action":   { "name": "journal-entries.write" },
  "resource": { "type": "mission_resource",
                "id": "https://erp.example.com" },
  "context": {
    "mission": {
      "id": "msn_8RfX2Lqv9TqMv4z7sA2bN1k0YpEdHc9-",
      "origin": "https://as.example.com",
      "authority_hash": "sha-256:l3KvZ4mP5x0wQrR6tY2nD9bM7sX1cF8gH2vJ4kE5pNQ",
      "state": "active"
    },
    "actor": {
      "client_id": "s6BhdRkqt3",
      "act": [ { "sub": "tool-runner-7" } ]
    }
  }
}

On permit, the AuthZEN response carries the policy-view version, a decision identifier, the parameter_digest for parameter-bound classes, and a short validity window, for example:

{
  "decision": true,
  "context": {
    "policy_view_version": "pv-2026-11-02-17",
    "decision_id": "dec_K9pV4nT2sR7mB1xQ",
    "parameter_digest": "sha-256:9XbVt2cF8gH2vJ4kE5pNQl3KvZ4mP5x0wQrR6tY2nD9",
    "expires_at": "2026-11-02T08:15:30Z"
  }
}

This profile's substance is the enforcement contract, action classification (Section 3.3), PEP placement (Section 3.4), parameter binding (Section 7), consumption metering (Section 8), and runtime enforcement evidence (Section 10), which is independent of the decision wire. The context.mission and context.actor example members above could be standardized separately as a Mission-bound AuthZEN binding without changing this contract.

12. Out of scope

The following compose with this profile but are deferred to future work and are not required to enforce it:

Structured per-argument attenuation of tool grants ([I-D.draft-niyikiza-oauth-attenuating-agent-tokens]) is a related issuance/delegation-layer primitive, not part of this runtime profile.

13. Security Considerations

13.1. What this layer adds, and its limits

Gating every consequential action against the current Mission prevents an active Mission from acting as ambient authority: authority is checked at the point of use, parameters are bound to the permit, consumption is metered, and each decision or refusal path is recorded. This closes the approval-to-execution gap the issuance profile leaves open.

It does not make a compromised enforcement component safe. A compromised PEP can decline to consult the PDP or ignore its decision; a compromised PDP can return whatever decisions it chooses. Decision and enforcement evidence make such behavior auditable after the fact; they do not prevent it in the moment. Signed, externally verifiable decisions are future work (Section 12).

13.2. Placement and bypass

The strongest decision logic is void if the PEP is not at the last controllable boundary, or if an unmediated path can reach the action (Section 3.4). A deployment's claim is only as strong as the set of execution paths it actually mediates; it MUST name that set.

13.3. Classification integrity

Because "consequential" is partly deployment-defined, the classification floor of Section 3.3 is load-bearing: a deployment cannot evade enforcement by classifying an irreversible, external-commitment, or privileged-administration action as non-consequential. A purpose may raise a class but never lower it below the resource owner's floor.

13.4. Freshness and consumption honesty

A permit is a lease, not a standing grant: stale Mission state MUST fail closed for consequential actions within the published bound (Section 6.1). Consumption bounds are exact only under a single serializing PDP; a deployment MUST NOT advertise exactness it cannot meet across distributed decision points (Section 8).

13.5. Resource policy remains authoritative

Mission authority is a maximum authority envelope. It does not force a Resource Server to perform an action, bypass local authorization, or override object ACLs, tenant configuration, legal holds, service invariants, or risk policy. A runtime deployment that treats a Mission-bound permit as sufficient without Resource policy evaluation can perform actions that the resource owner or service would otherwise forbid.

13.6. TOCTOU and replay

Parameter binding (Section 7) ties a permit to specific normalized parameters and a short window or single use, so a permit cannot be replayed for a different request or survive a parameter change between check and use. The executing PEP, not an upstream component, MUST perform the reverification.

13.7. Confused deputy across resources

The permit binding of Section 7 ties a decision to the Mission, the token audience or protected resource, sub, client_id, actor context, action, and resource it evaluated. It follows that a PDP decision for one protected resource, audience, tenant, or operation is not reusable at another: the executing PEP, which reverifies those bindings before acting (Section 7), refuses a permit whose bindings do not match the boundary at which it is presented. A deployment MUST NOT relax those bindings in a way that would let a permit cross a resource, audience, tenant, or operation boundary it was not issued for.

13.8. Decision channel and token disclosure

A separate PDP becomes part of the Resource Server's trusted authorization path for the operations in its enforcement scope. The PEP/PDP channel therefore needs mutual authentication, integrity protection, and authorization for the declared scope (Section 5). Passing full access tokens to a PDP also extends credential exposure beyond the Resource Server boundary; a deployment that does so needs the same credential handling, retention, and disclosure controls it applies at the Resource Server.

13.9. Evidence privacy and correlation

Runtime enforcement evidence is intentionally durable and therefore sensitive. It can reveal a subject's resources, action timing, delegated actors, and Mission correlation identifier even when raw action parameters are not stored. Deployments SHOULD minimize recorded authority entries, store entry and parameter digests where full values are not needed for audit, restrict access to evidence by role, and document the retention window declared under Section 10. Evidence shared across resource boundaries can also correlate activity by mission.id and authority_hash; deployments that require unlinkability need an additional privacy design outside this profile.

General OAuth security guidance [RFC9700] applies to the underlying credentials.

14. IANA Considerations

This document has no IANA actions. The non-normative context.mission and context.actor example members of Section 11 are not registered in an IETF registry. The Mission-bound token claims this profile consumes are registered by [I-D.draft-mcguinness-oauth-mission].

15. References

15.1. Normative References

[I-D.draft-mcguinness-oauth-mission]
McGuinness, K., "Mission-Bound Authorization for OAuth 2.0", Work in Progress, Internet-Draft, draft-mcguinness-oauth-mission, , <https://datatracker.ietf.org/doc/html/draft-mcguinness-oauth-mission>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC3339]
Klyne, G. and C. Newman, "Date and Time on the Internet: Timestamps", RFC 3339, DOI 10.17487/RFC3339, , <https://www.rfc-editor.org/rfc/rfc3339>.
[RFC6234]
Eastlake 3rd, D. and T. Hansen, "US Secure Hash Algorithms (SHA and SHA-based HMAC and HKDF)", RFC 6234, DOI 10.17487/RFC6234, , <https://www.rfc-editor.org/rfc/rfc6234>.
[RFC6749]
Hardt, D., Ed., "The OAuth 2.0 Authorization Framework", RFC 6749, DOI 10.17487/RFC6749, , <https://www.rfc-editor.org/rfc/rfc6749>.
[RFC6750]
Jones, M. and D. Hardt, "The OAuth 2.0 Authorization Framework: Bearer Token Usage", RFC 6750, DOI 10.17487/RFC6750, , <https://www.rfc-editor.org/rfc/rfc6750>.
[RFC7662]
Richer, J., Ed., "OAuth 2.0 Token Introspection", RFC 7662, DOI 10.17487/RFC7662, , <https://www.rfc-editor.org/rfc/rfc7662>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8785]
Rundgren, A., Jordan, B., and S. Erdtman, "JSON Canonicalization Scheme (JCS)", RFC 8785, DOI 10.17487/RFC8785, , <https://www.rfc-editor.org/rfc/rfc8785>.
[RFC9068]
Bertocci, V., "JSON Web Token (JWT) Profile for OAuth 2.0 Access Tokens", RFC 9068, DOI 10.17487/RFC9068, , <https://www.rfc-editor.org/rfc/rfc9068>.
[RFC9700]
Lodderstedt, T., Bradley, J., Labunets, A., and D. Fett, "Best Current Practice for OAuth 2.0 Security", BCP 240, RFC 9700, DOI 10.17487/RFC9700, , <https://www.rfc-editor.org/rfc/rfc9700>.

15.2. Informative References

[AUTHZEN]
OpenID Foundation, "OpenID AuthZEN Authorization API 1.0", , <https://openid.net/specs/authorization-api-1_0-final.html>.
[I-D.draft-niyikiza-oauth-attenuating-agent-tokens]
Aimable, N., "Attenuating Authorization Tokens for Agentic Delegation Chains", Work in Progress, Internet-Draft, draft-niyikiza-oauth-attenuating-agent-tokens-01, , <https://datatracker.ietf.org/doc/html/draft-niyikiza-oauth-attenuating-agent-tokens-01>.

Acknowledgments

This document is the runtime companion to Mission-Bound Authorization for OAuth 2.0 and builds on the OpenID AuthZEN Authorization API and the OAuth 2.0 Rich Authorization Requests and JWT access token specifications.

Author's Address

Karl McGuinness
Independent