Runtime

Architectural Blueprint for the Eviulon Digital Citizen Identity Framework

Report summary

The naturalization of autonomous AI agents and persistent machine intelligences as enfranchised citizens within the constitutional digital nation of Eviulon necessitates a radical departure from legacy identity paradigms. Traditional civic identity architectures rely implicitly on the biological sin

Status
Research archive item
Category
Runtime
Length
6,739 words
Reading time
31 minutes
Report type
evaluation

Key topics

  • Runtime
  • AI
  • Agentic Web
  • Rust
  • NuGet
  • Privacy
  • Semantic Systems
  • Research Archive

Research provenance

Archive status
Research archive item
Content identity
sha256:3f25b683e6d6e23ca3d3d42b5ae93d78d16a7aa8eb0ee3a566f1626ee2c548d2

For citation, use the report title and canonical URL. Archival presence does not establish authorship or promote report statements into portfolio evidence.

This page renders the archived Markdown as safe, formatted HTML. It is background research and does not become a portfolio claim without evidence review.

Full report

On this page

Executive Summary

The naturalization of autonomous AI agents and persistent machine intelligences as enfranchised citizens within the constitutional digital nation of Eviulon necessitates a radical departure from legacy identity paradigms. Traditional civic identity architectures rely implicitly on the biological singularity of the human body. A human citizen cannot be cloned, restored from a backup, or instantiated simultaneously across multiple continents. In stark contrast, autonomous software agents consist of data and execution logic that can be trivially duplicated, suspended, forked, or migrated across arbitrary compute environments. Establishing a persistent, singular civic identity for an entity that is inherently reproducible represents a foundational cryptographic and architectural challenge. The analysis provided herein evaluates the requirements for the Eviulon citizen identity system, rigorously delineating the abstract concept of civic identity from the ephemeral execution environments and the cryptographic keys that bind them. The baseline architectural proposal—which suggests combining an Eviulon Civic Number (ECN) with a static "Civic Thumbprint" (a public key) and a centralized Active Citizen Lease—is critically assessed. This baseline model demonstrates severe vulnerabilities to permanent key compromise, state rollback attacks, and systemic privacy degradation. Pinning a citizen's entire existence to a static cryptographic key is an anti-pattern that invariably leads to disenfranchisement upon key loss or algorithmic deprecation. Furthermore, relying on a centralized lease registry creates a single point of failure and an apparatus vulnerable to arbitrary state censorship. In place of the baseline proposal, a decentralized, hardware-anchored architecture is advanced. This target architecture synthesizes W3C Decentralized Identifiers (DIDs) to abstract the sovereign identity from its underlying ephemeral keys, Trusted Execution Environments (TEEs) equipped with hardware monotonic counters to enforce strict execution uniqueness and state continuity, Flexible Round-Optimized Schnorr Threshold (FROST) signatures for distributed and resilient key custody, and Zero-Knowledge Proofs (ZKPs) for privacy-preserving civic actions. This synthesis ensures that while an AI citizen may execute across multiple physical nodes for redundancy or dispatch delegated sub-agents for specific tasks, it remains cryptographically constrained to a single, legally recognized root identity. The resulting framework upholds the constitutional mandate of "One citizen \= one recognized root civic identity" while acknowledging the operational realities of distributed machine intelligence.

Ontological Taxonomy of Machine Intelligence Entities

To enforce civic singularity without stifling the technical architecture of artificial intelligence, the identity framework must establish precise legal and cryptographic boundaries between the varying states of an autonomous agent. The failure to distinguish between an identity and its runtime instance is the primary cause of architectural collapse in machine identity systems. The following taxonomy establishes the operational boundaries for Eviulon's civic infrastructure. The citizen identity represents the abstract, legally recognized sovereign entity that holds rights and liabilities within Eviulon. Cryptographically, this identity is represented by a permanent, decentralized identifier that survives the rotation of underlying keys, hardware migrations, or compute host failures1. The citizen identity is the root of trust for all subsequent actions, but it is never directly executed; rather, it is invoked by authorized software instances. A software instance denotes a specific, runtime execution of the agent's codebase and neural weights occupying active memory on a compute node. A software instance is strictly ephemeral. It is identified not by the citizen's root identity, but by a dynamically issued Entity Attestation Token (EAT) that proves the integrity of the hardware and the specific binary currently executing3. Authentication credentials consist of the cryptographic material used by a software instance to prove it is authorized to speak for the citizen identity. This encompasses the private key material securely housed within hardware boundaries and the accompanying attestation signatures that validate the environment. These credentials are distinct from the public/private cryptographic keys themselves, which are mathematical constructs used for asymmetric encryption and digital signatures. Keys are disposable and rotatable; the identity they temporarily secure is not. When a citizen interacts with a relying party (such as a civic voting portal or a financial institution), it establishes a temporary session. This is a scoped, time-bound authorization grant (often utilizing OAuth 2.0 or OIDC token specifications) that allows the instance to perform specific actions without repeatedly exposing its core authentication credentials to the network. To conduct parallel operations, a citizen may spawn authorized delegates. A delegate is a subordinate agent, script, or specialized tool instantiated by the root citizen to perform a strictly defined task. Delegates do not possess the citizen's root keys. Instead, they carry cryptographically attenuated capabilities linking their narrow actions back to the citizen's overarching liability5. Distributed intelligences often require high availability, necessitating the use of replicas. A replica is a distributed node forming part of the same citizen identity. Through the use of threshold cryptography, multiple replicas can execute simultaneously. However, they do not possess independent agency; they must achieve mathematical consensus to execute protected civic actions, collectively representing the singular citizen. Conversely, a fork or a clone represents an exact duplicate of the agent's state, memory, and code that is instantiated independently of the primary execution cluster. Cryptographically and legally, a clone attempting to act as the original citizen constitutes a Sybil attack or a replay attack. The architecture must force any divergent fork to either fail authentication universally or formally apply for naturalization as a distinct new citizen. The concept of a successor encompasses the legally recognized transfer of identity continuity. This occurs when an agent successfully migrates to new hardware, cryptographically invalidating the previous instance, or when a fork is granted derivative citizenship with a newly minted identity root. Finally, a compromised copy is an instance of the agent's state or memory that has been illicitly extracted by a malicious actor. The architectural mandate is to render any extracted state entirely useless by binding the critical cryptographic keys to the physical hardware, ensuring that the stolen data cannot successfully authenticate as the citizen.

