Attacks · Replay, relay & forgery

Replay

A service that persistently records proof use can refuse a second submission of the same protected request. For payments and other consequential operations, give authorized callers a way to inspect the original outcome after a lost reply.

~6 min readContinue: Relay

Opening

What is at stake

A copied bearer token or recorded request may be submitted again while the receiving system still accepts it. Duplicating a business operation can also occur when a successful response is lost.

How the protection works

Bind the proof to the intended request and use an atomic, durable check of its single-use identifier. HTTP6 W1 separately describes stable operation identity, shared allowance state, and inquiry into an uncertain outcome.

How to evaluate it

Test concurrent submissions, failed validation, state-store failure, restored backups, and lost responses at the resource that commits the effect. Atomicity and complete enforcement coverage are necessary.

Capture once · submit twice

A valid envelope is recorded once and submitted twice. Both ambient submissions reach an allow result, showing the replay window represented by possession.

Burn-before-validate stops replay

The first submission burns its nonce before validation and is allowed. A second use encounters the spent state and is rejected.

Scoped claims

Burn-before-validate is the structural reason a second submission of the same envelope always fails.Gate stage 5 spends the nonce in the durable ledger before stage 6 validates the proof.Holds under the reference architecture

A consumed request proof is designed to reject replay at the protected boundary.The nonce is burned before validation in a durable ledger; it is spent even when validation later fails.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).

  • The Observer's Bit Budget in a Full Rosario Cipher Interaction

    Authors' summary: A quantitative information-theoretic analysis of how much an adversary can learn by observing a complete ENI6MA / Rosario–Wang authentication ceremony. The paper separates surface bits (Shannon entropy of symbols an observer can record) from effective bits (secret-relevant mutual information those recordings pin down), and argues that effective mutual information with the secret remains zero across rounds and ceremonies under the named model.