Attacks · Replay, relay & forgery

Stale envelope

Freshness makes old authorization evidence ineligible for a new decision.

~5 min readContinue: Forgery

Opening

What is at stake

A delayed message, expired permission, or stale policy view can outlive the conditions under which an action was approved.

How the protection works

An implementation can check validity windows, request binding, current authorization state, and consumed identifiers. HTTP6 also describes holding an operation when the required state or time bound cannot be established.

How to evaluate it

Exercise clock uncertainty, delayed queues, partitions, revocation, and restored state. Publish the actual freshness and in-flight rules for each deployment.

Old ticket still works

The envelope passes its configured window, remains in a cached copy, and is presented late through an ambient path that still accepts it.

Out-of-window dies early

A late envelope reaches the freshness gate after the configured window closes. The gate rejects it before application logic runs.

Scoped claims

Authority expires at the end of each request.The envelope binds method, endpoint_id, request hash, policy hash, tau, and nonce (one message, one use).Holds under the reference architecture

A reference enforcement path

This diagram illustrates the reference check order. The actual deployment and resource boundary determine which protections are enforced.

  1. Recompute the request hash

    The gate hashes the body it actually received and compares it to the envelope.

    Rejects: A body that was altered after the proof was made.

  2. Check endpoint and policy

    The envelope names the endpoint and the policy it was made for; both must match this route.

    Rejects: A valid proof relayed to a different endpoint.

  3. Confirm the circuit is active

    The handle is resolved against the registry and must be active. Deactivating a handle is how revocation happens.

    Rejects: A proof from a revoked identity.

  4. Check freshness

    The envelope timestamp must fall inside the freshness window configured for the route.

    Rejects: A captured envelope replayed after the window closed.

  5. Burn the nonce

    The nonce is spent here, before the proof is validated. Every submission spends it, including one that is about to fail validation.

    Rejects: Any second use of the same envelope. This is where replay dies.

  6. Validate the proof

    Only now is the proof itself checked, against the local binary or the registry. Both modes are equivalent at the envelope layer.

    Rejects: A forged or malformed proof.

  7. Apply application policy

    Ordinary authorization runs in the post-proof zone: arguments, limits, and business rules.

    Rejects: A well-proved request asking for something it is not allowed to ask for.

  8. Serve the request

    The application does its work, and the response is bound back to the request that earned it.

Where it shows up

Explore demonstrations

Connect the pieces

Read the current product, standards, and project context alongside the research and reference architecture for this topic.

Go deeper

  • ENI6MA Protocol: Rosario–Wang Formalism

    Authors' summary: This work presents a unified formalism for the ENI6MA protocol grounded in the Rosario–Wang holographic manifold collapse and informational entanglement. It addresses the fragility of credentialed systems that store long-lived secrets, and positions the construction as an alternative to heavy algebraic zero-knowledge machinery for real-time human interaction.

  • Holographic Entanglement for Keyless Proof

    Authors' summary: This paper proposes an “informational entanglement” framing that unifies spatio-temporal entropy and attestation into a keyless authentication primitive. Two compiled twins sharing a sealed private morphism transform fresh session entropy, timestamp, and contextual inputs into a one-time holographic witness (an ephemeral trajectory on a discrete orientation ring).