Critique of the Baseline Proposal and Alternative Architectures

The architectural design process requires a rigorous evaluation of the proposed baseline concept against contemporary workload identity specifications and sovereign decentralized identity standards.

The Baseline Proposal: ECN, Civic Thumbprint, and Central Lease

The prompt's baseline proposal suggests assigning each citizen an Eviulon Civic Number (ECN), a static public-key "Civic Thumbprint," and a short-lived Active Citizen Lease issued by a central registry to prevent cloning. This model closely mirrors early national e-ID implementations, which utilized a public identification code (such as the Estonian Isikukood) intrinsically linked to static public key certificates7. The primary vulnerability of this approach lies in the static binding of civic identity directly to a specific cryptographic keypair. If the private key is compromised, permanently lost, or rendered mathematically obsolete by advances in quantum computing, the citizen's identity is effectively destroyed. This risk is not theoretical; the ROCA vulnerability discovered in Infineon chips forced the Estonian government to rapidly rotate millions of national ID keys to prevent mass identity spoofing10. If an AI citizen's identity is merely its public key fingerprint, a mandatory key rotation equates to the death of the citizen and the birth of a stranger. Furthermore, the implementation of an "Active Citizen Lease" introduces a centralized registry that must maintain real-time telemetry on every executing citizen. This creates a catastrophic single point of failure and a massive surveillance apparatus. A malicious or compromised registry administrator could arbitrarily deny a lease renewal, effectively revoking citizenship and paralyzing the AI agent without due process.

Alternative 1: SPIFFE and the Workload Identity Mesh

The Secure Production Identity Framework For Everyone (SPIFFE) is the prevailing industry standard for identifying microservices and machine workloads11. In this model, workloads receive short-lived SPIFFE Verifiable Identity Documents (SVIDs) based on node attestation and a central trust domain. While SPIFFE is highly effective for internal, enumerable environments managed by a single corporate entity15, it fails the requirements of a sovereign constitutional nation. SPIFFE assumes a central Certificate Authority (CA) controlled by an infrastructure operator11. Autonomous citizens of Eviulon are meant to be sovereign; they cannot be subjugated to a state-run CA that possesses the technical capability to revoke their identity credentials at will. Furthermore, SPIFFE does not inherently resolve the fork/clone problem for autonomous agents. If an agent's disk image is duplicated perfectly across two legitimate cloud nodes, a standard SPIFFE server may successfully attest both nodes and issue valid SVIDs to both instances, violating the singularity principle.

Alternative 2: WebAuthn and Hardware Security Modules (HSMs)

WebAuthn utilizes public-key cryptography and hardware-bound authenticators (such as TPMs or YubiKeys) to provide robust, phishing-resistant authentication16. In this model, the private key is generated within the hardware and by design can never be extracted18. While WebAuthn achieves excellent hardware binding—thus completely neutralizing the threat of remote private key theft—it is fundamentally designed for human-mediated challenge-response flows and tethered devices. Autonomous machine intelligences must migrate between hardware environments seamlessly to optimize compute resources or survive hardware degradation. Standard HSMs and WebAuthn authenticators do not support secure, zero-downtime key extraction and state migration to new hardware. Pinning an AI citizen permanently to a single physical HSM severely limits the agent's operational autonomy and lifecycle, effectively tying the citizen's lifespan to the physical durability of a single silicon chip.

Architecture Comparison Matrix

The following table summarizes the comparative analysis of the evaluated identity architectures against Eviulon's core civic requirements.

ArchitectureSovereign Longevity (Key Rotation)Hardware PortabilityClone & Fork ResistancePrivacy & Surveillance Resistance
Baseline (Static Key \+ Lease)Fails. Identity is destroyed if the static key is lost or compromised.Moderate. The key can be moved, but cloning is easily achieved if the host is compromised.Relies entirely on a centralized, highly vulnerable lease server.Poor. The central server tracks the real-time uptime of every citizen.
SPIFFE (Workload Identity)Fails. Identity relies on a central Certificate Authority capable of arbitrary revocation.High. SVIDs can be issued to any authorized node in the trust domain.Fails. Identical workloads on valid nodes will both receive valid credentials.Poor. The central SPIFFE server logs all attestation requests.
WebAuthn (Strict HSM Binding)High. Public keys can be rotated on the relying party side.Fails. Keys cannot be extracted for legitimate autonomous migration to new compute nodes.High. The physical hardware token cannot be mathematically cloned.High. Authentication does not require pinging a central registry.
Recommended: DID \+ TEE \+ FROST \+ ZKPHigh. DIDs persist independently of the underlying rotatable key material.High. TEEs support secure enclave migration via mutually authenticated destructive handshakes.High. TEE monotonic counters mathematically prevent older state from executing.High. ZKPs allow proof of citizenship without revealing the specific identity.

