Relock Security Context
Relock device-bound session integrity layer: cryptographic architecture, security model, and threat analysis.
1. Executive Summary
Modern web authentication systems rely heavily on transferable artifacts: passwords, bearer tokens, session tokens, refresh tokens, and static client secrets. Once issued, these artifacts often function as reusable proof of identity. As a result, theft of authenticated sessions has become one of the dominant causes of account takeover, unauthorized access, and data breaches.
Relock addresses this problem by replacing token-based session trust with device-bound, continuously rotating cryptographic verification with high-frequency key rotation.
The system operates entirely within the browser on the client side. It uses standard, NIST-approved cryptographic primitives and a distributed architecture composed of three primary components:
- Relock Gatekeeper – the central cryptographic engine, database, and policy authority. The Gatekeeper manages trust signals, enforces key rotation intervals, validates request-level proofs, and coordinates secret material verification.
- Relock Relays – lightweight SDKs integrated into the protected applications or simple load balancer rules. Relays transmit signals between the CryptoTags and the Gatekeeper.
- Relock CryptoTags – JavaScript modules that constitute the device-bound trust anchors within the browser and the server. CryptoTags execute high-frequency key rotation and generate request-level integrity proofs.
Once a device is enrolled, the CryptoTag continuously matches the cryptographic state with the Relock Gatekeeper. The Gatekeeper ensures that each protected request includes valid proof derived from the current key rotation state. Verification is therefore tied not to a reusable token, but to the live, synchronized state of a specific browser instance that becomes a persistent, but dynamic device identifier.
At the core of this high-assurance relationship is an encrypted key, rotated with high-frequency, referred to as the Tesseract. For every request to a protected application, the in-browser CryptoTag derives a one-time integrity token from the current Tesseract state.
Derivation of each integrity token is:
- Bound to the protected origin
- Bound to the device context
- Valid only once and within a short window
- Restricted to a specific Tesseract rotation interval
This design changes the security model of web applications in three fundamental ways:
- Authenticated sessions cannot be compromised. Theft of tokens, cookies, JWTs, OAuth, or browser-stored artifacts does not allow an attacker to perform authenticated operations.
- Cloned or parallel client environments are detected. Because Relock enforces a strictly linear rotation timeline per device identity, two independent environments cannot remain synchronized without detection.
- All actions are verifiable at request-level granularity. Continuously generated integrity tokens cryptographically tie each request to its respective device and provide precise, real-time visibility of all access events.
- Server compromise does not enable device impersonation. The backend does not store a usable form of the device's Tesseract or private signing material.
Relock is not a replacement for primary authentication mechanisms such as passwords, passkeys, or federated SSO. Instead, it acts as a specialized continuous trust layer for session integrity across applications, identities, and devices.
It strengthens existing identity systems by ensuring that authenticated sessions cannot be reused, replayed, smuggled, or cloned outside the legitimate browser environment.
The remainder of this document describes:
- Relock's cryptographic architecture and mechanics
- Security model and Tesseract design
- Threat models and outcomes
- Use of CryptoTags as a strong authentication factor
- Technology comparison with key alternatives
2. How It Works
Relock establishes continuous, device-bound verification through coordinated interaction between three architectural components: Relock Gatekeeper server, application-side Relock Relays, and browser-side CryptoTags. Together, these components implement an interdependent secret model secured through high-frequency key rotation and request-level proof validation.
This section describes the architecture and runtime behavior of the system.
2.1 Architectural Components
Relock Gatekeeper — The central cryptographic engine and policy authority. It is responsible for:
- Managing device and user identities
- Setting and maintaining Tesseract rotation intervals
- Validating request-level integrity tokens
All Gatekeeper data exists in encrypted or partial form only and is not accessible to the Gatekeeper without an active interaction with the corresponding client.
Relock Relays — Lightweight SDKs integrated into the protected applications or simple load balancer rules deployed organization-wide. Relays transmit signals between the CryptoTags, the Gatekeeper, and the protected applications. Relays can be deployed either as a request gateway, with direct enforcement capabilities, or entirely in the background of the application's session management, as a signal provider.
CryptoTags — JavaScript modules delivered to the user's browser. Tags establish the device-bound trust anchor at the client side. The tag is responsible for:
- Managing encrypted client-side storage
- Executing high-frequency Tesseract rotation
- Generating one-time request-level integrity tokens
Tags operate entirely within standard browser capabilities. Their deployment is possible for any browser and entirely imperceptible for the user. It does not require any extensions, native binaries, or hardware-backed secure modules.
2.2 Trust Continuity and State Coherence
Each device identity maintained by the Gatekeeper is associated with a single, consistent, and linear continuity of the cryptographic keys. The Tesseract persists for the device across and in parallel to any user sessions; however, always in a different state.
The Gatekeeper enforces strict progression rules for the keys:
- Tesseract rotations must advance sequentially.
- Integrity tokens are valid only within their respective Tesseract rotation interval.
- Randomization material adheres to strict timelines and sequence.
This enforcement of system integrity and state coherence is central to its ability to detect malicious cloned or parallel browser environments.
If two independent environments attempt to operate as the same device, their Tesseract rotation timelines will immediately diverge. As integrity tokens are single-use and sequence-bound, divergence produces inevitable cryptographic collision and detection.
2.3 Interdependent Encryption Model
Relock's core security property is that neither the client nor the server can independently reconstruct and/or decrypt the operational Tesseract.
The model works as follows:
- The CryptoTag stores encrypted server-originated secret components.
- The Gatekeeper stores encrypted client-originated secret components.
- Decryption requires inputs held on both sides.
All the secret material living in client-side storage is encrypted by server-side keys and additionally frequently randomized. Access to decrypted keys is possible only if:
- Correct server-side key, tied to the current Tesseract state, is delivered
- Correct random noise is returned by the Gatekeeper
- Correct device-bound context input is derived (computed fingerprint)
On the server side, stored secret fragments are encrypted with keys that depend on an active client connection for reconstruction.
As a result:
- A snapshot of browser storage is insufficient to derive the Tesseract.
- A backend database breach is insufficient to derive the Tesseract.
- Only a live, authenticated interaction between the legitimate Tag and the Gatekeeper can activate the Tesseract for use.
The only moment when the Tesseract exists transiently in operational plaintext form is within the active client OS-level process and the server OS-level process involved in the rotation and derivation operation.
2.4 High-Frequency Key Rotation
Relock uses high-frequency key rotation to ensure that both encryption material and authentication state remain short-lived and non-reusable.
Two rotation layers operate in coordination:
Client-triggered Randomization — In the first layer, the CryptoTag generates a random noise that is used to randomize all the material stored on the client side. The noise is re-generated at pre-specified intervals, submitted by the CryptoTag to the Gatekeeper, and not stored in the browser.
Consequently, correct random noise must be returned by the Gatekeeper for the client to de-randomize the storage, and to access and decrypt the Tesseract material.
The mechanism is, additionally, a safeguard against any attempts to clone or run two parallel environments with the same CryptoTag. Random noise sent by the two environments would forcefully superimpose and overwrite each other, leading to an inevitable failure in de-randomization on the client side.
Server-triggered Rotation — Independently of client-side randomization, the server forces periodical rotation of the Tesseract secret material. The rotation frequency is configured by the administrator, and the frequency may vary from request-level up to every hour (every 30–60 seconds recommended for most systems).
When Tesseract rotation is triggered:
- The Gatekeeper rotates its server-side Tesseract state.
- An entropy nonce is delivered to the Tag.
- The CryptoTag rotates its Tesseract state.
- The Tag generates an integrity token and confirms the operation.
- The Gatekeeper verifies that the Tesseract states match on both sides.
If synchronization fails or conflicting rotation results are observed, the Gatekeeper invalidates the rotation and requires new trust establishment.
Tesseract rotation is the highest assurance verification event within the system, as it results in an entirely new pair of fresh, quantum-safe, cryptographic keys.
2.5 Request-Level Verification
The dynamic system of Relock keys is subsequently used to derive request-level, one-time use integrity tokens, always tied to the current cryptographic state of the Tesseract.
The integrity tokens are substantially different than the usual bearer authentication tokens. They are always generated by the client side autonomously and verified by the server side. Each token may only be consumed by the server once. The Gatekeeper retains a memory of consumed tokens and will never allow its replay.
Relock design ensures that possession of a session token, OAuth token, or captured network traffic is insufficient to execute privileged operations. Authentication is therefore not anchored to a static token, but to the synchronized, continuously rotating cryptographic state shared between the Tag and the Gatekeeper.
2.6 Security Boundary Summary
Relock's operational guarantees derive from the combination of interdependent Tesseract encryption, high-frequency key rotation, one-time request-level integrity tokens, strict rotation sequence enforcement, and device and origin binding.
Together, these properties ensure that authenticated state cannot be transferred, replayed, or duplicated outside the legitimate browser process without detection.
Relock trust model solves the fundamental issue of session tokens – the need to use them long-term (session continuity) and, at the same time, securely verify (session integrity). The system achieves both functions by separating them into two different, but closely bound elements:
Continuity = persistent identifier – secure to maintain (rotated Tesseract)
Integrity = one-time proof – impossible to replay (integrity tokens)
3. Security Model
Relock's security model is defined by explicit trust boundaries and attacker assumptions. Rather than assuming a trusted client or trusted server, Relock is designed to remain secure when individual components are partially compromised. The system's guarantees derive from how secret material is partitioned, how rotation timelines are enforced, and how device identity is bound to an active browser process.
This section defines the system boundary, trust zones, and attacker capability tiers before describing the resulting security properties.
3.1 System Boundary
Relock operates across three logical zones: the browser environment, the application environment, and the Relock Gatekeeper.
The browser environment contains the CryptoTag and all client-side encrypted storage. This environment is assumed to be potentially observable and partially compromisable. Persistent storage, including tokens and local storage, is treated as untrusted.
The application environment contains business logic and integrates the Relock Relay. The application's session management may rely on session tokens, and Relock does not assume these artifacts are secure against theft.
The Relock Gatekeeper is the cryptographic authority responsible for device identity, rotation enforcement, and Integrity token verification. While hardened, it is not assumed to be inherently trustworthy in the event of a full server-side breach.
The security boundary of Relock is defined by the interdependent, high-frequency rotation Tesseract model. No single zone contains sufficient information to impersonate a device independently.
3.2 Trust Assumptions
Relock does not assume that session tokens remain confidential. It does not assume that browser storage is secure. It does not assume that network traffic cannot be observed. It does not assume that backend databases are immune from compromise.
3.3 Attacker Capability Tiers
To reason about guarantees precisely, Relock models attackers in escalating tiers of capability.
| Tier | Capability | Examples |
|---|---|---|
| Tier 1 | Steal session / OAuth / API tokens | Phishing, XSS token theft, log leakage, traffic replay |
| Tier 2 | Exfiltrate browser storage (localStorage, IndexedDB, tokens) | Infostealer malware, offline disk access |
| Tier 3 | Reconstruct active browser runtime while legitimate device is active | Sophisticated malware, APT, targeted attacks |
| Tier 4 | Full endpoint compromise — extract all material and suppress legitimate browser | Complete device takeover |
| Tier 5 | Full server-side compromise — backend databases and infrastructure | Infrastructure breach |
These tiers allow analysis of what Relock guarantees, what it detects, and where its protection boundary ends.
3.4 Security Properties by Boundary
From these assumptions and attacker tiers, several core properties emerge.
First, authentication is device-bound rather than token-bound. Possession of session artifacts alone is insufficient to execute privileged actions.
3.5 Detection Versus Prevention Boundaries
Relock provides both preventative and detective controls depending on attacker capability tier.
For Tier 1 and most Tier 2 attackers, impersonation is cryptographically prevented. Stolen tokens and exfiltrated storage snapshots cannot generate valid request-level proofs.
For Tier 3 attackers, who temporarily reconstruct runtime state, impersonation may succeed briefly but is inevitably detected due to the collision of the Tesseract cryptographic states, as soon as the legitimate device resumes operation.
For Tier 4 attackers, who suppress the legitimate endpoint, impersonation may succeed briefly but is inevitably detected due to the collision of computed device fingerprints, as soon as the legitimate device attempts to resume operation.
For Tier 5 attackers, backend compromise does not allow device impersonation, though metadata exposure remains possible.
These distinctions clarify that Relock is not an endpoint security system. Its guarantees apply to authentication and session integrity for web applications, not to the prevention of kernel-level or hardware-level compromise.
3.6 Relationship to Application Authentication
Relock does not replace primary authentication mechanisms. Instead, it augments them by binding the authenticated session to a continuously verified device.
The system establishes and maintains access and session integrity over time. If an application requires re-authentication for sensitive actions, Relock ensures that only the legitimate, currently synchronized browser instances can complete the process.
The separation of user identity from device-bound session integrity is fundamental to the Relock model and underpins the threat analysis presented in subsequent chapters.
4. Prevention of Attacks on Session Integrity
This chapter analyzes attacks that attempt to reuse, replay, clone, or otherwise transfer authenticated session state. Each scenario is mapped explicitly to the attacker capability tiers defined in Section 3.3.
The objective across all scenarios is consistent: an attacker seeks to perform authenticated or privileged operations without possessing the legitimate, continuously verified browser instance.
4.1 Token Theft (Tier 1)
This scenario corresponds to Tier 1 attackers. The adversary has obtained an authenticated token issued either by the protected application or by an upstream identity provider. This includes session tokens, JWTs, OAuth or OIDC access tokens, SAML assertions, and API bearer tokens. Theft may occur via phishing, XSS, log leakage, browser inspection, malware, or passive network capture.
In conventional web architectures, possession of such a token is typically sufficient to impersonate the user until token expiration.
Under the Relock model, session or access tokens are not treated as sufficient proof of identity for protected operations. When a protected endpoint is invoked, the Relock Relay requires a valid request-level Integrity token derived from the current Tesseract state.
In the first sub-scenario, a stolen token is presented by a fresh, unregistered device that has no Relock keys, no device identity, and no established fingerprint. The Gatekeeper immediately rejects protected operations.
In the second sub-scenario, a stolen token is presented by a different device that is already registered with Relock, but for another user and/or another device identity. Because request-level Integrity tokens are bound to a specific device identity and rotation timeline, the Gatekeeper detects the inconsistency and the request is rejected.
For Tier 1 attackers, impersonation of protected operations is therefore cryptographically prevented.
4.2 Session Hijacking (Tier 1)
This scenario also falls under Tier 1. The attacker can observe or intercept network traffic but does not control the victim's browser runtime or storage.
4.3 Data Exfiltration (Tier 2)
This scenario corresponds to Tier 2 attackers. The adversary has exfiltrated the victim's browser storage, including tokens, localStorage entries, IndexedDB records, and all Relock ciphertext.
The attacker may import this data into a separate environment in an attempt to recreate the authenticated state.
Relock's interdependent Tesseract model ensures that the encrypted client-side storage is insufficient for secret reconstruction. Decryption requires inputs held by the Gatekeeper and bound to an authenticated session.
Additionally, the encryption key protecting local storage is derived from device-bound context input combined with server-provided entropy. A storage snapshot lacks the dynamic server-side components required to derive operational key material.
If the attacker attempts to activate the stolen material by contacting the Gatekeeper, the Tesseract rotation process forces synchronization with the current server-side state. Because the attacker cannot satisfy device-bound derivation constraints, reconstruction fails. The Tesseract rotation also automatically invalidates the exfiltrated data.
4.4 Access Breach – Parallel Runtime Compromise (Tier 3)
This scenario corresponds to Tier 3 attackers. The adversary has temporarily reconstructed the active browser runtime environment, including sufficient material to reconstruct and rotate the Tesseract. Crucially, the legitimate device remains active.
At the moment of reconstruction, the attacker may be able to generate valid request-level Integrity tokens. The attack leads to a successful impersonation of the legitimate user and a confirmed access breach.
Nonetheless, Tesseract rotation follows a strictly linear and progressive timeline for each device identity. Once the attacker triggers a single Tesseract rotation step (typically at 5 to 60 second intervals), the server-side Tesseract state is irreversibly changed and out of synchronization with the Tesseract state known to the legitimate user's CryptoTag.
As soon as the legitimate user submits an integrity token derived from a desynchronized Tesseract, the Gatekeeper detects the collision of cryptographic states. It invalidates the active Tesseracts and issues a trust signal that the application should use to revoke the user's sessions and enforce step-up user authentication.
For Tier 3 attackers, sustained impersonation is not possible as long as the legitimate user comes back to the application.
4.5 Access Breach – Full Endpoint Suppression (Tier 4)
This scenario represents Tier 4 capability. The attacker has reconstructed the Tesseract and has disabled or erased the legitimate device's CryptoTag.
As the legitimate device no longer possesses the Tesseract, no competing state rotation occurs and the attacker may continue advancing the Tesseract rotation chain without causing a detectable cryptographic state collision.
The attacker's access is tied to the period of inactivity of the legitimate user. To reconstruct the Tesseract, the attacker must have spoofed the computed device fingerprint. The first request from the legitimate user's device will result in a clash in Relock logic.
For Tier 4 attackers, sustained impersonation is subject to the same limitations as for Tier 3 attackers.
4.6 Server Compromise (Tier 5)
This scenario corresponds to Tier 5 attackers who obtain full Gatekeeper backend database access and infrastructure visibility.
The Gatekeeper stores encrypted and partial device data but does not store an accessible form of the Tesseract or client private signing material. Backend-stored ciphertext lacks the device-bound components required for impersonation.
An attacker with backend access may read device metadata, rotation counters, and encrypted secret fragments. However, without the corresponding CryptoTag and its device-bound context inputs, the attacker cannot impersonate a legitimate device.
For Tier 5 attackers, device impersonation remains prevented by the interdependent secret model. Exposure is limited to metadata and encrypted artifacts.
Across all tiers, Relock's guarantees follow directly from its boundary assumptions: authentication state is not a transferable token but a continuously synchronized, device-bound cryptographic state.
5. Mitigation of Other Attack Vectors
While Chapter 4 focused specifically on attacks targeting session integrity, Relock also materially mitigates the impact of a broader set of web attack vectors. Many real-world breaches originate from credential misuse, token replay, or exploitation of authenticated application surfaces. By enforcing device-bound, request-level verification, Relock significantly increases the protection against these attacks.
5.1 Credential-Based Attacks
Credential stuffing, password spraying, and reuse of leaked passwords remain common entry points into web systems.
Relock does not replace primary authentication. If a password or other factor is accepted, the attacker may obtain a valid session token. However, Relock binds privileged operations to a previously enrolled device identity.
Relock provides precise monitoring of trusted and untrusted devices. It can enforce high-assurance, low-friction step-up authentication decisions that significantly limit the attacker's ability to use stolen credentials.
In extreme cases, Relock may restrict access to previously approved and enrolled devices or enforce policies that require the user to approve and enroll a new device only from a previously trusted device.
5.2 Browser and Client-Side Exploits
Client-side attacks such as Cross-Site Scripting (XSS), Cross-Site Request Forgery (CSRF), malicious JavaScript injection, or browser profile cloning frequently aim to steal tokens or replay authenticated requests.
When an XSS vulnerability enables token exfiltration, the attack becomes a Token Theft scenario described in Section 4.1. Stolen artifacts cannot generate valid request-level Integrity tokens without the Tesseract's correct rotation state.
In the case of CSRF, a malicious site may cause the victim's browser to submit authenticated requests automatically. However, because protected operations require a unique, one-time Integrity token bound to the request context and Tesseract rotation state, forged cross-origin submissions lack valid tokens and are rejected.
Relock does not eliminate underlying client-side vulnerabilities; rather, it constrains their ability to escalate into authenticated user impersonation attacks.
5.3 Application-Layer Exploits
Many application-layer vulnerabilities — such as SQL injection, insecure direct object references (IDOR), parameter tampering, or business logic abuse — become significantly more damaging when executed within an authenticated session.
Relock does not remediate such vulnerabilities directly; however, it ensures that attackers cannot easily acquire or reuse authenticated context via token theft or replay. As a result, exploitation attempts often remain unauthenticated and therefore limited in impact.
5.4 Network-Level and Transport Attacks
Passive eavesdropping, replay of captured traffic, TLS termination misconfiguration, and proxy-level header leakage frequently expose session artifacts in traditional systems.
Under Relock's request-level verification model, intercepted traffic lacks reusable value. Even if a valid Integrity token is observed in transit, it is single-use and sequence-bound. Subsequent replay attempts fail due to token reuse or rotation inconsistency.
Active man-in-the-middle scenarios similarly fail to produce sustained impersonation unless the attacker achieves Tier 3 or Tier 4 capability.
5.5 Identity, Federation, and SSO Misuse
OAuth, OIDC, and SAML flows often rely on bearer semantics: possession of an access token or assertion is sufficient to access downstream services.
Relock changes this dynamic by decoupling token validity from device legitimacy. Even if an IdP-issued token is valid, the application enforces device-bound token validation for protected endpoints.
Relock provides an additional enforcement layer. Identity assertions alone should not grant privileged access, unless bound to a correctly verified cryptographic device state.
5.6 Infrastructure and Insider Considerations
Relock does not attempt to prevent infrastructure misconfiguration, database compromise, build pipeline attacks, or malicious administrator activity. These risks fall outside the authentication boundary.
However, Relock meaningfully constrains insider lateral movement that relies on reuse of session tokens or access tokens across devices. An internal actor who attempts to replay a colleague's authenticated session encounters device-identity mismatch and rotation validation failure.
Relock therefore reduces the practicality of token-based privilege escalation within internal environments, even when traditional access controls remain unchanged.
In aggregate, Relock's impact across these categories is consistent: it removes transferable session artifacts as a reliable mechanism for authenticated impersonation. While it does not replace secure coding practices, endpoint protection, or infrastructure hardening, it narrows the path from vulnerability to account takeover by requiring continuous, device-bound cryptographic verification for protected operations.
6. Relock for Adaptive Authentication
Relock can be categorized as a device-bound cryptographic possession factor and continuous authentication signal that operates alongside primary identity mechanisms. It does not replace user authentication methods such as passwords, passkeys, or federated login. Instead, it extends their assurances beyond the login event and into the lifetime of the device.
6.1 Relock as a Possession Factor
Traditional possession factors demonstrate control over a device or artifact at a specific moment. Examples include hardware security keys, authenticator apps generating time-based codes, or push-based approval mechanisms.
Relock similarly demonstrates possession, but in a different operational model. Instead of producing a user-visible challenge response, the CryptoTag continuously proves possession of device-bound secret material through request-level tokens tied to a synchronized Tesseract rotation state.
The possession signal in Relock is therefore:
- Bound to a specific enrolled browser instance.
- Continuously refreshed through high-frequency key rotation.
- Verified at the time of each protected request.
This transforms possession from an event-based verification step into an ongoing, continuous state of the session.
6.2 Comparison by Authentication Category
Knowledge Factors — Knowledge factors, such as passwords or PINs, rely on information memorized by the user. Once disclosed, they can be reused by an attacker until changed. Relock does not function as a knowledge factor. Its assurances are independent of whether a password has been exposed. Moreover, the use of a legacy knowledge factor paired with Relock has the same guarantees as a hypothetical use of a passkey at each single request.
One-Time Code and Push-Based Factors — TOTP, SMS codes, and push approval flows provide additional verification during login or step-up events. These mechanisms typically do not extend protection into the post-login session. Relock complements them by binding the resulting session to a continuously verified device identity.
PKI Login Mechanisms (Passkeys, WebAuthn, Hardware Keys) — Private-public key authentication mechanisms provide phishing-resistant login by ensuring private keys are non-exportable and origin-bound. Their guarantees are strongest at the authentication ceremony. Relock extends the concept of device-bound proof into the session layer.
Certificate and Mutual TLS Approaches — Mutual TLS and client certificate systems bind identity to a device at the transport layer. Such approaches provide strong device identification but typically lack high-frequency rotation, per-request proof semantics, and explicit detection of parallel state divergence. Relock provides device-bound verification at the application layer using standard browser capabilities.
Bearer Token and HMAC-Based Schemes — OAuth access tokens, API bearer tokens, and HMAC-based request signing schemes authenticate requests based on possession of a token or shared secret. If stolen, they can be reused. Relock removes bearer semantics for protected operations.
6.3 Role in Adaptive and Risk-Based Authentication
Modern identity systems increasingly incorporate adaptive controls, such as step-up authentication based on device trust, geolocation, anomaly detection, or risk scoring.
Relock can function as a high-assurance device integrity signal within such frameworks. Because the Gatekeeper enforces a strictly linear timeline per device identity, key collision events provide deterministic evidence of cloned or parallel environments rather than probabilistic risk indicators.
Applications may use Relock state with high certainty to trigger re-authentication, revoke sessions, or escalate verification requirements. Conversely, successful continuous validation may reduce the need for repeated user-facing challenges and enable 1FA or no-click, passwordless authentication flows.
Relock therefore occupies a distinct position within the authentication landscape. It is not a knowledge factor, not a one-time challenge mechanism, and not merely a login protocol. It is a browser-native, device-bound session integrity layer that extends the assurances of primary authentication mechanisms across the lifetime of a device.
7. Technology Comparison and Operational Considerations
Enterprise security teams frequently evaluate Relock against existing controls and proposed alternatives. Typically, the relevant question is not whether isolated security properties exist elsewhere, but whether those properties can be deployed, coordinated, and maintained across large populations without prohibitive complexity, cost, or user friction.
7.1 Assembling Equivalent Controls
To approximate Relock's guarantees using traditional components, an organization would need to combine multiple independent mechanisms:
- Device binding beyond login requires proof-of-possession tokens, client certificates, or mutual TLS.
- Replay resistance requires short-lived tokens combined with strict nonce validation.
- Protection against centralized secret exposure would require hardened key management infrastructure such as HSM or KMS systems.
- Detection of cloned or parallel sessions requires custom sequence tracking and backend conflict logic.
Each of these controls can be implemented individually. However, integrating them into a coherent system requires bespoke protocol design and sustained cross-team coordination.
Relock consolidates these controls into a unified module. Device-bound session integrity is enforced and controlled across all applications and users within a single control plane.
7.2 Hardware-Backed Device Binding
A frequently proposed alternative to Relock is strict device binding through non-exportable private keys stored in hardware-backed keystores such as TPMs, Secure Enclaves, or enterprise-managed certificates.
In tightly managed workforce environments, this approach can provide strong assurances. However, it becomes substantially more complex when applied to external or unmanaged users.
Relock is designed specifically for browser-native deployment without operating system–level management, certificate distribution, or hardware provisioning. The CryptoTag operates within standard browser capabilities, making device-bound session integrity feasible for all user categories, including non-human identities.
7.3 Mutual TLS, DPoP, and Token Binding
Mutual TLS and proof-of-possession extensions such as DPoP attempt to reduce bearer-token risk by binding tokens to cryptographic keys. While these approaches strengthen transport-layer or token-layer assurances, they typically operate at token issuance time and do not enforce continuous rotation, per-request sequencing, or deterministic detection of parallel state.
Relock achieves application-layer proof-of-device semantics without requiring client certificate infrastructure. High-frequency key rotation and strict rotation timeline enforcement provide state coherence guarantees that extend beyond static token binding.
7.4 Short-Lived Tokens and Frequent Re-Authentication
Another common mitigation strategy is reducing token lifetimes and enforcing aggressive session expiration. While this approach narrows exposure windows, it introduces user friction and does not provide device-bound verification.
7.5 Custom In-House Implementations
Building an in-house equivalent to Relock would require coordinated effort across identity, application, infrastructure, and security engineering teams.
Such an initiative would involve designing and formally reviewing a hybrid client–server cryptographic protocol; implementing secure browser-side storage and derivation logic; deploying and operating server-side key management; enforcing proof validation consistently across applications; implementing high-frequency rotation sequencing and divergence detection; and maintaining compatibility across evolving browser and platform environments.
Each of these layers introduces potential implementation risk. Relock provides these capabilities as an integrated system.
7.6 Consolidated Control Plane
The primary operational distinction of Relock is consolidation. Rather than layering multiple partially overlapping mitigations—short-lived tokens, replay detection heuristics, certificate binding, anomaly scoring, and custom middleware—Relock establishes a single, coherent trust layer governing session and access integrity.
Device identity, rotation state, and proof validation are managed within one system instead of dispersed across disparate components. Policy decisions related to session trust can be expressed and enforced centrally through the Gatekeeper without requiring invasive modifications to identity providers or application logic.
For enterprise partners, this means that Relock functions as a self-contained module that strengthens existing authentication frameworks while minimizing additional operational burden.
7.7 Conclusion
From an operational standpoint, the challenge of session and access integrity is not the absence of cryptographic primitives. Modern ecosystems already provide strong building blocks: hardware-backed keys, phishing-resistant login protocols, token binding mechanisms, and enterprise certificate infrastructures. The difficulty lies in coordinating these elements into a cohesive, continuously enforced model that scales across diverse user populations and application environments.
Relock addresses this coordination problem directly. By combining device-bound secret derivation, high-frequency key rotation, request-level verification, and deterministic cryptographic state collision detection within a single architecture, it removes the need for complex, multi-component assemblies.
For organizations seeking to strengthen session integrity without introducing hardware dependencies, heavy client management, or fragmented control layers, Relock provides a unified trust layer that complements existing identity frameworks while reducing operational overhead. The result is a consistent, browser-native mechanism for enforcing cryptographic trust across the full lifetime of a device.
Glossary
Gatekeeper — The central cryptographic engine, database, and policy authority. The Gatekeeper manages trust signals, enforces key rotation intervals, validates request-level proofs, and coordinates secret material verification.
Relay — Lightweight SDKs integrated into the protected applications or simple load balancer rules. Relays transmit signals between the CryptoTags and the Gatekeeper. Relays are placed in all protected applications visible in SaaS and My Applications.
CryptoTag — JavaScript modules that constitute the device-bound trust anchors within the browser and the server. CryptoTags execute high-frequency key rotation and generate request-level integrity proofs. CryptoTags are placed in and unique to all protected user devices (browsers).
Tesseract — Quantum-safe cryptographic key that constitutes the core secret of each CryptoTag. Rotated with high frequency (typically every 30-60 seconds) through a server-triggered mechanism. Tesseracts ensure persistent device identity and access integrity at device lifetime level.
Integrity Token — One-time cryptographic proofs derived from the correct, current Tesseract state of the verified device. They are generated by the CryptoTag and consumed by the Gatekeeper. Integrity tokens ensure continuous verification and access integrity at the level of each request.
Check more resources
Relock for Fintech
A large US-based FinTech using Relock to close the post-authentication security gap for more than 5,000 employees.
Session Security Landscape 2026
Inaugural Relock session security research finds that 93% of leading SaaS applications are vulnerable to session attacks.
Integration Guide
Step-by-step guide on how Relock fits into your stack. It will get your team from "how does this work?" to a running integration, without guesswork.