
Safe
<T>
Trustworthy Runtime Control for Blackbox Distributed Systems
Dissertation research by [Karuna Grewal](https://www.cs.cornell.edu/~kgrewal/)
Collaborators: [Brighten Godfrey](https://pbg.cs.illinois.edu/), [Justin Hsu](https://www.justinhsu.net/)
# Overview
`Safe<T>` is an automaton-theoretic runtime-monitoring framework for
enforcing safety and security properties in systems without access to the source code.
Safety-critical systems in domains like healthcare, finance, and autonomous systems
are increasingly built from black-box components whose source code is 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 inter-component interactions, 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, we design
an expressive specification language for control and data-aware policies and an automaton-based
enforcement mechanism. Our technique is blackbox and non-invasive, i.e., it does not require
any access or changes to the system’s code. To realize our method, we have built a distributed
runtime monitor on top of an emerging network infrastructure layer that can control inter-component
communication during deployment.