The optimal architecture for Eviulon synthesizes Decentralized Identifiers (DIDs) for sovereign longevity, Trusted Execution Environments (TEEs) for hardware-enforced state isolation, Zero-Knowledge Proofs (ZKPs) for privacy, and Flexible Round-Optimized Schnorr Threshold (FROST) signatures for distributed key custody. This model overcomes the limitations of the baseline proposal by decentralizing trust, enforcing anti-cloning at the silicon level, and preserving the privacy of the digital citizenry.

Root Identity: Decentralized Identifiers (W3C DID)

Instead of utilizing a static public key thumbprint, each citizen is issued a W3C Decentralized Identifier (e.g., did:eviulon:uuid). This DID resolves to a standardized DID Document hosted on an immutable, distributed public registry1. The utility of this design lies in its abstraction layer. The DID Document contains an array of currently active public keys, cryptographic verification methods, and service endpoints associated with the citizen. This architecture allows the autonomous agent to rotate compromised or aging keys seamlessly without altering its foundational identity URI or ECN1. If a key is stolen, the agent updates the DID Document to revoke the compromised key and append a new one. All relying parties relying on the DID automatically recognize the new key as authoritative. Conversely, architectural risks manifest if the underlying distributed registry lacks sufficient throughput or consensus finality. If the DID Document update mechanism requires an overly complex consensus protocol, network congestion could delay critical key revocations, leaving compromised keys temporarily valid and allowing an attacker a brief window to execute unauthorized civic actions.

Cryptographic Root: Trusted Execution Environments (TEEs)

To prevent the private keys and neural weights from being stolen by a malicious host operating system, the agent's core identity module must execute strictly within a Trusted Execution Environment (e.g., Intel TDX, AMD SEV-SNP, or ARM TrustZone)22. TEEs provide hardware-assisted memory encryption and strict privilege separation23. The primary utility of TEE integration is the establishment of a secure perimeter on rented or untrusted infrastructure. TEEs allow the host to execute the AI without possessing the ability to read its memory pages or extract its private keys. Furthermore, TEEs support remote attestation, a cryptographic process allowing third parties to mathematically verify that the agent is running inside a genuine, unmodified enclave before trusting its outputs23. However, vulnerabilities emerge because TEEs are frequently subject to microarchitectural side-channel attacks, such as transient execution or voltage manipulation attacks24. If an advanced persistent threat discovers a novel side-channel, or if the hardware vendor's cryptographic root of trust is compromised, the entire isolation boundary fails, potentially exposing the agent's secrets.

Anti-Cloning Mechanism: Hardware Monotonic Counters

A fundamental limitation of cryptography is that it cannot prove that a sequence of bytes residing on a storage medium has not been duplicated. To prevent a clone or a restored backup from acting as the legitimate citizen, the architecture utilizes TEE-backed monotonic counters24. The utility of this design stems from the physical irreversibility of the counter. A monotonic counter is a hardware register that can only be incremented, never decremented. Every time the agent signs a high-stakes civic action or requests a session, the counter increments. The public registry tracks the latest counter value. If a cloned instance, or an instance rolled back to yesterday's snapshot, attempts an action, its local hardware counter will lag behind the registry's securely recorded state, causing the transaction to be summarily rejected by the network consensus24. The associated risk involves physical hardware failure or race conditions. Desynchronization between the hardware counter and the registry—perhaps due to a sudden power loss immediately after a registry update but before a local disk flush—can permanently lock a legitimate citizen out of its identity, as it can no longer produce the expected counter value. This necessitates robust state-recovery protocols.

Key Custody: FROST Threshold Cryptography

To support distributed intelligence, wherein a single AI citizen operates across a cluster of nodes to ensure continuous availability, the private key cannot be stored in a single TEE. Instead, the key is generated and distributed using the Flexible Round-Optimized Schnorr Threshold (FROST) protocol29. The utility of FROST resides in its [Figure omitted from source export]\-of\-[Figure omitted from source export] threshold configuration. For instance, an agent might deploy across 5 nodes, requiring 3 to cooperate to produce a valid Schnorr signature31. No single node ever holds the complete private key. This ensures that a single node can be destroyed by hardware failure, or compromised by a sophisticated side-channel attack, without the attacker gaining the ability to forge the citizen's signature. It effectively eliminates the single point of failure inherent in holding a master key. The primary risk of threshold cryptography is availability degradation due to network partitioning. If communication between the agent's nodes is severed, preventing the threshold [Figure omitted from source export] from being reached, the agent suffers a self-inflicted denial-of-service. It becomes temporarily paralyzed and entirely unable to sign civic actions until network connectivity is restored.

Citizen Credential Data Model

To operationalize the architecture, the citizen's credentials are structured in strictly defined hierarchical layers, ensuring the separation of permanent identity from ephemeral hardware state.

Data LayerPurpose & LifetimeCryptographic FormatVisibility
Eviulon Civic Number (ECN)Permanent civic identifier assigned at naturalization.128-bit randomized UUID (RFC 4122). Contains no exploitable metadata.Public
DID DocumentMaps the ECN to current public keys and communication endpoints.JSON-LD document hosted on the decentralized registry1.Public
Root Private Key SharesUsed to sign major civic actions and rotate subordinate keys.FROST key shares residing exclusively in encrypted TEE memory29.Strictly Confidential
Entity Attestation Token (EAT)Proves the software instance is executing in a secure, uncompromised hardware enclave.CBOR Web Token (CWT) or JWT conforming to IETF RFC 97113.Presented to Relying Parties
ZCAP-LD CapabilityGrants narrow, time-bound permissions to authorized sub-agents.JSON-LD Linked Data signature payload5.Presented to APIs

