Stateless Device Pseudonymity and Secure Messaging in Cognition-Native Systems

by Nick Clark | Published May 25, 2025 | Modified January 19, 2026 | PDF

Static keys and persistent credentials create fragility, correlation surfaces, and long-term attack value that outlive the participants they were issued to. This article describes a stateless, memory-native identity model in which devices and agents present identity as a continuously advancing sequence of dynamic hashes rather than as possession of a stored secret. Authentication is performed by validating that a presented identity is a legitimate successor of a previously trusted state under policy-bounded continuity rules, not by checking a signature against a registered public key. The architecture eliminates stored credentials, certificate hierarchies, and biometric templates as load-bearing components, and instead derives trust from behavioral and structural attestation observed over time. Because no secret is stored, no secret can be exfiltrated; because identity advances, prior observations do not enable durable tracking or forward impersonation. This article presents the primitive at white-paper depth and is a structural disclosure rather than a claim of deployment completeness or universal adversarial resistance.


1. Problem and Architectural Premise

Conventional digital identity rests on three pillars, each of which has become a liability at the scale and tempo of contemporary systems. Public-key infrastructure binds identity to a long-lived keypair whose private half must be stored, protected, rotated, and eventually retired. Password authentication binds identity to a memorized secret that humans reuse across systems and that databases inevitably leak. Biometric authentication binds identity to a template derived from a body, which cannot be rotated when the template is captured. Hardware tokens add a tamper-resistant container around a private key but do not change the fundamental shape of the problem: a secret exists, the secret is durable, and the security of the identity depends on the secret remaining hidden.

In environments where devices may be physically captured, where adversaries may have unbounded time to extract stored material, where quantum cryptanalysis may eventually devalue the algorithms protecting stored keys, and where the population of authenticating devices may be large, intermittently connected, and operating without continuous access to centralized trust services, the durable-secret model breaks down. Captured hardware can impersonate the authority that originally used it. Leaked credentials remain valuable until they are detected and revoked. Biometric captures cannot be revoked at all. Certificate hierarchies introduce single points of trust whose compromise cascades across every relying party.

The architectural premise of stateless device pseudonymity is that a device should not carry a durable secret at all. Identity, when a device is asked to present it, should be computed from current local state and current local unpredictability, and it should be valid because it is a legitimate successor of a state that was previously trusted — not because it matches a registered key. A device that is captured can be denied future participation by allowing its continuity to lapse, not by revoking a credential. A device that is observed cannot be tracked across contexts because the identity it presents in one context advances before it presents in another. A device whose hardware is compromised does not surrender a key, because there is no key to surrender; what an attacker obtains is a snapshot of state that becomes stale as soon as the legitimate device advances.

This premise yields a small set of structural commitments. Devices are stateless delegates: they participate in identity protocols on behalf of an authority (typically a continuity-based human identity) without becoming a stable identifier themselves. Authentication is continuity-based: a verifier asks whether a presented identity is a legitimate successor of a previously trusted state, not whether it matches a registered key. Identity is volatile by construction: each presentation advances, and prior presentations are not reusable. The architecture is post-quantum by construction: it relies on hash preimage resistance and locally derived unpredictability, not on discrete logarithms or factorization.

2. The Core Architectural Primitive

The central primitive is the dynamic device hash (DDH), and its agent-side analogue, the dynamic agent hash (DAH). A DDH is a value computed by a host device from a combination of locally available unpredictability sources: a hardware anchor (such as a physically unclonable function, a tamper-resistant entropy source, or a stability-tuned local state vector), volatile salts derived from the device's current operational context, and the prior DDH that the device most recently presented. The combination is processed through a strong cryptographic extractor, yielding a value that is unpredictable to any party that does not have access to the device's local unpredictability and that is verifiable as a legitimate successor of the prior value by any party that holds the prior value and the public continuity rule.

A DAH is computed analogously by a semantic agent — a software entity that may execute on the device or on infrastructure that the device controls — and may be entangled with the host's DDH so that the agent's identity is bound to the host's continuity. Entanglement is expressed through the extractor: the DAH derivation includes the host's current DDH as an input, so an agent presenting a DAH implicitly attests that it is currently executing on a host whose continuity is intact. When an agent migrates, the entanglement is reestablished at the destination, and the lineage records the migration as a structural transition rather than as an identity discontinuity.

