arXiv Science⌕ Search

arXiv subjects

Maysara Alhindi

Publications and source records attributed to Maysara Alhindi.

5 recordsLinked to original sources

Taming AI Agents with seL4

Every limit on what an AI agent can do is only as strong as the code that enforces it. Today that code includes an operating system kernel, a container runtime and the proxies around them, too much to verify and with a long record of escapes. We explore enforcing these limits with seL4, a small, formally verified capability-based microkernel. Each agent and tool runs in its own protection domain, where an agent can call a tool or hand work to another agent only through a granted capability. These capabilities can be fixed before the system boots, which enables checking what a whole team of agents can do before it runs, and finding risks that checking one agent at a time misses. On the AgentDojo benchmark, we demonstrate that limiting agents through capabilities enforced by the seL4 kernel cuts successful prompt-injection attacks from 48% to 7%, while agents still complete their tasks.

cs.CR↗

Not quite a piece of CHERI-cake: Are new digital security by design architectures usable?

A digital security-by-design computer architecture, like CHERI, lets you program without fear of buffer overflows or other memory safety errors, but CHERI also rewrites some of the assumptions about how C works and how fundamental types (such as pointers) are implemented in hardware. We conducted a usability study to examine how developers react to the changes required by CHERI when porting software to run on it. We find that developers struggle with CHERI's display of warnings and errors and a lack of diverse documentation.

cs.CR↗

Threadbox: Sandboxing for Modular Security

There are many sandboxing mechanisms provided by operating systems to limit what resources applications can access, however, sometimes the use of these mechanisms requires developers to refactor their code to fit the sandboxing model. In this work, we investigate what makes existing sandboxing mechanisms challenging to apply to certain types of applications, and propose Threadbox, a sandboxing mechanism that enables having modular and independent sandboxes, and can be applied to threads and sandbox specific functions. We present case studies to illustrate the applicability of the idea and discuss its limitations.

cs.CR↗

Playing in the Sandbox: A Study on the Usability of Seccomp

Sandboxing restricts what applications do, and prevents exploited processes being abused; yet relatively few applications get sandboxed: why? We report a usability trial with 7 experienced Seccomp developers exploring how they approached sandboxing an application and the difficulties they faced. The developers each approached sandboxing the application differently and each came to different solutions. We highlight many challenges of using Seccomp, the sandboxing designs by the participants, and what developers think would make it easier for them to sandbox applications effectively.

cs.OS↗

Sandboxing Adoption in Open Source Ecosystems

Sandboxing mechanisms allow developers to limit how much access applications have to resources, following the least-privilege principle. However, it's not clear how much and in what ways developers are using these mechanisms. This study looks at the use of Seccomp, Landlock, Capsicum, Pledge, and Unveil in all packages of four open-source operating systems. We found that less than 1% of packages directly use these mechanisms, but many more indirectly use them. Examining how developers apply these mechanisms reveals interesting usage patterns, such as cases where developers simplify their sandbox implementation. It also highlights challenges that may be hindering the widespread adoption of sandboxing mechanisms.

cs.SE↗