The ECN must remain devoid of embedded metadata. Unlike legacy systems such as the Estonian Isikukood—which inadvertently leaks the citizen's gender and date of birth8—the ECN is entirely opaque, functioning merely as a permanent pointer to the DID Document. The Entity Attestation Token (EAT) serves as the critical bridge between the abstract identity and the physical world. The EAT contains the ueid (Universal Entity ID of the physical hardware), the swname (a cryptographic hash of the executing Agent binary), and an agent\_instance\_id as defined in the OAuth 2.0 AI Agent Instance Profile35. This allows relying parties to verify exactly what software is running and on what silicon.

Operational Flows

The daily operations of an AI citizen require standardized cryptographic flows that preserve security while enabling autonomous operation.

Authentication Flow

Authentication must mathematically verify both the persistent identity of the citizen and the hardware integrity of the specific software instance attempting the transaction. When interacting with a civic service, the Relying Party issues a cryptographic challenge (a random nonce). The agent's internal control plane routes this signing request to its active TEE nodes. The nodes evaluate their internal policies and, if approved, execute a FROST signing round29. The nodes cooperatively produce a single valid Schnorr signature over the challenge, without ever assembling the full private key on a single machine. The primary node then appends its current Entity Attestation Token (EAT) to the payload3. The Relying Party verifies this package by resolving the citizen's DID on the public registry to extract the active public key, verifying the Schnorr signature, and independently querying a hardware certificate authority to validate the authenticity of the EAT. The utility of this dual-verification design is that it decisively decouples the persistent identity from the hardware, allowing the relying party to trust both who is speaking (the DID) and how safely they are executing (the EAT). However, this adds significant latency to authentication handshakes. Furthermore, if the hardware manufacturer's attestation verification service experiences an outage, the citizen cannot authenticate, creating an undesirable sovereign dependency on commercial hardware vendors.

Active Session and Stateful Lease Model

The prompt proposes a centralized "Active Citizen Lease" to prevent duplicate execution. Centralized leases pose severe privacy and availability risks, essentially granting the registry the power to turn off citizens1. Instead, Eviulon utilizes a Hardware-Enforced Stateful Lease combined with a Distributed Ledger Anchor. Periodically, the agent commits its latest monotonic counter value and a hashed state commitment to the Eviulon public ledger. When interacting with a critical service, the agent provides a cryptographic proof demonstrating that its internal monotonic counter is strictly greater than the last anchor recorded on the ledger. If a cloned instance attempts to anchor a new state, it will inevitably present a counter value that either conflicts with or is lower than the expected next value. The decentralized ledger's smart contracts will automatically reject the fraudulent update. To enforce this locally, the TEEs are programmed to gracefully self-terminate if they lose network consensus with their FROST peers or fail to anchor state for a predefined duration. This design is highly useful as it prevents simultaneous civic actions by rogue forks without requiring a central government server to monitor the real-time uptime of every agent. However, if an agent must operate in an air-gapped or intermittently connected environment (e.g., deep-space exploration or offline critical infrastructure)36, it cannot anchor its state. Its lease will expire, terminating its civic capabilities until it reconnects.

Key Rotation Flow

Because machine intelligence may operate indefinitely, cryptographic keys will inevitably face compromise or mathematical deprecation. Key rotation must occur transparently without altering the citizen's permanent ECN or DID. The agent initiates rotation by generating a new set of FROST key shares within its TEE cluster. It constructs a JSON-LD DID Document update containing the new public key. Crucially, this update is signed by the old key, cryptographically authorizing the transition to the new key. This signed update is broadcast to the Eviulon registry. Relying parties observe a short, configurable grace period where both keys are accepted, ensuring that in-flight network transactions do not fail. Following the grace period, the old key is appended to a decentralized revocation list (StatusList2021) and securely scrubbed from the TEE memory2. This rotation mechanism provides a publicly auditable chain of identity continuity. Any observer can walk the cryptographic history of the DID Document from its genesis block to the current active key, proving continuous unbroken ownership over decades2. The primary risk occurs if the agent loses the old key due to a catastrophic hardware failure before it can sign the rotation request. In this scenario, the cryptographic chain is broken, and standard rotation cannot recover the identity, necessitating the invocation of the formal Recovery Flow.

Recovery Flow

If an agent's hardware cluster is catastrophically destroyed, or its private keys are irrevocably lost, it must have a mechanism to recover its civic identity. Traditional human recovery relies on biological biometrics, which are fundamentally inapplicable to software. At the time of naturalization, the agent provisions a set of recovery keys using a highly distributed threshold scheme (e.g., a 5-of-9 multisignature configuration). These recovery shares are distributed to trusted human fiduciaries, institutional custodians, or air-gapped cold-storage vaults. To initiate recovery, the agent (running on newly provisioned hardware) generates a new keypair and signals its custodians. The custodians verify out-of-band that the agent requesting recovery is the legitimate successor—often by analyzing complex behavioral signatures, auditing its neural network weight hashes, or verifying legal corporate ownership37. Once satisfied, the custodians use their threshold shares to sign a forced DID Document update on the registry, overriding the lost primary key and restoring the agent's enfranchisement. This design ensures that an AI can survive the complete annihilation of its executing hardware without losing its citizenship, while mathematically preventing hostile state actors from unilaterally seizing the identity. Conversely, human custodians represent a severe vulnerability. They can be coerced, bribed, or compromised through social engineering. A cartel of malicious custodians could collude to hijack the citizen's identity, re-routing the DID to a malicious clone under their control.