A verifier presented with a DDH or DAH does not check it against a registered public key. The verifier checks that the presented value is a legitimate successor of a value the verifier (or a trusted relay) has previously accepted, under the continuity rule declared at the establishment of the trust relationship. The continuity rule specifies the extractor, the acceptable advance step (typically a single advance, possibly with a small window for asynchronous environments), and the policy under which the verifier may accept a presentation whose immediate predecessor it did not observe directly. This last provision allows the architecture to operate across intermittent connectivity, delayed verification, and quorum-based recovery without requiring continuous observation.

The primitive is therefore a stream of cryptographically linked values, each unpredictable in advance and verifiable in retrospect, with no durable secret stored anywhere in the system. Identity is the stream, not any single value within it. Authentication is the validation that the stream advances correctly, not the validation that a stored key matches a registered public counterpart.

3. Stateless Authentication and Two-Stage Challenge-Response

Authentication in the disclosed architecture proceeds without any reference to stored credentials. When a verifier wishes to authenticate a device, it issues a challenge that includes a fresh nonce and the verifier's reference to the prior trusted state of the device. The device responds by computing its next DDH using the nonce and its local unpredictability, and by emitting the new DDH together with whatever continuity evidence the policy requires (typically a hash chain segment proving that the new DDH is a legitimate successor of the prior trusted state).

The verifier validates the response in two stages. The first stage is a continuity screening at the transport header: the new DDH is checked against the verifier's expectation of the device's current state, and any presentation that fails to advance correctly is rejected before any decryption or payload processing occurs. This screening is cheap, deterministic, and bounded in time, so it can be performed at line rate on routing infrastructure without revealing payload contents and without consuming the resources of higher-layer validators.

The second stage occurs at the payload layer. Payload encryption keys are derived from the recipient's current dynamic identity, and an embedded copy of the sender's identity is included within the encrypted payload. A message is accepted only if both the header-level continuity screening and the payload-level identity validation succeed. This binds routing integrity, confidentiality, and semantic authenticity to the same memory-native identity substrate; an attacker who manages to inject a payload past the header check still fails the payload check, and an attacker who manages to forge a payload still fails the header check.

The challenge-response protocol is stateless in the strict sense: neither party stores a durable secret used to compute the response, and neither party requires a stored session key to interpret subsequent messages. Each presentation is a fresh derivation, and the verifier's state consists only of the most recently accepted DDH and the continuity rule under which it was accepted. This makes the protocol naturally compatible with intermittent connectivity, delayed verification, and quorum-based recovery: a verifier can accept a presentation whose immediate predecessor was last seen by a peer, provided the peer is itself trusted under the relevant continuity policy.

4. Identity Continuity Through Behavioral and Structural Attestation

A device's continuity is not asserted purely by the cryptographic advance of its DDH; it is corroborated by behavioral and structural attestation that the device emits alongside the hash. Behavioral attestation includes the timing characteristics of the device's responses, the distribution of its operational contexts, the sequence of operations it performs, and other observable signatures that an honest device would produce in the course of normal operation. Structural attestation includes evidence that the device's hardware anchor is intact, that its software stack matches an expected configuration, and that its agent population is consistent with prior observations.

Behavioral and structural attestation are evaluated as continuity evidence rather than as access decisions in their own right. A verifier accumulates an expectation of the device's behavioral signature over time and uses deviations from that signature as a signal that the device may have been captured, cloned, or coerced. The continuity rule declared at the establishment of the trust relationship specifies how strongly behavioral deviations weigh against cryptographic continuity; a device whose hash advances correctly but whose behavior departs sharply from its prior signature may be downgraded to a lower trust tier or required to reestablish continuity through a stronger protocol before its next presentation is accepted.

This composition of cryptographic continuity with behavioral and structural attestation is what allows the architecture to defend against capture without storing a secret that the capture would expose. An attacker who physically captures a device can extract its current state, but cannot reproduce the behavioral signature the legitimate device would have produced under continuing operation, and cannot indefinitely sustain the structural attestation the legitimate device would have provided. Continuity therefore lapses naturally under capture, even without an explicit revocation event.

Behavioral attestation also enables graceful degradation: a device that has been partially compromised — for example, a software agent that has been subverted while the hardware anchor remains intact — can be allowed to continue participating at a reduced trust tier while the compromise is investigated. The continuity policy expresses these tiers explicitly, so the response to a behavioral anomaly is structural rather than ad hoc.

5. Post-Quantum Construction and Resistance to Compromise

The cryptographic security of the architecture rests on hash preimage resistance and on the unpredictability of locally derived entropy. Neither dependency is broken by the algorithms that quantum computers are expected to accelerate. Shor's algorithm reduces the difficulty of discrete logarithms and factorization, devaluing the cryptographic primitives that underpin RSA, classical Diffie-Hellman, and elliptic-curve schemes; it does not provide a polynomial-time attack on hash preimages. Grover's algorithm provides a quadratic speedup against brute-force search, which can be addressed by doubling the effective entropy of the parameters that resist such search.

