arXiv:2611.08083cs.PLNov 2026

Manuscript Offprint

arXiv:2611.08083

GUARDTs: Decentralized Access Control for Replicated Data Types

Christian Kuessner, Ragnar Mogk, Julian Haas, Annette Bieniusa, Mira Mezini

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

CHRISTIAN KUESSNER, Technische Universität Darmstadt, Germany

RAGNAR MOGK, Technische Universität Darmstadt, Germany

JULIAN HAAS, Technische Universität Darmstadt, Germany

ANNETTE BIENIUSA, Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau, Germany

MIRA MEZINI, Technische Universität Darmstadt, Germany, National Research Center for Applied Cybersecurity (ATHENE), Germany, and Hessian Center for Artificial Intelligence (hessian.AI), Germany

Replicated data types providing strong eventual consistency offer a principled foundation for developing decentralized software. Yet existing approaches to programming such data types leave access control unresolved: they either provide none at all, delegate it to a trusted coordinator, reintroducing the centralization they were designed to avoid, or tie it to specific data-type constructions, while typically assuming non-Byzantine replicas and static policies.

We present GUARDTs: Guarded Unforgeable Algebraic Replicated Data Types, which embed fine-grained permissions directly into the application data model, operate without a central authority, support dynamic policy evolution, and tolerate Byzantine replicas. We formally prove that GUARDTs guarantee confidentiality, integrity, and availability and show empirically that their access control adds negligible overhead on top of the cost of Byzantine-resilient replication itself.

1 Introduction

Distributed applications increasingly rely on centralized, cloud-based infrastructure to synchronize state across components and to enforce access control. The appeal is clear: centralization hides the complexities of distribution and provides a single source of truth for permissions. Yet it concentrates control in a third party, raising concerns about data ownership, privacy, and security; it imposes uniform policies ill-suited to the diverse needs of individual applications; and it introduces a single point of failure that undermines availability and increases latency.

Strongly eventually consistent replicated data types, such as Conflict-free Replicated Data Types (CRDTs) [14], provide a principled programming foundation for decentralized applications. Yet existing approaches to programming such data types leave access control unresolved. Widely used CRDT libraries such as Automerge and Yjs provide no access control at all: by default, replicas are trusted and every replica can read and write everything. Other approaches either delegate it to a trusted authority [13], reintroducing the centralization they were designed to avoid, or tie it to specific data-type constructions [12].

To close this gap, we present an approach to access control for decentralized, strongly eventually consistent replicated data types, called GUARDTs (Guarded Unforgeable Algebraic Replicated Data Types). GUARDTs guarantee the three classical goals of access control: confidentiality, integrity, and availability (CIA): confidentiality ensures that no principal learns anything about data it is not permitted to read, integrity ensures that only authorized writes affect the state, and availability ensures that authorized readers eventually observe every write they are entitled to see.

In addition, our approach to access control has four properties that decentralized applications need. First, decentralization: the access-control mechanism operates without a central authority;

Authors' Contact Information: Christian Kuessner, Technische Universität Darmstadt, Germany; Ragnar Mogk, Technische Universität Darmstadt, Germany; Julian Haas, Technische Universität Darmstadt, Germany; Annette Bieniusa, Rheinland-Pfälzische Technische Universität Kaiserslautern-Landau, Germany; Mira Mezini, Technische Universität Darmstadt, Germany and National Research Center for Applied Cybersecurity (ATHENE), Germany and Hessian Center for Artificial Intelligence (hessian.AI), Germany.

a trusted coordinator that manages permissions would reinstate the very single point of trust that decentralized architectures are designed to eliminate. Second, generality: the mechanism neither is tied to specific data-type constructions nor treats application data as opaque; instead, it is applicable to arbitrary application data types while still being able to inspect their specific structure to enforce fine-grained policies in which read and write privileges differ across replicas and across sub-components of the data types. Third, policy evolution: access rights remain updatable at runtime as users delegate permissions for tasks and revoke them upon completion, as team membership changes, or as contractors receive temporary write access. Fourth, Byzantine resilience: in decentralized applications, replicas may be adversarial, and the mechanism remains correct even under Byzantine behavior.

Achieving CIA and the four properties of the enforcement mechanism together is non-trivial. Without a trusted mediator, every replica must enforce policies locally and cannot assume that its peers are honest: Byzantine replicas may impersonate others, inject unauthorized writes, or attempt to read data they are not permitted to see. At the same time, correct replicas must agree on which updates are authorized, although they observe permission changes in different orders. Revocations are particularly difficult: a revocation may be concurrent with writes of the replica whose rights were revoked, so replicas must consistently decide which of these writes to accept.

We address these challenges as follows. For data generality, we build upon Algebraic Replicated Data Types (ARDTs) [10], a class of delta-based convergent algebraic data types [1]. We leverage their algebraic, tree-like structure to define fine-grained permission trees, tightly integrating access control into the data model. To enable policy evolution, we model permissions as first-class capability objects that can be delegated and revoked. The authorization state is replicated as a HashDAG [8] among all replicas, providing each with converging, tamper-evident evidence for local authorization decisions. Enforcement happens at the replication layer: replicas locally filter deltas based on the receiver's read permissions and materialize only deltas whose write authority can be verified. Cryptographic commitments hide delta contents from unauthorized replicas while ensuring that authorized replicas converge to identical state. Revocations take effect without coordination, closing access to future writes while preserving already-delivered information.

In summary, we make the following contributions. We design GUARDTs, combining path-based capabilities, a replicated event graph, and enforcement at the replication layer, and present them informally in Section 3 and formally in Section 4, based on the programming and system model of Section 2. We prove that GUARDTs guarantee CIA despite decentralized, dynamic enforcement in a Byzantine setting (Section 5). We show empirically that their access control adds negligible overhead on top of Byzantine-resilient replication (Section 6). Finally, we discuss related work (Section 7) and future work (Section 8).

References (11)