Attacks · Replay, relay & forgery

Request tamper

A transfer approval applies to an amount and recipient. A data release applies to selected records and a destination. The receiving service verifies the request it will execute against the action that was approved.

~6 min readContinue: Stale envelope

Opening

What is at stake

An attacker or compromised intermediary may change a destination, amount, request body, or meaningful default while attempting to reuse evidence for another request.

How the protection works

Bind authorization to an unambiguous request or normalized operation, including the fields that change its effect. The resource checks its own interpretation and policy before acting.

How to evaluate it

Test changed methods, targets, bodies, encodings, units, and defaults. Reject ambiguous or unknown critical meanings and check every path capable of committing the effect.

Edit body · keep authority

The request body changes while the original authorization header remains. The diagram shows how authority can become detached from the altered business request.

Tamper breaks the digest

Method, endpoint, and body enter the request hash chain. A changed body produces a digest mismatch and requires a new proof.

Scoped claims

Every envelope is bound to a specific method, endpoint, request body, policy, freshness window, and nonce.sha256(method || endpoint_id || request_body_hash || policy_hash || tau || nonce_uuid)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.

  • No Correlation Attack

    Authors' summary: This essay presents a membership-only proof-of-knowledge protocol in which a prover convinces an observer she knows secrets without revealing them. Three intertwined ideas (balanced partitions into six equal leaves, independent ring rotations that eliminate positional anchors, and a private bijection that permutes leaf labels) throttle leakage to at most log₂6 bits per round and, in expectation, to essentially zero useful signal for predicting the next character.