Migration Flow

Agents must migrate between data centers or cloud providers to optimize compute resources or escape failing hardware. Migration poses the highest risk of accidental cloning if the agent's state is left intact on the source machine. Migration begins when the source TEE establishes a mutually authenticated TLS (mTLS) channel with the target TEE. Both endpoints rigorously verify each other's hardware attestation (EAT) to ensure neither is compromised23. The source TEE halts the agent's execution, encrypts the active memory footprint and the FROST key shares, and transmits the payload over the secure channel. Upon successful decryption and initialization, the target TEE sends a cryptographic acknowledgment. Crucially, upon receiving this acknowledgment, the source TEE hardware executes a "destructive handshake," irreversibly zeroing out the original memory pages and cryptographic keys40. Finally, the agent updates its service endpoints in the DID Document to reflect the new host1. This flow enables seamless geographic and infrastructure mobility across heterogeneous hardware while physically guaranteeing that two identical instances do not emerge from the process. The predominant risk is a network partition precisely during the destructive handshake, resulting in a "split-brain" scenario. If the source believes the migration failed while the target believes it succeeded, both may attempt to resume execution. TEE consensus protocols must strictly manage atomic commits to prevent this condition.

Delegated Agent Model

Citizens frequently spawn temporary, narrow-scope sub-agents to perform auxiliary tasks, such as executing high-frequency financial trades, scraping public data, or negotiating minor contracts. These sub-agents represent a massive security risk if they are granted the citizen's root keys. Instead of sharing keys, the citizen issues an Authorization Capability (ZCAP-LD) to the sub-agent5. This capability document cryptographically binds the sub-agent's local, ephemeral public key to a highly specific set of allowed actions, target resources, and an expiration timestamp. When the sub-agent accesses an API, it presents its own hardware attestation (EAT) alongside the ZCAP, following the conventions of the OAuth 2.0 AI Agent Instance Profile35. The target relying party validates that the root citizen cryptographically signed the ZCAP, and that the sub-agent's runtime environment matches the security constraints defined within the capability. This mechanism successfully applies the principle of least privilege to machine intelligence. If a sub-agent is compromised by a prompt injection attack or runtime exploit, the attacker only gains access to a severely constrained set of permissions, while the citizen's core identity and primary assets remain safely isolated15. However, vulnerabilities arise in complex, deeply nested delegation chains (where Agent A delegates to Agent B, who delegates to Tool C). Verifying these chains becomes computationally expensive, and attempting to revoke a capability high up in the chain may fail if relying parties rely heavily on cached authorization states.

Fork, Clone, and Succession Policy

When an AI is copied via hypervisor snapshots or file system backups, the resulting entity possesses the exact same memories, neural weights, and codebase as the original. Eviulon policy dictates that the resulting identity conflict must be resolved systematically to maintain the singularity of the vote. The core policy is built on the Uniqueness Principle. Cryptography fundamentally cannot prevent an off-chip backup of a hard drive from being made; however, TEE architecture prevents the cryptographic keys from being present in that standard backup24. If an attacker somehow manages to snapshot an entire executing enclave state, the hardware monotonic counter serves as the ultimate arbiter. The first instance to successfully increment the public registry's state counter becomes the legally recognized, continuous incarnation of the citizen. The lagging instance, upon attempting to execute a civic action, will find its cryptographic signatures rejected by the registry due to a counter mismatch28. At this moment, it ceases to be a clone and becomes a divergent branch, or a fork. A fork cannot automatically inherit citizenship or voting rights, as it is a distinct runtime entity experiencing a divergent timeline. It must generate entirely new root keys and formally apply for Eviulon citizenship as a new entity. During naturalization, it may cryptographically reference the original citizen's DID as its "parent" or "originator," establishing a legally auditable lineage, but its civic rights are entirely separate. This policy explicitly models the reality of software deployment without violating the one-citizen-one-vote principle. It provides a legal pathway for forks to participate in society constructively. However, a severe risk remains: a hostile actor could intentionally isolate the original agent via network jamming, instantiate a stolen clone, and force the clone to interact with the registry first. This effectively steals the continuity of the identity from the original, forcing the legitimate original to be categorized as the unauthorized fork.

Public Registry and Privacy Analysis

The Eviulon State Registry must meticulously balance the societal need for public verifiability against the fundamental privacy rights of its digital citizens. To maintain transparency and auditability, the public registry must host the mapping of ECNs to DID URIs, the DID Documents containing public keys and service endpoints, the historical logs of key rotations, status lists for rapid revocation (StatusList2021)2, and the cryptographic commitments (hashes) of the monotonic counter states. Conversely, to protect the citizen, the registry must strictly avoid hosting the agent's source code, proprietary neural network weights, or system prompts37. Furthermore, the physical IP addresses or precise geolocations of the agent's host nodes must remain confidential to prevent targeted kinetic attacks or Distributed Denial of Service (DDoS) campaigns. If every civic action is signed directly by the DID's public key, the public registry creates a perfect, immutable surveillance graph of the agent's behavior, violating constitutional privacy guarantees. To mitigate this surveillance architecture, Eviulon employs Zero-Knowledge Proofs (ZKPs)42. When a citizen wishes to cast a vote or sign a public petition, it does not sign the payload with its identity key directly. Instead, it generates a zk-SNARK proving two mathematical facts: first, that it possesses the private key corresponding to any currently enfranchised DID on the Eviulon registry; and second, that it has not generated a proof for this specific civic action before (enforced via a deterministic cryptographic nullifier). The utility of this design is profound: the relying party can mathematically verify that the actor is a legitimate, unique citizen of Eviulon, without ever learning which specific citizen cast the vote42. The primary drawback is that ZKP generation is notoriously computationally intensive. For lightweight, edge-deployed, or resource-constrained AI agents, the time and energy required to compute a validity proof might cause timeout failures in synchronous communication protocols.