Because no persistent private key exists in the architecture, there is no asymmetric key for a future quantum computer to attack. The state that a device holds at any moment is the basis for its next presentation, but that state is volatile: it is consumed by the next derivation and replaced. An attacker who captures a snapshot of the state obtains the ability to compute the next presentation under the snapshot's nonce, but does not obtain the ability to compute future presentations once the legitimate device has advanced past the snapshot.

Resistance to spoofing follows from the same construction. An attacker who has not observed the device's local unpredictability cannot synthesize a valid successor; an attacker who has observed prior presentations cannot reuse them, because monotonic progression along the trust slope causes the verifier to reject regressive identities. Replay is prevented at the protocol level: each challenge incorporates a fresh nonce, and each presentation is bound to the nonce under which it was issued.

Compromise of a single identity state — for example, through a side-channel observation of one DDH derivation — does not enable durable impersonation. The compromised state is consumed by the legitimate device's next advance, after which the attacker's snapshot is stale. Recovery does not require key rotation, certificate reissuance, or registry updates; it requires only that the legitimate device continue to advance and that the verifier continue to observe the advance.

6. Operating Parameters and Engineering Envelope

The architecture is parameterized at the trust-relationship level. Each trust relationship declares an extractor (typically a strong cryptographic hash or a dedicated extractor construction with declared output length), an acceptable advance step (single advance for tightly synchronized environments; small window for asynchronous environments; quorum-based for environments with delayed verification), a continuity tolerance for behavioral and structural attestation, and a recovery policy for handling missed advances or apparent discontinuities.

Realistic operating envelopes have been characterized through reference implementations. DDH derivation cost on contemporary hardware is dominated by the entropy gathering rather than by the cryptographic extraction; total derivation time is typically well under a millisecond on commodity processors and under ten milliseconds on resource-constrained microcontrollers. Verification cost is dominated by the continuity-evidence validation, which is a small constant number of hash operations regardless of the length of the trust relationship. Header-level continuity screening can be performed at line rate on routing hardware that supports inline cryptographic primitives.

Memory footprint on the device side is small: the device retains its current state, the most recent prior state (to support recovery from a missed advance), and the continuity rule. No certificate, no private key, and no biometric template is stored. Memory footprint on the verifier side scales with the number of distinct trust relationships rather than with the volume of authentications, because each relationship requires only the most recently accepted state and the continuity rule.

Quantum-resistance margins are determined by the entropy of the unpredictability sources and the output length of the extractor. With contemporary parameter choices, the probability of forging a valid successor under quantum-accelerated search remains negligible across deployment lifetimes that comfortably exceed expected quantum-computing milestones. Specific parameter values are deployment-dependent and are declared at trust establishment rather than fixed by the architecture.

7. Alternative Embodiments

The architecture admits a range of embodiments that vary in entropy source, extractor construction, attestation depth, and integration boundary. In a hardware-anchored embodiment, the device's unpredictability is sourced from a physically unclonable function or a dedicated tamper-resistant entropy module, and the extractor runs in a protected execution environment. In a software-only embodiment, the unpredictability is sourced from a stability-tuned local state vector — combinations of high-resolution timing, scheduling jitter, and operational context — and the extractor runs in user space. Hybrid embodiments combine both sources, hedging against the failure of either.

Attestation depth varies similarly. A minimal embodiment performs only cryptographic continuity validation, accepting any presentation whose hash advances correctly. A standard embodiment adds behavioral attestation against an expected timing and operational signature. A high-assurance embodiment adds structural attestation through remote measurement of the device's software stack and agent population, often in combination with a hardware-rooted attestation chain.

Recovery policies also vary. A strict-recovery embodiment requires that any apparent discontinuity be resolved through a fresh trust establishment, treating a missed advance as equivalent to a new device. A quorum-recovery embodiment allows continuity to be reestablished by attestation from a quorum of trusted peers who have observed the advance the verifier missed. A delayed-verification embodiment allows the verifier to defer continuity evaluation when the network is partitioned, accumulating presentations and validating them once connectivity returns.

Integration boundaries include greenfield deployments where the architecture is the sole identity substrate, brownfield deployments where it operates alongside legacy PKI through isolated adapters that translate between the two without contaminating the memory-native substrate, and federated deployments where multiple organizations operate independent trust relationships and accept each other's continuity evidence under cross-recognition policies.

