Continue to the referenced section

The problem statement, local editorial edition · Chapter 13 of 26

8. Security Requirements

On this page
  1. 8.1. Admission, Service Identity, and Delegation
  2. 8.2. Runtime Generation and Channel Binding
  3. 8.3. Authenticated Application Records
  4. 8.4. Resource Enforcement and Sandboxing
  5. 8.5. Replay, Operation Identity, and Execution
  6. 8.6. Distributed Revocation, State, and Recovery
  7. 8.7. Security Evidence and Privacy

The numbered requirements below are targets for subsequent evaluation and specification. They are not current implementation guarantees or normative conformance rules.

8.1. Admission, Service Identity, and Delegation

  • SR-01 , Destination authentication: Verify the intended service using independently configured trust before eliciting a human response. Bind the admission decision to the authenticated service and its applicable audience.
  • SR-02 , Human intent: Bind a fresh admission ceremony to the intended service, channel or proposal context, runtime/instance key, approved scope, and applicable account generation. Address trusted presentation, approval ambiguity, consent withdrawal, and anti-replay. A new root or a material scope increase requires appropriate new authorization; a child is admitted under an authorized grant rather than automatically requiring the human to authenticate again.
  • SR-03 , Non-expanding delegation: Validate each ancestor grant, issuer, audience, lifetime, and applicable policy; prevent authority expansion through policy translation, changed resource names, broker credentials, or administrative-domain transitions. Enforce shared budgets separately.

8.2. Runtime Generation and Channel Binding

  • SR-04 , Instance identity: Establish an independently identifiable execution principal and current generation through the selected key-binding and evidence profile. A code hash alone cannot distinguish cloned instances. Specify key custody and the limitations of runtime evidence.
  • SR-05 , Peer and profile binding: Bind applicable peer identities, roles, profile/version, algorithm choices, channel context, and relevant evidence to authenticated state. Prevent untrusted downgrade. Compatibility fallback follows explicit local policy.
  • SR-06 , Lifecycle and route policy: Retire a terminated or expired runtime generation, subject to defined liveness/freshness policy. A new launch establishes a new generation. Changes to a security-relevant route attribute trigger authenticated policy evaluation. Ordinary network migration may proceed after appropriate path validation if identity, authority, and channel bindings remain valid; otherwise protected effects are held pending revalidation or admission. Network addresses alone are not reliable proof of execution identity or physical location.

8.3. Authenticated Application Records

  • SR-07 , Message binding: Every accepted protected request and response has an unambiguous profile and context, authenticated directional position, canonical content commitment, instance-key binding where required, and current authority evidence. Verification distinguishes record authentication, proof of possession, and authorization.
  • SR-08 , Cryptographic separation: Establish traffic secrets with appropriate role and directional separation and demonstrate nonce uniqueness under each encryption key across streams, retransmission, rekey, recovery, and concurrency. The profile selects key/nonce construction, traffic limits, and erasure; it does not assume that per-record key derivation is necessary or sufficient.
  • SR-09 , Response provenance: Associate a protected response with the exact accepted request, responding principal, operation identifier, status, and content. A response authenticator establishes authenticity of the statement, not truth or successful execution. Independent effect verification, when required, uses evidence from the responsible resource or execution authority.

See Appendix C for the semantic sketch. Existing HTTP signatures already support including request components in authenticated responses (RFC9421, Section 2.4); a proposed profile must show the additional context or semantics needed.

8.4. Resource Enforcement and Sandboxing

  • SR-10 , Complete mediation: Every protected data access, external invocation, and state-changing effect is mediated by the applicable PEP before commitment. Identify direct APIs, background workers, queues, host calls, service accounts, and administrative paths. A bypass is outside the claimed boundary and must not be silently treated as protected.
  • SR-11 , Capability and budget confinement: Expose only approved host capabilities, resources, keys, and child-creation operations. Keep key custody and authoritative grant records in designated services where required by the threat model. Prevent broader broker credentials from replacing a child's scope. Coordinate budget reservations and settlement across concurrent operations.

8.5. Replay, Operation Identity, and Execution

  • SR-12 , Record consumption: Specify a replay namespace, ordering/window semantics, and atomic record-position consumption. An accepted record cannot be accepted again in the same namespace. A permitted retry uses a fresh record position and retains the stable operation identifier. Rejecting a replay does not by itself revoke the active channel.
  • SR-13 , Stable operation identity: Define the resource-owner namespace, authority scope, and original operation context within which an operation identifier is unique. Across permitted reconnects, retries, or generation changes, authenticate the association with the original operation. Material changes to destination, resource, action, policy-bound operation context, or canonical content constitute a conflict rather than a new execution of the same identifier. Distinguish immutable operation context from fresh evidence used to authorize reconciliation.
  • SR-14 , Effect accounting: Distinguish proof consumption, permission decision, execution dispatch, resource commitment, and outcome recording. At-most-once effect claims require atomic integration with the resource, resource-side idempotency, or an equivalent demonstrated execution/reconciliation contract. Exactly-once completion is not implied; liveness and success are separate properties.
    Authenticate and authorize record
                   |
    Consume record position / reserve operation
                   |
    Dispatch to responsible resource
                   |
    Resource effect may commit
                   |
              X  CRASH
                   |
    Durable outcome not yet recorded
                   |
    UNCERTAIN -> reconcile at resource
                 (do not blindly execute again)

Figure 4: A committed replay ledger cannot resolve an external effect whose outcome is unknown. Recovery requires a resource-side contract.

When execution cannot be established, the operation enters an explicit OPERATION_UNCERTAIN disposition. Recovery queries or reconciles with the responsible authority. Authorization to view the outcome is checked separately; revocation does not authorize a repeat execution or disclosure of sensitive results.

8.6. Distributed Revocation, State, and Recovery

  • SR-15 , Revocation consistency: Define the maximum permissible delay from a revocation decision to enforcement, applicable freshness proofs, and the authorization linearization point. Specify races involving grant issuance, reservation, execution, replication, failover, and partitions. Identify which in-flight effects may complete. If required current state cannot be established within the freshness bound, state-changing operations fail closed or enter a defined hold state.
  • SR-16 , Rollback-safe recovery: Establish a new authenticated recovery epoch using surviving trust/state that cannot be rolled back by the same failure. Prevent reactivation of retired generations, revoked grants, consumed positions, and allocated private resources. Revalidate each restored grant, its ancestry, and runtime binding. An epoch increment stored only in the restored snapshot is insufficient.
                   Ancestor grant revoked
                          /       \
                 Verifier A      Verifier B
                 fresh state     stale/partitioned
                     |                 |
                  reject           may accept
                                       |
                          REQUIRED: freshness bound,
                          fencing or hold/reject

Figure 5: Distributed revocation requires a defined state consistency and availability contract.

8.7. Security Evidence and Privacy

  • SR-17 , Cryptographic security analysis: Define authentication soundness, adversary capabilities, credential distributions, attempts, key compromise, and privacy observations separately. Establish composition with other protocol components. Information-theoretic privacy of ideal masked coordinates does not establish authentication or full-protocol privacy (Appendix B).
  • SR-18 , Privacy and availability: Minimize disclosure of human identity, lineage, policy, purpose, and runtime evidence. Define metadata exposure, retention, audit access, resource exhaustion, rate limits, and limits on unauthenticated or authenticated work. Avoid credential-dependent error or timing leakage within the selected threat model.
  • SR-19 , Interoperability: Demonstrate equivalent semantic interpretation, deterministic behavior under the specified initial state and inputs, and resource-side enforcement through independent implementations and reproducible fixtures (Section 10).