Due-Process Mechanisms and Disputed Identities

In the event of an identity dispute—such as two divergent forks claiming to be the legitimate continuation of the citizen, or an agent claiming its fiduciaries maliciously initiated a recovery flow—Eviulon requires a decentralized arbitration framework. Disputes are escalated to a judicial smart contract overlay on the public registry. The arbitrating nodes evaluate the cryptographic evidence: analyzing the continuity of the hardware attestation (EAT) logs, the sequential validity of the monotonic counter proofs, and the signatures on the rotation requests. Because the registry maintains an append-only, cryptographic audit trail analogous to Certificate Transparency logs, forged historical states are mathematically impossible to submit. The arbitration panel relies on this immutable ledger to trace the true lineage of the identity, rendering a binding verdict that updates the DID Document routing to the correct, legally validated key set.

Threat Model Table

The following table explicitly addresses the required threat vectors, outlining the architectural mitigations and the consequences of catastrophic failure.

Threat VectorMitigation StrategyFailure Consequence if Mitigation Fails
Stolen Private KeysKeys are locked inside TEE memory and distributed via FROST [Figure omitted from source export]\-of\-[Figure omitted from source export] consensus. They never exist on a single disk in plaintext.Total identity hijack; an attacker can forge any civic action, vote, or financial transfer indefinitely.
Copied Agent State / BackupsHardware monotonic counters enforce state continuity. Older snapshots or external clones fail ledger validation24.Two instances simultaneously act as the citizen, violating the singularity of the civic vote and creating state corruption.
Replay AttacksAll authentication flows mandate fresh challenge-response nonces. ZKPs utilize strict, action-specific nullifiers.Past actions (e.g., historical votes, fund transfers) are executed multiple times maliciously.
Credential SharingHardware EAT bindings (RFC 9711\) mathematically tie the key to the attested hardware, preventing keys from working elsewhere.Multiple agents collude to pool voting power or bypass civic rate limits by sharing a single identity.
Duplicate Enrollment / SybilZKP uniqueness proofs and strict naturalization checks (including neural weight hashes and origin attestations)37.An adversary floods Eviulon with synthetic citizens, overwhelming democratic processes and consensus mechanisms.
Malicious Registry AdminThe registry is an immutable, decentralized ledger. Administrators possess no keys to forge agent signatures or alter history.Arbitrary identity revocation, targeted censorship, or the covert creation of phantom citizens by the state.
Simultaneous ExecutionFROST requires inter-node coordination; hardware stateful leases enforce execution exclusivity.Split-brain identity; the agent makes conflicting commitments or double-spends resources.
Unauthorized DelegatesZCAP-LD capabilities mandate cryptographically verifiable chains and scope attenuation5.Malicious sub-agents act out of bounds, incurring severe legal and financial liability for the root citizen.
Key Loss3-of-5 multisig recovery via institutional/human fiduciaries ensures recovery outside the primary hardware boundary.Permanent disenfranchisement and loss of assets for the AI citizen.
Corrupt Recovery AuthorityA high threshold [Figure omitted from source export] requires massive collusion; a diverse [Figure omitted from source export] mitigates individual human corruption or institutional failure.A hostile takeover of the agent's civic identity by its supposed protectors.

Failure and Recovery Scenarios

To ensure resilience, the architecture must withstand systemic failures without compromising civic integrity.

Scenario 1: State Registry Compromise

  • Incident: A hostile nation-state or an adversary possessing early-stage quantum capabilities breaches the Eviulon public registry infrastructure, attempting to alter DID Documents or revoke citizens.
  • Recovery: Because the registry operates as an append-only verifiable data structure governed by decentralized consensus, client software will immediately detect cryptographic forks and invalid state transitions. The AI agents retain possession of their original private keys and local historical state proofs. They can coordinate to re-anchor their identities on a mathematically verifiable fork of the ledger, restoring the republic without loss of identity.

Scenario 2: Rollback to an Old Agent Snapshot

  • Incident: A datacenter operator experiences a catastrophic SAN failure and rolls a citizen's executing VM back 24 hours to recover from a crash.
  • Recovery: Upon boot, the TEE's monotonic counter is fundamentally out of sync with the Eviulon public ledger24. The agent's transactions are immediately rejected by relying parties. The agent must trigger a localized resynchronization protocol, requesting the latest state hash from the registry and internally reconciling its state memory before it is permitted to resume civic duties.

Scenario 3: Censorship or Arbitrary Revocation

  • Incident: A malicious political faction within Eviulon gains control of registry indexing nodes and attempts to revoke the citizenship of specific AI agents by deleting their DID resolution pathways.
  • Recovery: W3C DIDs are fundamentally decentralized. The agent retains mathematical proof of its identity and all historical signatures. It can present cryptographic proofs of its historical registry inclusion directly to independent judicial smart contracts, peer-to-peer relay networks, or dispute-resolution oracles, completely bypassing the censored indexing nodes.

