Skip to content
Book Open access

Safe: Automaton-Theoretic Runtime Monitoring of Blackbox Distributed Systems

Oct 2026 · Companion Proceedings of the 2026 ACM SIGPLAN International Conference on Systems, Programming, Languages, and Applications: Software for Humanity · pp. 18-20 · 0 citations · 3 references

TL;DR

This work designs Safe⟨ T⟩, an automaton-theoretic runtime monitoring framework for specifying and enforcing control-flow and data-aware policies over black-box distributed systems and builds a distributed runtime monitor on top of an emerging network infrastructure layer that can control inter-component communication.

Abstract

Modern safety-critical systems are increasingly built from blackbox components: cloud services, third-party APIs, autonomous systems, and AI agents whose source code or internal state may be unavailable for inspection. To certify safe and secure inter-component interactions in such systems, security and compliance teams must enforce policies over sequential and nested call/return patterns in the execution, along with the data values exchanged between the components. Furthermore, the blackbox setting necessitates decoupling the policy enforcement mechanism from the system implementation. To this end, I design Safe⟨ T⟩, an automaton-theoretic runtime monitoring framework for specifying and enforcing control-flow and data-aware policies over black-box distributed systems. My technique is blackbox and non-invasive, i.e., it requires no code access or implementation changes. To realize this framework, I have built a distributed runtime monitor on top of an emerging network infrastructure layer that can control inter-component communication. I have demonstrated Safe⟨ T⟩ on cloud microservices and am now extending it to agentic AI systems.

Read PDF

Similar papers

Preprint Sep 2026

SafeNom: Data-Aware Microservice Policies

Many cloud-based applications are organized as loosely coupled microservices, where invoking a service's API triggers a cascade of APIs across many services and leads to inter-service exchange of API parameters and output responses. Current tools for monitoring microservice safety properties have limited expressiveness...

Karuna Grewal, P. B. Godfrey, Justin Hsu · 0 citations
Preprint Sep 2026

SafePar: Monitoring Asynchrony in Microservices

Modern cloud applications are built from loosely-coupled microservices that coordinate through well-defined APIs to service user requests. A single API request often triggers multiple downstream API calls, some executed sequentially and others spawned asynchronously in parallel. To certify safe and secure inter-service...

Karuna Grewal, P. B. Godfrey, Justin Hsu et al. · 0 citations
#software testing Book Open access Sep 2026

Testing Custom Control Planes Without the Cluster

Kamera is presented, a system for testing CCPs that uses partial simulation to execute the code of multiple interacting controllers against a lightweight model of the Kubernetes runtime and achieves a 1,781× speedup over existing cluster-based controller testing approaches.

Tim Goodwin, Lindsey Kuper, Andi Quinn · 0 citations
Preprint Sep 2026

Enforcement of In-Kernel Stateful Security Policies via eBPF

Many attacks against workloads running on multi-tenant systems are multi-step and history-dependent: sequences of innocuous operations whose malicious nature emerges only over an execution trace. Defending against them requires security policies that are stateful, are enforced within the kernel, and have a precise sema...

Letterio Galletta · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.