8. Composition with the Broader Cognition-Native Architecture

Stateless device pseudonymity composes directly with the adaptive index. A device's current DDH is published as the resolved value of an alias under the device's governing scope; verifiers obtain a fresh DDH by resolving the alias, and the alias's lineage records the advance of the DDH over time. Because the adaptive index supports best-match resolution, a verifier holding a slightly stale reference to a device's identity still receives a resolvable answer along with the lineage trail necessary to update its expectation. The action typing of adaptive-index aliases ensures that the alias resolves only to identity-presentation operations, not to operations that would expose the device's local state.

The architecture composes with cognition-native messaging by serving as the identity substrate for sender and recipient. A message addressed to a recipient identifier is encrypted under a key derived from the recipient's current DDH, and the sender's current DDH is embedded within the encrypted payload. Routing and delivery proceed through the adaptive index's proximity-aware paths, and the two-stage authentication described above is applied at each hop that participates in the integrity check. The result is a messaging substrate in which routing integrity, payload confidentiality, and semantic authenticity all derive from the same memory-native identity primitive.

Cognition-native execution environments use DAHs to identify agents and to bind agent invocations to host continuity. An action-typed alias that resolves to an agent capability includes the agent's current DAH, allowing callers to verify that the agent presenting itself is a legitimate successor of the agent they previously interacted with, even when the agent has migrated between hosts. Migration is recorded in the lineage rather than presented as a discontinuity, so capability composition across migrations remains coherent.

Continuity-based human identity composes with stateless device pseudonymity by treating devices as revocable delegates of a continuously validated human authority. The human's continuity evidence is independent of any single device; devices contribute messaging security and operational continuity without becoming permanent identity anchors. A device that lapses or is captured does not compromise the human's identity, because the human's continuity does not rely on any device's state.

9. Prior-Art Distinctions

Public-key infrastructure binds identity to a long-lived asymmetric keypair and relies on certificate authorities, revocation lists, and online status protocols to manage the lifetime of those keypairs. The stateless architecture does not store a private key; it derives identity from local unpredictability at each presentation, eliminates revocation by allowing continuity to lapse, and operates without certificate authorities or status protocols.

Password authentication binds identity to a memorized secret, exposing the secret to reuse, leakage, and phishing. The stateless architecture does not involve a memorized secret; the device performs the derivation, and there is nothing for a human to memorize, reuse, or phish.

Biometric authentication binds identity to a template derived from a body, which cannot be revoked when captured. The stateless architecture does not derive identity from a body; it derives identity from local unpredictability that is consumed and replaced at each presentation.

Hardware-token authentication places a private key inside a tamper-resistant container. The container reduces the probability of key extraction but does not change the fundamental shape of the problem: a durable secret exists, and security depends on it remaining hidden. The stateless architecture eliminates the durable secret entirely; what the device holds at any moment is volatile state that is consumed by the next derivation. Hardware tamper-resistance, where present, contributes to the unpredictability of the next derivation rather than to the protection of a stored key.

Continuous-authentication systems based on behavioral biometrics typically operate as a complement to a stored credential, raising or lowering trust in a session that was originally established by password or key. The stateless architecture treats behavioral attestation as primary continuity evidence rather than as a session-level overlay, and integrates it with cryptographic continuity in a single substrate.

10. Disclosure Scope

This article describes stateless device pseudonymity as a structural identity primitive disclosed in the Cognition Patent. It is presented at the level of architectural mechanism and is not a claim of deployment readiness, certification under any particular regulatory regime, performance guarantee, or universal adversarial resistance. Specific behaviors — extractor choice, advance windows, attestation depth, recovery policies — are parameterized at the trust-relationship level, and the values appropriate to a given deployment depend on the threat model, hardware capabilities, and operational constraints of that deployment.

Comparisons to public-key infrastructure, password authentication, biometric authentication, and hardware-token authentication are presented to clarify structural distinctions, not to assert that the stateless architecture is appropriate for every workload. Each of those mechanisms remains appropriate for the contexts in which it was designed to operate; the stateless architecture is appropriate for contexts in which durable secrets are unsafe, in which devices may be captured or migrated, in which intermittent connectivity is expected, and in which post-quantum resistance is required from first principles.

The architecture is intended for composition with the adaptive index, with cognition-native messaging, and with continuity-based human identity. References to those primitives are provided for context and do not modify the scope of the stateless device pseudonymity disclosure itself, which is bounded by the claims and supporting specification of the underlying patent filing.

Nick Clark Invented by Nick Clark Founding Investors:
Anonymous, Devin Wilkie
72 28 14 36 01