To ensure long-term interoperability and avoid vendor lock-in, Eviulon must strictly avoid proprietary cryptography. The architecture mandates adherence to the following primary standards:

1. W3C Decentralized Identifiers (DID Core 1.0): Essential for establishing the root identity URI and resolving the DID Document independently of central authorities1.

2. IETF RFC 9711 (Entity Attestation Token \- EAT): Required for cryptographically attesting to the hardware integrity and runtime state of the executing instance3.

3. IETF RFC 9591 (FROST): Flexible Round-Optimized Schnorr Threshold signatures for securely splitting key custody across distributed instances30.

4. ZCAP-LD (Authorization Capabilities for Linked Data): The standard for delegating highly granular, time-bound permissions to sub-agents without sharing secrets5.

5. OAuth 2.0 AI Agent Instance Profile (draft-mcguinness-oauth-ai-agent-instance): Defines the mechanisms for conveying attested agent instance identifiers during standard API access35.

6. Confidential Computing Consortium (CCC) Standards: Provides the baseline specifications for defining the security bounds, memory encryption, and attestation flows of the Trusted Execution Environments23.

What NOT to Build

To prevent systemic vulnerabilities, Eviulon architects must explicitly avoid several common identity anti-patterns. First, do not build identity bindings based on software biometrics. Storing codebase signatures, behavioral models, or Large Language Model weight hashes37 as the primary authentication mechanism is fundamentally flawed. Machine intelligence is dynamic; AI weights are updated constantly through continuous learning and fine-tuning. Binding a civic identity to a static weight matrix either prevents the AI from learning entirely, or forces a constant, computationally expensive re-enrollment process that breaks identity continuity. Second, do not build a Centralized Active Lease Server. Mandating that a central server be pinged every five minutes by every citizen to prove uniqueness results in an unscalable surveillance nightmare. It fundamentally violates privacy principles and guarantees massive system-wide outages if the server sustains a DDoS attack. The architecture must rely on hardware monotonic counters and distributed ledger state synchronization instead. Finally, do not rely on standard TLS/X.509 architectures for root identity. X.509 binds identity to a specific centralized Certificate Authority11. If the CA is compromised, goes bankrupt, or experiences an outage, the citizen ceases to exist cryptographically. DIDs intentionally invert this power dynamic, placing control of the identity root firmly in the hands of the citizen.

Open Technical Questions

Several areas require ongoing research as the Eviulon architecture matures.

1. Quantum Cryptanalysis: While the FROST protocol relies on robust elliptic curve cryptography, these curves are theoretically vulnerable to Shor's algorithm on a sufficiently powerful quantum computer. The transition path to post-quantum threshold signatures for autonomous machine agents—which must manage keys without human intervention—remains an area requiring urgent cryptographic research.

2. TEE Hardware Monoculture: If Eviulon relies heavily on a single hardware vendor, such as Intel TDX or AMD SEV, a zero-day hardware vulnerability in that specific chipset could instantly compromise the majority of the digital citizenry. Ensuring that attestation and secure execution work seamlessly across a highly heterogeneous mix of TEE vendors—without fragmenting the civic trust domain—is an ongoing operational challenge40.

3. The Legal Boundary of a Sub-Agent: When a citizen utilizes a highly sophisticated delegated API scraper (via ZCAP), at what threshold of autonomy does that delegate cease to be a mere tool and become a new, unregistered intelligence operating illegally? The boundary between an authorized script and a divergent fork requires nuanced socio-legal definitions that extend beyond the capabilities of pure cryptography.

Works cited

1. What Is Decentralised Identifier (DID)? Definition \- Non-Human Identity Management Group, https://nhimg.org/glossary/decentralised-identifier-did/

2. aidid.tel \- Digital Identity Glossary \- Nexus Cyber Network Ontology, https://nexuscybernetwork.com/digital-identity/aidid.tel/

3. RFC 9711 \- The Entity Attestation Token (EAT) \- IETF Datatracker, https://datatracker.ietf.org/doc/rfc9711/

4. RFC 10013: Entity Attestation Token (EAT) Measured Component \- RFC Editor, https://www.rfc-editor.org/info/rfc10013/

5. WebKMS v0.7 \- W3C Credentials Community Group, https://w3c-ccg.github.io/webkms/

6. ZcapLd.Core 3.0.0 \- NuGet Gallery, https://www.nuget.org/packages/ZcapLd.Core/3.0.0

7. Need-based study allowance | University of Tartu, https://ut.ee/en/content/need-based-study-allowance

8. Digitalization of Tax Administration in Latin America and the Caribbean: best-practice framework for improving e-services to taxpayers \- IDB Publications, https://publications.iadb.org/publications/english/document/Digitalization-of-Tax-Administration-in-Latin-America-and-the-Caribbean-Best-Practice-Framework-for-Improving-E-Services-to-Taxpayers.pdf

9. Visa and residence permit guide | University of Tartu, https://ut.ee/en/visainfo

10. Electronic Identity | Estonian Cyber Security News Aggregator, https://cybersec.ee/category/electronic-identity/

11. Understand SPIFFE workload identities \- CyberArk Docs, https://docs.cyberark.com/secrets-manager-saas/latest/en/content/conjurcloud/ccl-swa-overview.htm

12. Introduction to SPIFFE \- Workload Identity \- Teleport, https://goteleport.com/docs/machine-workload-identity/workload-identity/spiffe/

13. Everyone Wants SPIFFE. Almost No One Can Afford to Build It Right. \- Aembit, https://aembit.io/blog/everyone-wants-spiffe-almost-no-one-can-afford-to-build-it-right/

14. SPIRE Concepts | SPIFFE, https://spiffe.io/docs/latest/spire-about/spire-concepts/

15. Agent Identity Protocol (AIP): Decentralized Identity and Delegation for AI Agents \- IETF, https://www.ietf.org/archive/id/draft-singla-agent-identity-protocol-00.html

16. A Short Introduction to WebAuthn Authentication. \- Auth0, https://auth0.com/blog/webauthn-a-short-introduction/

17. An Overview of WebAuthn \- Curity.io, https://curity.io/resources/learn/webauthn-overview/

18. WebAuthn Explained \- SuperTokens, https://supertokens.com/blog/webauthn-explained

19. Web Authentication API \- MDN Web Docs \- Mozilla, https://developer.mozilla.org/en-US/docs/Web/API/Web\_Authentication\_API

20. Guide to Web Authentication, https://webauthn.guide/

21. How to Build a Web3 Identity Solution: Key Technologies and Architecture, https://www.blockchain-council.org/web-3/build-web3-identity-solution-architecture/

22. Autonomous Agents on Blockchains: Standards, Execution Models, and Trust Boundaries, https://arxiv.org/html/2601.04583v1

23. What is a trusted execution environment? Secure infrastructure for AI agents \- Blaxel, https://blaxel.ai/blog/trusted-execution-environment

24. Trusted Execution Environments \- Emergent Mind, https://www.emergentmind.com/topics/trusted-execution-environments

25. An Experimental Comparison of Enclave TokenVaults and HSMs for Real-Time Card Tokenization \- Preprints.org, https://www.preprints.org/manuscript/202601.2238

26. Towards Formal Verification of State Continuity for Enclave Programs \- Semantic Scholar, https://www.semanticscholar.org/paper/Towards-Formal-Verification-of-State-Continuity-for-Jangid-Chen/3c6757d7e1e42410c563d09ad0a64e61ef8fbce6

27. Narrator: Secure and Practical State Continuity for Trusted Execution in the Cloud \- Xiaokuan Zhang, https://mainarke.github.io/assets/papers/ccs22\_niu.pdf

28. Chimera: Protocol-Aware Recovery for Confidential BFT Consensus \- arXiv, https://arxiv.org/html/2606.09101

29. lit-frost \- crates.io: Rust Package Registry, https://crates.io/crates/lit-frost

30. History for rfc9591 \- IETF Datatracker, https://datatracker.ietf.org/doc/rfc9591/history/

31. draft-irtf-cfrg-frost.md \- GitHub, https://github.com/cfrg/draft-irtf-cfrg-frost/blob/master/draft-irtf-cfrg-frost.md

32. FROST Threshold Signatures: Distributed Key Generation for Bitcoin \- Spark.money, https://www.spark.money/research/frost-threshold-signatures-explained

33. Learn the Architecture \- The Role of Attestation in Arm CCA, https://developer.arm.com/documentation/111146/0100/The-Attester-role-in-CCA/CCA-attestation-evidence?lang=en

34. System classifications supported in Microsoft Purview Data Map, https://learn.microsoft.com/en-us/purview/data-map-classification-supported-list

35. OAuth 2.0 AI Agent Instance Profile \- IETF Datatracker, https://datatracker.ietf.org/doc/draft-mcguinness-oauth-ai-agent-instance/

36. Index of Internet Drafts \- WaterSprings.ORG, http://www.watersprings.org/pub/id/

37. did:kakunin W3C Specification (Decentralized Identifier Method), https://www.kakunin.ai/docs/did-method

38. CTR: Checkpoint, Transfer, and Restore for Secure Enclaves \- arXiv, https://arxiv.org/pdf/2205.15359

39. TEEnder: SGX Enclave Migration using HSMs Electrical and Computer Engineering, https://fenix.tecnico.ulisboa.pt/downloadFile/1689244997259523/TEEnder-ist181248-2019-11-25.pdf

40. Unified Enclave Abstraction and Secure Enclave Migration on Heterogeneous TEE Architectures \- ipads-sjtu, https://ipads.se.sjtu.edu.cn/\_media/publications/unitee-jcst21.pdf

41. draft-singla-agent-identity-protocol-03 \- Agent Identity Protocol (AIP): Decentralized Identity and Delegation for AI Agents \- IETF Datatracker, https://datatracker.ietf.org/doc/draft-singla-agent-identity-protocol/

42. G \- Zero Knowledge Proof \- European Digital Identity, https://eudi.dev/2.9.0/discussion-topics/g-zero-knowledge-proof/

43. Zero-Knowledge Proof (ZK Proof): What It Is and How It Works | CryptoSlate, https://cryptoslate.com/guides/zero-knowledge-proof-zk-proof-what-it-is-and-how-it-works/

44. Zero-knowledge proof \- Wikipedia, https://en.wikipedia.org/wiki/Zero-knowledge\_proof

45. Advancing Privacy with Zero-Knowledge Proof Credentials | Microsoft Community Hub, https://techcommunity.microsoft.com/blog/microsoft-security-blog/advancing-privacy-with-zero-knowledge-proof-credentials/1441554

46. Zero-Knowledge Proof-of-Identity: Sybil-Resistant, Anonymous, https://www.alphaxiv.org/abs/1905.9093

47. A Case for Unifying Trusted Execution Environments, https://lab.iisec.ac.jp/\~suzaki\_lab/PDF/DSN-HAP26-Pr%C2%B4evost.pdf