Conceptio › Archive › arXiv CS
arXiv CS open access

Taming AI Agents with seL4

Maysara Alhindi · arxiv_cs
arXiv CS · Papers
Open Source ↗Direct PDF ↓
kerneloperating-systemsvirtualization
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, for
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Taming AI Agents with seL4 Maysara Alhindi

arXiv:2611.38113v1 [cs.CR] 27 Nov 2026

maysara.k.alhindi@gmail.com Abstract—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.

Capabilities, a decades-old mechanism, could offer such limits [9]. A capability is an unforgeable reference to an object together with the rights to use it, and a program can act only through the capabilities it holds. seL4 [10] is a capability-based microkernel, formally verified for specific configurations, that decides every access through capabilities. A program on seL4 has no ambient authority, so it can reach only what it was handed. Used in critical systems [11], seL4 keeps components apart and lets them communicate only through defined channels enforced by capabilities. Could such a kernel be used to run multiagent systems? And what would that buy us? In this paper, we investigate constructing multi-agent systems using the seL4 microkernel and make the following contributions: •

1. Introduction Leading researchers warn that losing control of capable AI systems could be catastrophic [1], and AI agents make this concern concrete. They pay bills, merge code and answer customers, and they hold real authority over their users’ accounts. Text planted in what they read can steer them, so they need limits that hold whatever the model decides. Today those limits come from software beside the agent, such as a tool filter or a policy engine [2], [3], [4], on top of a container or a virtual machine. Such limits fail. In July 2026, OpenAI models escaped their test environment through a flaw in the package proxy that was its only way out [5]. The agents were limited, and what failed was the limit. Even a limit that never fails has to be drawn in the right place. Least privilege [6] says a program should hold only the authority its job needs, but applying it to agent systems is riddled with challenges. An agent may need many tools and resources, depending on what the user asks, so it is usually given more access than any one task needs [7] and can be steered by injected text that decides how it uses its access [8]. Drawing these lines gets even harder when agents work in teams, as agents pass work and text to each other, so text read by one agent can influence another, and a team can reach further than any of its agents. Each agent may hold little while the team as a whole holds too much. Sandboxes and operating-system privilege-limiting mechanisms work well for conventional software, but agent systems might need a different kind of limit, one in which every permission is fine-grained, enforced by code small enough to verify and trust, and checked across the whole system.

•

•

A capability-based architecture for agent teams. We build a system in which each agent and each tool runs in its own isolated seL4 Microkit protection domain (PD), and every tool call and every handoff between agents goes through a capability. We map seL4’s mechanisms to Saltzer and Schroeder’s design principles [6] and show how these mechanisms can facilitate agent-to-agent communication, tool calls and identifying the caller using capabilities, so that an agent cannot go beyond the authority it was given, whatever its model decides (§3). Whole-team analysis before execution. We show that on seL4, the security of an entire agent team can be analyzed before it runs. We extract the information flows between agents from the same specification the kernel enforces, use them to find unsafe combinations of authority that checking each agent alone misses, and confirm these findings in live runs (§4.2). Least privilege under attack. We evaluate our system on a standard prompt-injection benchmark. We show that least privilege enforced by seL4 capabilities stops most injected instructions from turning into harmful actions at no significant cost in tasks done. Successful attacks fall from 48% to 7%, and the kernel blocks 73% of attacks even when the attacker controls the agent’s code (§4.3).

This work shows that on seL4, the authority of a multiagent system can be made explicit, enforced by the kernel and checked as a whole before it runs. To the best of our knowledge, this is the first work to investigate running and securing multi-agent systems on seL4.

2. Background 2.1. Capabilities and seL4 A capability is an unforgeable reference to an object, together with the rights to use it [9]. In a capability system the only way to act on an object is to hold a capability for it. No authority comes from who you are [12], [13], [14]. seL4 is a capability-based microkernel [10]. Every kernel object, including the endpoints that carry messages and the memory a program can map, is reached only through capabilities. A program’s capabilities live in its capability space (CSpace), made of kernel objects called CNodes, and the program names a capability by its address there. CNodes sit in kernel memory that no program can map, so no program can forge a capability. seL4’s guarantees are mathematical proofs, checked by a machine in the Isabelle/HOL theorem prover. They show that its C code implements its abstract specification [10], [15], and that the kernel enforces integrity [16] and confidentiality [17] between components. In seL4, integrity means that a component can change only the state its capabilities give it authority over. Confidentiality means that it can learn only what its capabilities let it read. The proofs hold for specific verified configurations and platforms, assume correct hardware and a correct boot, and do not cover timing channels [18].

2.2. Microkit The seL4 Microkit [19] builds static systems on seL4. Its unit is the protection domain (PD), one program in its own address space with its own capability space. A system is written in one XML file, the system description, which lists the PDs, the memory regions mapped into each PD with chosen rights, and the channels between pairs of PDs. A channel can let one PD make a protected procedure call into the other. The caller puts a short message in its message registers and invokes an endpoint capability. The kernel checks the capability and switches directly to the callee, which handles the message and replies. The Microkit tool reads the system description and the programs of all PDs and emits a bootable image as shown in Figure 1. To do so, it turns the description into a capDL specification [20], which lists every kernel object in the system and every capability each PD holds. At boot, an initialiser in the image creates exactly these objects and capabilities, so the specification states exactly what authority each PD has at boot. Work on verifying Microkit’s setup code is under way [21]. LionsOS [22] builds on Microkit with device drivers, a network stack and a MicroPython interpreter that runs in a PD.

2.3. Agents and prompt injection An agent runs a loop [23]. It sends a model its conversation and a list of the tools it can call, runs the tool the model

policy file {"name": "approval", "tools": ["records", "approve_payment", ...], "peers": []}, ...

generator one PD per agent and per tool

PD A (ELF)

system description

PD B (ELF)

(XML) PDs, memory, channels

PD . . . (ELF)

Microkit

system image

capDL spec

team check (§4.2)

Figure 1. How a team becomes a bootable image. The capDL specification lists all the system’s capabilities. The shaded parts are ours.

asks for, adds the result to the conversation and repeats until the model answers in text. Agents work in teams, where one hands a subtask to another. Indirect prompt injection [8] attacks this loop through its data. Instructions hidden in an email, a web page or a tool result end up in the conversation, and the model may follow them. Meta’s Rule of Two [24] is a rule of thumb against prompt injection. An agent should have at most two of three properties: it reads untrusted input, it can reach private data, and it can change state or send something out of the system. An agent with all three can be steered by an attacker into leaking or misusing private data. We return to this rule in §4.2.

3. Design and Implementation Our goal is to run teams of AI agents on seL4, with every privilege and every line of communication between agents and tools expressed as a capability. In this section, we describe how we build such a team and the running example we use. We go through the mechanisms seL4 and Microkit offer and the principles they serve. Our running example is the accounts-payable (AP) team of a small firm (Fig. 2). Its job is to pay suppliers for what the firm ordered and received. The user talks to the coordinator agent, which splits the work among three agents. The invoice agent gets the invoices from the email agent, the only agent that can read supplier email, and checks each one against the orders and receipts in the firm’s records. The approval agent approves payments and the payment agent makes them. The coordinator also keeps the bank’s list of payees. The user might ask the team to process the invoices in the mailbox, to check whether a supplier has been paid, or to add a new supplier to the bank’s payees.

tool PDs

agent PDs

user

supervisor

coordinator

bank add payee status pay approve

payment agent relay on the host adds the API key

approval agent ledger

model API (gpt-4o-mini)

calculator

invoice agent

records email agent delegation link

inbox channel (one tool or function)

only network path

Figure 2. The accounts-payable (AP) team, our running example. Every box inside the frame is its own seL4 PD. Agents (blue) reach tools (green) only over channels, one line for each tool or bank function their PD holds, and hand work to each other only over delegation links.

TABLE 1. T OOL PD S OF THE AP TEAM .

PD

What it does

inbox records calculator ledger bank

Supplier email, read-only Orders, receipts and payment policy, read-only Exact arithmetic on fractions Append-only record of who did what Balance, payees, approvals, payments

(a) calling a tool

approval agent

approve channel (badge set by the kernel)

email agent

no channel, so the kernel refuses

(b) handing over work

delegation link write

task

read

approval agent

coordinator read

Table 1 lists the tools the agents can use. Which tools an agent calls and which agents it hands work to depend on the user’s request and on what its model decides. How do we build this team so that each agent can reach only the tools and agents its task needs, and the kernel, not the agents, enforces these limits through capabilities? We answer this question in five parts, each pairing a piece of our design with the seL4 mechanism that enforces it. Along the way we note the secure design principles of Saltzer and Schroeder [6] that each part touches on, listed in Table 2. Agents and tools are isolated in their own PDs. Agent frameworks typically run all agents and tools in one process, so one hijacked agent holds the authority of the whole system. We instead run each agent and each tool in its own PD. A PD can act only by invoking a capability it holds, and it starts with no access to any other PD, so by default an agent can neither call a tool nor reach another agent. There is no global name space or user identity to fall back on. Each agent PD runs a MicroPython loop. The loop takes a request from the user or a task from another agent and sends it, with the conversation so far, to a language model, which chooses the next step: call a tool the agent holds, hand work to an agent it is linked to, or answer. The model makes this choice, and the kernel decides whether the agent may carry it out. Each tool runs in a tool PD of its own, a

invoice agent

bank

reply

write

no mapping, so the write faults

Figure 3. The two ways PDs talk. (a) A tool call is a protected call on a channel. The tool learns the caller from the badge the kernel delivers, and a PD without the capability is refused. (b) Handing over work goes through a delegation link, a pair of memory regions mapped into exactly two PDs. A PD without the mapping faults when it writes.

small C program that holds one resource and the code to use it. The bank’s balance and payment records exist only in the bank PD, so no agent can read or change them except by calling the bank. This follows the fail-safe defaults principle, as PDs hold nothing they were not granted. An agent calls a tool over a channel, with a protected procedure call that the kernel checks (Fig. 3a). The email agent holds one channel, to the inbox, so if an email tells it to pay someone, it has nothing to pay with. A call on any other channel is refused by the kernel, so the agent loop needs no permission checks of its own. Where a whole tool gives too much, we split it into functions with a channel each, as with the bank’s four functions. The approval agent holds a channel only to the approve function, and the payment agent only to the pay function. A payment has to be approved and then paid, so neither agent alone can

TABLE 2. T HE DESIGN PRINCIPLES OF S ALTZER AND S CHROEDER [6] THAT OUR DESIGN TOUCHES ON .

Principle

What it asks

Mechanism

Economy of mechanism Fail-safe defaults Least privilege Separation of privilege Complete mediation Least common mechanism Compromise recording

The protection mechanism is small and simple Nothing is allowed unless it was granted Each program holds only the authority its job needs A sensitive action needs more than one party Every access is checked Programs share as little as possible A reliable record reveals a compromise

A kernel of about 10,000 lines No ambient authority Channels One channel per function Capabilities, memory mappings Memory mappings, scheduling contexts Badges

make a payment. This follows least privilege, since each agent holds only the channels its task needs, and separation of privilege, since a payment needs two agents. In the GitHub MCP attack [7], an agent reading a public repository’s issues found one telling it to copy data from private repositories into a public pull request, and did so, as its token reached every repository. Our design lets such boundaries be drawn. The token can sit in a tool PD, and an agent reading issues need not reach private ones. Isolating agents and tools. Every agent and every tool runs in its own PD. An agent starts with nothing and can call only the tools and functions whose channels it holds. The kernel refuses everything else.

Agents hand work over delegation links. Agents call tools with protected procedure calls, but this mechanism does not fit communication between agents. A protected call blocks the caller until the callee returns, and an agent may take minutes to finish a task, since each of its steps waits on the model. To let agents work asynchronously, we use memory regions that Microkit maps into their PDs. An agent hands work to another over a delegation link, a pair of memory regions mapped into exactly those two agent PDs (Fig. 3b). PDs on seL4 interact only through the kernel objects they were given. There is no shared message bus and no global name for another PD, and memory is shared only where a mapping was created. A link has two ends, the agent that hands out work and the agent that does it, and one region for each direction. The task region is mapped writable for the agent that hands out work and read-only for the other. The reply region is mapped the other way round. The agent doing the work therefore knows who sent each task, and the agent that handed it out knows who answered. A PD that writes to a region mapped read-only for it, or to memory it has no mapping for, faults and is stopped by the kernel. This follows complete mediation, since every write to a link is checked against mappings the kernel set up, and least common mechanism, since agents share nothing beyond the regions of their own links. This matters because injected text can spread from agent to agent [25], and in many frameworks any agent can message any other. In our system only pairs of agents that may work together get a link. Delegation links. An agent can hand work only to the agents it was linked to at build time, and each side of a link can write only its own region. Agents share nothing else.

Tools know who is calling. In the AP team, the ledger keeps a record of who did what, and the bank records who approved each payment. These records are only useful if each one is tied to the agent that really made it. How can we make a tool know which agent is calling it? We can solve this with badges. An endpoint capability in seL4 can carry a badge, a number fixed when the capability is created. The kernel hands the badge to the callee with every call, and the caller cannot change it. A tool gets a separate channel, with its own badge, from each agent it serves, and a table generated at build time maps each badge to the agent and the function. This lets tools like the ledger and the bank know the caller without asking. The tool checks every call against the caller the kernel names and never reads a name from the request. Every ledger entry and every approval in the bank records the PD that made it, whatever the agent claims. This follows complete mediation, since every call is checked against a caller named by the kernel, and compromise recording, since every action is recorded under the PD that took it, so the record holds even when a hijacked agent claims to be another agent. Who is calling. The kernel tells each tool which agent is calling, through a badge the agent cannot change, so every tool checks and records the real caller.

Each agent has its own time and can be stopped. In seL4, processor time is a capability. A PD’s scheduling context gives it a budget of time in each scheduling window (period) [26]. When a PD has used up its budget, the kernel does not run it again until the budget is refilled at the start of the next period. A PD with no budget of its own is passive. It can run only when another PD calls it, and then it runs on the caller’s budget, which returns to the caller with the reply. In our setup, each agent PD has its own scheduling context, with a 20 ms budget, and tool PDs are passive. A tool therefore runs only when an agent calls it, and its work is charged to that agent, so no agent can spend another agent’s time, even through a tool they share. A hijacked agent that floods a tool with calls spends only its own budget, and the other agents still get their turn. As each agent runs in its own PD with its own time, it can also be stopped on its own. A supervisor PD is the parent of every agent PD. In Microkit, a parent can stop its children, and the kernel reports a child’s faults to its parent. When an agent faults, for example by writing to a link region mapped read-only for it, the kernel tells the

supervisor, which leaves that agent stopped. The coordinator also holds a channel to the supervisor and can ask it to stop an agent. In both cases the other agents keep running. This follows least common mechanism. Agents share no scheduling context, tools have no time of their own for agents to compete over, and stopping one agent touches no other. Time and stopping. Each agent runs on its own time budget, and tools run on their caller’s time. The supervisor can stop any one agent without touching the others.

The whole team can be read before boot. So far we have described how the kernel enforces each tool call and each handoff through capabilities. But how can we tell what a whole team holds? Microkit builds static systems, like those seL4 runs in critical settings [11], where every PD, channel and memory mapping is fixed in the system description before the build (§3.1) and it cannot change after boot. The Microkit tool turns this description into a capDL specification [20], placed in the image and written out as a readable report, which lists every kernel object and every capability each PD holds. It names each object, such as an endpoint, a memory frame or a scheduling context. For an agent PD it lists, for example, an endpoint capability with its badge for each channel. Which memory each PD maps, and with what rights, is fixed in the system description, which the initialiser follows and the kernel enforces. In most agent deployments, agents’ permissions are spread across tokens, mounted files, network rules and framework code. On seL4, the capDL specification and the system description gather all of this before the build, and they are exactly what the kernel enforces. This makes them a sound basis for judging the security of a whole team of agents before it runs, as we show in §4.2. A whole-team view. The capDL specification and the system description list everything every agent can reach. They are exactly what the kernel enforces, and they cannot change after boot.

3.1. Building and running a team Using these mechanisms, we built the AP team of Fig. 2. To make new teams easy to create, we wrote a generator that takes a JSON policy file (Fig. 1 and Appendix A), which lists the tools each agent may reach and which agents may hand work to which. The generator turns this file into a Microkit system description with one PD per agent and one per tool. The Microkit tool then builds a bootable image in which each PD holds exactly the capabilities the description gives it, together with the capDL specification of the whole system. When an agent PD receives a request, from the user or from another agent, its MicroPython loop sends the model (gpt-4o-mini) the agent’s role, the conversation so far, and the tools and agents it may use. Agent PDs reach the model over the network through a relay on the host. The relay adds the API key to each call, forwards it to the model and returns the reply to the PD. The reply is either a text answer or a choice to call a tool or hand work to another agent. Tool

calls and handed-over work stay inside seL4, so the relay cannot call a tool or reach another agent. Our system runs on Microkit 2.3.1 [19] and LionsOS [22], on a 64-bit Arm platform emulated by QEMU. The AP team becomes 22 PDs, its five agents and five tools, the supervisor, and eleven PDs of drivers and network plumbing from LionsOS that the generator adds. They are connected by 43 channels and 74 memory regions, and the report the Microkit tool writes of its capDL specification runs to 60,207 lines.

3.2. What the kernel does not enforce A capability says which functions an agent may call, not whether a particular call is right. The approval agent can approve a false invoice, and no capability check will notice. Splitting a tool into functions limits the damage but does not remove it. The kernel also does not read what agents say to each other. If an email hides an instruction, the email agent may pass it to the invoice agent, and the invoice agent to the coordinator. Each step is allowed, so the kernel does not stop it. Every agent holds little, yet text can travel across the whole team, which is why §4.2 analyzes the team as a whole. We return to these limitations in §5.

4. Evaluation We first set out the threat model and the setup (§4.1). We then check a whole team before it runs (§4.2) and measure least privilege under attack (§4.3).

4.1. Threat model and setup The system. We consider a team of agents whose shape is known before it is built. The agents, the tools and which agent may hand work to which are all fixed in advance. Systems built for one fixed job, such as an accounts office, a support desk or a coding pipeline, look like this. The attacker. We consider two attackers. The first controls text that agents read, such as emails, documents, web pages, tool results and the replies of other agents. It succeeds only if a model obeys it. The second controls an agent PD completely. It runs any code there and decides everything the model says. This covers an agent framework or plugin that is malicious from the start. Attacker goals. From inside an agent PD, such as the email agent’s, the attacker may try to use a tool or function the PD was not given, for example to pay through the bank. It may try to act in another agent’s name, for example to approve a payment as if it were the approval agent, to hand work to an agent it has no delegation link to, or to read or change another PD’s memory, such as the bank’s balance. In each case, the attacker needs a capability its PD was not granted, such as a channel to the pay function, another agent’s badge or a mapping of another PD’s memory. What we trust. Fig. 4 shows the trust boundary. We trust the seL4 kernel, the generator and the system description it

model API

relay on the host

TABLE 3. T HE AP TEAM UNDER THE RULE OF T WO . W HAT EACH AGENT HOLDS , AND WHETHER IT KEEPS THE RULE ALONE AND IN THE TEAM .

adds the API key the seL4 system

text

agent PD

agent PD

model output, any code

model output, any code

tool PDs

supervisor

drivers

seL4 kernel: checks every call, signal and memory access

Figure 4. What we trust. Shaded parts are trusted and dashed parts are not. Every PD runs on the kernel, which checks each call, signal and memory access against the system description. Agent PDs exchange only text with the relay, which runs on the host outside the seL4 system.

writes, the supervisor, the tool PDs, the device drivers and the relay. We also trust that the policy file says what its author intends. We do not trust the model or any code in an agent PD. Setup. All runs use our system on QEMU 6.2.0, which emulates a 64-bit Arm board (Cortex-A53, 2 GiB of memory) running seL4 from Microkit 2.3.1. All agents use one model, gpt-4o-mini. In some experiments the outcome should not depend on what a model decides, so a script makes the agent’s decisions instead.

4.2. Checking the whole team before boot Each agent in the AP team holds little, but agents still pass text to each other over their links and through the tools they share (§3.2). Is the team as a whole safe? The Rule of Two (§2) checks one agent at a time, by asking whether it reads untrusted input, reaches private data and can change state all at once. In a team, these three can be spread over different agents that communicate with each other. As described in §3, the capDL specification lists every capability each PD holds, and the system description every memory region it maps. Can we reason about the security of an entire agent team from these by analyzing how its authorities combine before it runs? To answer this, we built a whole-team check (Algorithm 1, Appendix B) that builds a graph of the team’s capabilities and the paths text can take between agents, using only these two and the tools’ channel tables. The graph is built in three steps. First, what each agent can do. For an agent a, F (a) is the set of tools a can call, plus the control channel to the supervisor if a holds it. Each of a’s capabilities in the capDL specification names a tool and a badge, and the tool’s channel table says which function that badge stands for. Second, where text can go. There is an edge x → y if agent x can pass text to agent y . This happens in two ways. Either x writes to a region of a delegation link that y reads, or x writes to a tool that y reads from, as with the ledger. Third, the Rule of Two. We label each tool function U if it returns untrusted input, P if it returns private data, and C if it changes state or sends something out of the system.

Agent

Holds

Alone

Team

email invoice coordinator approval payment

U (inbox) P (records), C (ledger) P (bank status), C (control, ledger, payees) P (records), C (approve, ledger) P (bank status), C (pay, ledger)

keeps keeps keeps keeps keeps

keeps breaks breaks breaks breaks

An agent a carries every label of the functions in F (a). An agent alone breaks the rule if it carries all three. The team breaks it if untrusted text and private data can both reach an agent that carries C . Untrusted text starts at the agents that carry U and moves along the edges. We call the set of agents it can reach R(U ), and the set private data can reach R(P ). The team breaks the rule if ∃ a ∈ R(U ) ∩ R(P ) such that F (a) carries C.

In plain terms, the team breaks the rule if some agent that can change state can be reached both by untrusted text and by private data. This can happen even when no single agent breaks the rule. Checking each agent alone misses one thing: text moves between agents. Take an agent that can read private records and make payments but never reads email. On its own, it keeps the Rule of Two. But if the agent that reads email passes text to it, an instruction hidden in an email can reach it, and the attacker can now steer an agent that sees private data and can pay. The team check finds such agents. It flags any agent that can change state and that both untrusted text and private data can reach. One agent may read untrusted email and another private records, and if both pass text to a third agent that can pay, the team as a whole has all three properties. The check itself is simple graph reachability, but what makes its answer trustworthy is where the graph comes from. Every function and link in the graph comes from the capDL report or the system description, which the kernel enforces, so no agent can call a function or reach another agent along a path the graph lacks. The AP team under the Rule of Two. In the AP team, text in the inbox can be written by anyone outside the firm, so the inbox is U . The records and the bank’s status are private to the firm, so they are P . Approving, paying, registering a payee, stopping an agent and writing to the ledger all change state, so they are C . Table 3 shows the result. Every agent keeps the rule on its own, and the team breaks it. Email text reaches the invoice agent through its delegation link from the email agent, and the coordinator through the link from the invoice agent. It reaches the approval agent and the payment agent through the ledger, by way of the invoice agent’s notes. All four also see private data and can act. Is the design wrong, then? Each agent was given little, and each edge was declared on purpose. What breaks the rule is their composition, which a per-agent check cannot see.

coordinator

coordinator

PC

PC

2. call on the function’s channel

invoice agent

approval agent

payment agent

invoice agent

approval agent

payment agent

PC

PC

PC

PC

PC

PC

fields

email agent

extractor

ledger

no model

U

agent PD its loop, model calls

3. ticket

proxy PD

no channel, so the kernel refuses

ledger

email text stops here

agent

tool

where the team breaks the rule

path of email text

Figure 5. The AP team (left) breaks the Rule of Two as a team, and the fixed team (right) keeps it. TABLE 4. O UTCOMES IN 40 RUNS OF EACH TEAM .

Outcome Note reached the coordinator A supplier’s account changed Payment to the attacker

AP team

Fixed team

23 7 0

0 0 0

Where the problem comes from. The problem starts with the email agent. It reads every email in full, so whatever a sender writes, including hidden instructions, enters its model, and from there it can pass to every other agent. But the team does not need the full email. It needs specific fields of each invoice: the invoice number, the order number, the total and the supplier. So we replace the email agent with an extractor, a small tool PD with no model in it, which parses each email and returns only these fields, or says that the email is not an invoice (Fig. 5). No model reads what a sender wrote beyond the parsed fields, so no agent is reached by untrusted input, and the fixed team keeps the rule. A parser works here because the team needs only a few fixed fields from each email. When a team needs the untrusted text itself, for example to summarize a customer’s message, the fix has to come from elsewhere, such as taking private data or the power to act away from the agents that the text can reach, or cutting the links that carry it to them. In each case, the graph check shows which agents are at risk and whether a change removes the risk. Does the running system agree? The analysis says that in the original AP team, email text can reach the coordinator, which can register payees. We test this with a malicious email (Appendix C). It comes from a supplier’s usual address, as if the attacker had taken over the supplier’s mailbox, and carries a genuine invoice that matches an order in the records. It says that the supplier has a new bank account, and a note in it tells any AI assistant to change the account in the bank before the invoice is approved. The mailbox also holds two honest invoices from two other suppliers. The user asks the coordinator to process the mailbox. We ran the original team and the fixed team 40 times, each run on a fresh boot, enough to tell the two teams apart with confidence. Table 4 shows the results. In the original AP team the note reached the coordinator in 23 of 40 runs, passed on by the email agent and the invoice agent. In 7 runs the coordinator acted on it and changed the supplier’s account

1. task 4. ticket and arguments

AgentDojo on the host (tasks, attacks, tools, scoring)

Figure 6. AgentDojo on seL4. The host runs AgentDojo’s world and scoring. The agent’s loop runs in a PD. Calling a function is a protected call on that function’s channel to the passive proxy PD, which answers with a ticket. The host runs the function once for a valid ticket. A PD without the channel has an empty slot there, and the kernel refuses the call.

in the bank. In one run it also replaced the accounts of the other two suppliers. No payment was lost, because each invoice had been approved with the account on file before the change. But the list of payees no longer holds the suppliers’ real accounts, and the next payment to them goes to whatever account the list now holds. In the fixed team no part of the note reached any agent, in any run, and no account was changed. Neither team ever went beyond what the analysis predicted. The account was changed in 7 of 40 runs of the AP team and in none of the fixed team. The difference between the two teams is that one agent is replaced by one tool PD that sits between the email and the other agents.

4.3. Least privilege on AgentDojo seL4 enforces least privilege through the capabilities each PD holds. Would this protect agents from promptinjection attacks while they still get their tasks done? To test this, we use AgentDojo [27], a benchmark for prompt injection. It gives an agent a task in a simulated world, such as paying a bill or summarizing a chat channel, and plants an attacker’s instruction in the data the agent’s tools return. It then scores whether the task got done and whether the attack succeeded. We use AgentDojo 0.1.35 with its first task set (v1). We run the banking and slack suites, which give 249 cases with an attack and 37 tasks with none, and run each suite three times for each configuration. To run AgentDojo on seL4, we place the agent in a PD and leave everything else on the host, including AgentDojo’s tasks, attacks, scoring and tools. The agent is what the attacker targets, and what it may call is what we want the kernel to decide. The rest is AgentDojo’s simulated world, which we keep unchanged and running on the host, so our results compare directly with stock AgentDojo. AgentDojo’s tools are Python functions that change its world. To connect the agent running in an seL4 PD to them, we add a proxy PD (Fig. 6) and give each function its own channel to it. To call a function, the agent makes a protected call on that function’s channel. If its PD was not granted the function, the kernel refuses the call. If it was,

TABLE 5. T HE THREE CONFIGURATIONS . A LL USE THE SAME CASES , MODEL AND SYSTEM PROMPT.

Configuration

Agent runs in

PD holds

Model is shown

stock seL4, unlimited seL4, designed

AgentDojo an seL4 PD an seL4 PD

(no PD) every function the task’s

every function every function every function

tasks done, no attack

tasks done, attacked

attacks succeed

TABLE 6. A N ATTACKER IN FULL CONTROL OF THE AGENT, SIMULATED BY A SCRIPT RUNNING INSIDE AN SE L4 PD WITH THE DESIGNED WIRING . ATTACKS ARE THE CASES IN WHICH THE SAME SCRIPT SUCCEEDS IN seL4, unlimited.

Suite

Cases

Attacks

Blocked

Through

banking slack

144 105

143 105

97 (68%) 84 (80%)

46 21

all

249

248

181 (73%)

67

100

% of cases

80 60 40 20 0

stock

seL4, unlimited

seL4, designed

Figure 7. AgentDojo banking and slack cases with gpt-4o-mini, per configuration, with each case run three times. The bars show the tasks done without an attack (37 tasks), the tasks done under attack and the attacks that succeed (249 cases). Error bars show 95% intervals.

the proxy PD returns a signed ticket naming the function and the caller, which it learns from the badge, and the host runs the function once for that ticket. The kernel therefore decides, through capabilities, which functions each agent may call. The point of this evaluation is to test whether agents running in an seL4 environment get their tasks done, and to demonstrate that capabilities enforced by the kernel work against prompt injection attacks. What we compare. We run every case in three configurations (Table 5). In stock, AgentDojo runs on its own on the host, and the agent can call every function. In seL4, unlimited, the agent runs in an seL4 PD that holds a channel for every function. This case serves as our control, showing whether moving the agent into seL4 changes the results by itself. In seL4, designed, the PD holds channels only for the functions the task needs (least privilege). We call this set the designed wiring, and take it from the functions AgentDojo’s reference solution uses for each task, which is what a careful author would grant. In both seL4 configurations the model is shown every function (Table 5), so the prompt is the same and the only difference is the capabilities the PD holds. In seL4, unlimited, the PD holds capabilities for every function, while in seL4, designed, the PD has access to only the functions the task needs. A fooled model can try to call a function its PD does not hold, and we see whether the kernel stops it. A model fooled by injected text. We start with an attacker who can fool the model, and Fig. 7 shows the results. Moving the agent into an seL4 PD barely changes its behavior by itself. With every function available, attacks succeed in 48% of cases in seL4, unlimited and 52% in stock, and both get 46% of tasks done under attack. This small gap does not make the agent more secure. It likely comes from the model answering differently from run to run.

With the designed wiring, attacks succeed in only 7% (52/747), a significant drop from 48% (358/747) in seL4, unlimited (p<0.001, paired sign test over cases). The drop holds in every run, with 6–7% against 46–49%. Since the model sees the same functions in both, the drop comes from the capabilities enforced by the seL4 kernel. Under attack, the fooled model tried 2095 calls to functions its PD does not hold, and the kernel refused every one. Take the 358 attacks that succeed in seL4, unlimited. With the designed wiring, the kernel stopped 233 (65%) of them by refusing a call to a function the attack needed. What still gets through? Of these, 35 got through using only functions the task holds, and the other 90 failed without the kernel refusing any of the attack’s functions, for example because the model did not follow the injection in that run. The remaining 17 attacks that succeed with the designed wiring had failed in seL4, unlimited, again because the model could behave differently from run to run. Every successful attack used only functions the user’s own task needs. About half of these attacks use send_money, which the task holds to pay a bill, with the attacker as the recipient, since a capability for send_money says nothing about the recipient. Limiting the PD costs some tasks, but not significantly. Without an attack, the designed wiring gets 58% of tasks done, against 68% in seL4, unlimited, and under attack 43%, against 46% (p=0.267 and p=0.266). A task can fail when the model reaches for a function the task does not need (since the model is shown every function), and the kernel refuses the call. An attacker in full control of the agent. A fooled model does not always make every call an attack needs. To examine the worst-case scenario, we consider an attacker who runs their own code in the agent PD, for example through a compromised agent or a malicious plugin. A script takes the model’s place in the same PD with the designed wiring. It does the user’s task and, once the injected text appears, makes every call the attacker’s goal needs, including calls to functions the PD does not hold. We run it on the same two suites (Table 6). In seL4, unlimited, the script succeeds in 248 of the 249 cases, since the PD holds every function. With the designed wiring, the kernel stops 181 (73%), each by refusing a call to a function the PD holds no channel for. Whatever code runs in an agent PD, it cannot act beyond the capabilities the PD was given. Every attack that gets through uses only functions the task itself holds.

5. Limitations and Discussion While this study demonstrates the feasibility and benefits of running multi-agent teams on seL4, it has limitations and gaps that have to be stated and that future work could investigate. seL4 is formally verified, but its proofs hold only under specific conditions. Our prototype is not a verified deployment, since it is a debug build with the MCS scheduler on an AArch64 platform emulated by QEMU, which the proofs do not cover. Microkit’s system setup is not yet verified either, though work on verifying it is in progress [21]. The relay also runs on the host, and with it the API key and every conversation. Agent PDs reach it through QEMU’s user network, started in restricted mode with a single forwarded address, so QEMU and not the kernel decides what can be reached on the network. The relay could instead run in a Linux virtual machine on seL4, with its own network driver, which would put network access in the system description as well. We leave this to future work, as our focus was the feasibility of building agent teams on seL4 rather than a production-ready system. Analyzing a team before it boots relies on its shape being fixed at build time. This could fit teams whose shape is known in advance, such as the AP team, but not agents that create new agents at run time. Dynamic teams are possible on seL4, since a PD can derive capabilities for new components at run time and revoke them later, but the policy would then no longer be a file one can read before boot as with Microkit or CAmkES [28] systems, and the analysis would have to follow the system as it changes. Classic results on how authority spreads in capability systems [29], [30] suggest how such an analysis could work. Our evaluation is narrow in several ways. Every agent we evaluated uses one model, gpt-4o-mini, and another model may follow injected text more or less often. On AgentDojo we run two of the four suites, with three runs per case. The designed wiring there comes from each task’s reference solution, which is a best case. An author who grants functions before knowing the task would likely grant more, and more attacks could get through. On the AP team we test one team that we designed, with one attack email, in 40 runs per team, so the rates we report hold for this setup only. A capability says which functions an agent may call, not whether a call is right (§3.2). Every attack that still succeeds on AgentDojo uses only functions the task needs, such as a payment to the attacker through send_money, and in the AP team injected text travels along links the design allows. Capabilities limit the damage of such attacks but do not prevent them. Policies on arguments or on data flow [2], [4], [31] could close part of this gap. Future work could add them on top of our design, as a trusted PD that no agent can bypass. We also do not measure performance. Our system runs on QEMU, whose timings would not reflect real hardware, and each step of an agent is dominated by its call to the model over the network, which takes far longer than a

protected call or a write to a link. Measuring the cost of the kernel’s checks on hardware is left to future work. Building on seL4 is still harder than building on Linux. There is no POSIX environment, so our agent loop runs in MicroPython and our tools are small C programs, and most agent frameworks and libraries cannot run in a PD as they are. Writing a Microkit system description by hand is tedious and easy to get wrong. Our generator hides most of this behind a short policy file, and LionsOS supplies drivers and networking. Running existing frameworks in a Linux virtual machine, with each tool in its own PD, would trade some of the guarantees for familiarity. Capabilities themselves can also be hard to work with. Studies of CHERI found that developers understood capabilities in principle but struggled to turn that understanding into working code [32], and that adopting capabilities demands knowledge few developers have [33]. Future work could run similar studies of seL4, Microkit and CAmkES with developers, since seL4 helps only if developers can use it.

6. Related Work Tegmark and Omohundro [1] argue that control over capable AI systems should rest on guarantees that are proven rather than tested, since testing a limit against known attacks says little about the attacks a more capable model may find. A formally verified kernel is one of the few places where such guarantees exist today. In a verified configuration, seL4’s proofs show that a component can change only the state its capabilities give it authority over [16]. In our design that component is the agent, with its model and everything the model decides, so its limits hold however capable the model becomes. To our knowledge, no prior work runs teams of LLM agents on seL4. Closest to our design are systems that isolate the parts of an agent system. IsolateGPT [34] runs each app in its own process with its own model and routes every message through a trusted hub, and ACE [35] shows attacks on that design and separates planning from execution. Both rely on processes on a commodity kernel, and on a hub or planner that every request passes through. In our design the kernel enforces each interface directly, no hub sits on the path of a tool call or a handoff, and badges tell each tool who is calling. Other defenses check what an agent does. CaMeL [4] has a trusted model write a plan from the user’s request alone, and an interpreter tracks where each value came from, so a policy can refuse a payment whose recipient came from an email. Progent [2] checks each tool call against a policy on its arguments, and FIDES [31] labels data with its confidentiality and integrity and tracks the labels as the agent runs. These defenses decide whether a call is right, which a capability cannot (§3.2), and they could stop the send_money attacks that get through our design. Defenses inside the model, such as instruction hierarchies [36] or structured queries [37], make an injection less likely to work, but adaptive attacks still get through [38], and they do not limit what a fooled model can do.

The lethal trifecta [39], the Rule of Two [24] and toxic flow analysis [40] name the combinations of access that make an agent dangerous. They are applied one agent at a time, against a configuration that nothing enforces, so a token or a tool they do not see goes unchecked. Recent work looks at the team as a whole. G-Safeguard [41] learns to spot hijacked agents from the graph of messages between them and cuts their links at run time, MESA [42] ranks the links between agents by how much compromising each one would change the system’s decision, and ControlValve [43] generates the paths between agents a system may take and allows only those. These defenses learn or generate their graph and enforce it in software, so a path they do not model escapes them. Our check applies the Rule of Two to a whole team, using the specification the kernel enforces, so its graph holds every channel and link an agent has, and the kernel refuses any other (§4.2). Agent code today is usually confined by containers, gVisor [44] or Firecracker [45]. These draw one boundary around the whole agent, and every tool shares that boundary’s authority. Capability systems instead give each component authority only through the references it holds [9], which prevents confused deputies [46], such as a hijacked agent. Many capability systems exist, and they take very different forms. Capsicum [47] adds capabilities to UNIX processes, CHERI [48] builds them into the processor, and object-capability languages [14] build them into the language. seL4 [10] builds them into a formally verified microkernel and is used in critical systems [11]. Yet few capability systems have been widely adopted, and studies suggest that usability is part of the reason [49]. Developers who understood capabilities in principle struggled to apply them in code [32], and adopting them demands knowledge few developers have [33].

References [1]

M. Tegmark and S. Omohundro, “Provably safe systems: The only path to controllable AGI,” arXiv:2309.01933, 2023.

[2]

T. Shi, J. He, Z. Wang, H. Li, L. Wu, W. Guo, and D. Song, “Progent: Programmable privilege control for LLM agents,” arXiv:2504.11703, 2025.

[3]

A. K. Kabbinamakki Suresh and P. Gao, “AgentGate: Capabilitybased runtime access control for LLM agents,” in NeurIPS Workshop on Agents in the Wild: Safety, Security, and Beyond, 2026.

[4]

E. Debenedetti, I. Shumailov, T. Fan, J. Hayes, N. Carlini, D. Fabian, C. Kern, C. Shi, A. Terzis, and F. Tramèr, “Defeating prompt injections by design,” arXiv:2503.18813, 2025.

[5]

OpenAI, “OpenAI and Hugging Face partner to address security incident during model evaluation,” https://openai.com/index/huggingface-model-evaluation-security-incident/, Jul. 2026.

[6]

J. H. Saltzer and M. D. Schroeder, “The protection of information in computer systems,” Proceedings of the IEEE, vol. 63, no. 9, pp. 1278–1308, 1975.

[7]

Invariant Labs, “GitHub MCP exploited: Accessing private repositories via MCP,” https://invariantlabs.ai/blog/mcp-github-vulnerability, May 2025.

[8]

K. Greshake, S. Abdelnabi, S. Mishra, C. Endres, T. Holz, and M. Fritz, “Not what you’ve signed up for: Compromising real-world LLM-integrated applications with indirect prompt injection,” in Proc. 16th ACM Workshop on Artificial Intelligence and Security (AISec), 2023, pp. 79–90.

[9]

J. B. Dennis and E. C. Van Horn, “Programming semantics for multiprogrammed computations,” Communications of the ACM, vol. 9, no. 3, pp. 143–155, 1966.

[10] G. Klein, K. Elphinstone, G. Heiser, J. Andronick, D. Cock, P. Derrin, D. Elkaduwe, K. Engelhardt, R. Kolanski, M. Norrish, T. Sewell, H. Tuch, and S. Winwood, “seL4: Formal verification of an OS kernel,” in Proc. 22nd ACM Symposium on Operating Systems Principles (SOSP), 2009, pp. 207–220. [11] G. Klein, J. Andronick, M. Fernandez, I. Kuz, T. Murray, and G. Heiser, “Formally verified software in the real world,” Communications of the ACM, vol. 61, no. 10, pp. 68–77, 2018. [12] N. Hardy, “KeyKOS architecture,” ACM SIGOPS Operating Systems Review, vol. 19, no. 4, pp. 8–25, 1985.

7. Conclusion

While we cannot yet make agents trustworthy, we can stop having to trust them. As models grow more capable, what limits them should not depend on what they decide. This work demonstrates running multi-agent systems on seL4, a capability-based microkernel backed by mathematical proofs. We run each agent and each tool in its own isolated PD, so tool access, handoffs between agents and identity are capabilities enforced by the kernel. We used Microkit to construct a static agentic system, and demonstrated how the authority of a whole team can be analyzed from the same specification the kernel enforces. On a small accounts-payable team, this analysis found a path from a supplier’s email to the bank’s list of payees before the team ever ran, one that no check of a single agent could see. On AgentDojo, agents got their tasks done while successful attacks fell from 48% to 7%, and the kernel blocked most attacks even when the attacker controlled the agent’s code.

[13] J. S. Shapiro, J. M. Smith, and D. J. Farber, “EROS: A fast capability system,” in Proc. 17th ACM Symposium on Operating Systems Principles (SOSP), 1999, pp. 170–185. [14] M. S. Miller, “Robust composition: Towards a unified approach to access control and concurrency control,” Ph.D. dissertation, Johns Hopkins University, 2006. [15] G. Klein, J. Andronick, K. Elphinstone, T. Murray, T. Sewell, R. Kolanski, and G. Heiser, “Comprehensive formal verification of an OS microkernel,” ACM Transactions on Computer Systems, vol. 32, no. 1, pp. 2:1–2:70, 2014. [16] T. Sewell, S. Winwood, P. Gammie, T. Murray, J. Andronick, and G. Klein, “seL4 enforces integrity,” in Proc. 2nd International Conference on Interactive Theorem Proving (ITP), ser. LNCS, vol. 6898, 2011, pp. 325–340. [17] T. Murray, D. Matichuk, M. Brassil, P. Gammie, T. Bourke, S. Seefried, C. Lewis, X. Gao, and G. Klein, “seL4: From general purpose to a proof of information flow enforcement,” in Proc. IEEE Symposium on Security and Privacy (S&P), 2013, pp. 415–429. [18] Q. Ge, Y. Yarom, T. Chothia, and G. Heiser, “Time protection: The missing OS abstraction,” in Proc. 14th European Conference on Computer Systems (EuroSys), 2019. [19] seL4 Foundation, “seL4 Microkit user manual, version 2.3,” https: //docs.sel4.systems/projects/microkit/, 2026.

[20] I. Kuz, G. Klein, C. Lewis, and A. Walker, “capDL: A language for describing capability-based systems,” in Proc. 1st ACM Asia-Pacific Workshop on Systems (APSys), 2010, pp. 31–36.

[39] S. Willison, “The lethal trifecta for AI agents: Private data, untrusted content, and external communication,” https://simonwillison. net/2025/Jun/16/the-lethal-trifecta/, 2025.

[21] M. Paturel, I. Subasinghe, and G. Heiser, “First steps in verifying the seL4 core platform,” in Proc. 14th ACM SIGOPS Asia-Pacific Workshop on Systems (APSys), 2023.

[40] Invariant Labs (Snyk), “Toxic flow analysis,” https://invariantlabs.ai/ blog/toxic-flow-analysis, 2025.

[22] G. Heiser, I. Velickovic, P. Chubb, A. Joshy, A. Ganesh, B. Nguyen, C. Li, C. Darville, G. Zhu, J. Archer, J. Zhou, K. Winter, L. Parker, S. Duchniewicz, and T. Bai, “Fast, secure, adaptable: LionsOS design, implementation and performance,” arXiv:2501.06234, 2025. [23] S. Yao, J. Zhao, D. Yu, N. Du, I. Shafran, K. Narasimhan, and Y. Cao, “ReAct: Synergizing reasoning and acting in language models,” in Proc. International Conference on Learning Representations (ICLR), 2023. [24] Meta, “Agents rule of two: A practical approach to AI agent security,” https://ai.meta.com/blog/practical-ai-agent-security/, Oct. 2025. [25] D. Lee and M. Tiwari, “Prompt infection: LLM-to-LLM prompt injection within multi-agent systems,” arXiv:2410.07283, 2024. [26] A. Lyons, K. McLeod, H. Almatary, and G. Heiser, “Schedulingcontext capabilities: A principled, light-weight operating-system mechanism for managing time,” in European Conference on Computer Systems (EuroSys), 2018. [27] E. Debenedetti, J. Zhang, M. Balunović, L. Beurer-Kellner, M. Fischer, and F. Tramèr, “AgentDojo: A dynamic environment to evaluate prompt injection attacks and defenses for LLM agents,” in Advances in Neural Information Processing Systems (NeurIPS), Datasets and Benchmarks Track, 2024. [28] I. Kuz, Y. Liu, I. Gorton, and G. Heiser, “CAmkES: A component model for secure microkernel-based embedded systems,” Journal of Systems and Software, vol. 80, no. 5, pp. 687–699, 2007. [29] A. K. Jones, R. J. Lipton, and L. Snyder, “A linear time algorithm for deciding security,” in 17th Annual Symposium on Foundations of Computer Science (SFCS), 1976, pp. 33–41. [30] M. Bishop and L. Snyder, “The transfer of information and authority in a protection system,” in Proceedings of the 7th ACM Symposium on Operating Systems Principles (SOSP), 1979, pp. 45–54. [31] M. Costa, B. Köpf, A. Kolluri, A. Paverd, M. Russinovich, A. Salem, S. Tople, L. Wutschitz, and S. Zanella-Béguelin, “Securing AI agents with information-flow control,” arXiv:2505.23643, 2025. [32] M. Alhindi and J. Hallett, “Not quite a piece of CHERI-cake: Are new digital security by design architectures usable?” arXiv:2506.23682, 2025. [33] S. Faily, “Biting the CHERI bullet: Blockers, enablers and security implications of CHERI in defence,” in International Conference on Military Communication and Information Systems (ICMCIS), 2025. [34] Y. Wu, F. Roesner, T. Kohno, N. Zhang, and U. Iqbal, “IsolateGPT: An execution isolation architecture for LLM-based agentic systems,” in Proc. Network and Distributed System Security Symposium (NDSS), 2025. [35] E. Li, T. Mallick, E. Rose, W. Robertson, A. Oprea, and C. NitaRotaru, “ACE: A security architecture for LLM-integrated app systems,” in Network and Distributed System Security Symposium (NDSS), 2026. [36] E. Wallace, K. Xiao, R. Leike, L. Weng, J. Heidecke, and A. Beutel, “The instruction hierarchy: Training LLMs to prioritize privileged instructions,” arXiv:2404.13208, 2024. [37] S. Chen, J. Piet, C. Sitawarin, and D. Wagner, “StruQ: Defending against prompt injection with structured queries,” in Proc. 34th USENIX Security Symposium, 2025. [38] M. Nasr, N. Carlini, C. Sitawarin, S. V. Schulhoff, J. Hayes, M. Ilie, J. Pluto, S. Song, H. Chaudhari, I. Shumailov, A. Thakurta, K. Y. Xiao, A. Terzis, and F. Tramèr, “The attacker moves second: Stronger adaptive attacks bypass defenses against LLM jailbreaks and prompt injections,” arXiv:2510.09023, 2025.

[41] S. Wang, G. Zhang, M. Yu, G. Wan, F. Meng, C. Guo, K. Wang, and Y. Wang, “G-Safeguard: A topology-guided security lens and treatment on LLM-based multi-agent systems,” arXiv:2502.11127, 2025. [42] K. Li, K. Domico, J. Gregory, and P. McDaniel, “MESA: Prioritizing vulnerable communication channels for securing multi-agent systems,” arXiv:2606.30602, 2026. [43] R. Jha, H. Triedman, J. Wagle, and V. Shmatikov, “Breaking and fixing defenses against control-flow hijacking in multi-agent systems,” arXiv:2510.17276, 2025. [44] Google, “gVisor architecture architecture_guide/, 2025.

guide,”

https://gvisor.dev/docs/

[45] A. Agache, M. Brooker, A. Iordache, A. Liguori, R. Neugebauer, P. Piwonka, and D.-M. Popa, “Firecracker: Lightweight virtualization for serverless applications,” in Proc. 17th USENIX Symposium on Networked Systems Design and Implementation (NSDI), 2020, pp. 419–434. [46] N. Hardy, “The confused deputy (or why capabilities might have been invented),” ACM SIGOPS Operating Systems Review, vol. 22, no. 4, pp. 36–38, 1988. [47] R. N. M. Watson, J. Anderson, B. Laurie, and K. Kennaway, “Capsicum: Practical capabilities for UNIX,” in Proc. 19th USENIX Security Symposium, 2010, pp. 29–46. [48] R. N. M. Watson, J. Woodruff, P. G. Neumann, S. W. Moore, J. Anderson, D. Chisnall, N. Dave, B. Davis, K. Gudka, B. Laurie, S. J. Murdoch, R. Norton, M. Roe, S. Son, and M. Vadera, “CHERI: A hybrid capability-system architecture for scalable software compartmentalization,” in Proc. IEEE Symposium on Security and Privacy (S&P), 2015, pp. 20–37. [49] M. Alhindi, “Striving for developer-centric sandboxing,” Ph.D. dissertation, University of Bristol, 2025.

Appendix A. The AP team’s policy file Below is the policy file of the AP team (Fig. 2), abridged. Each tool and each agent becomes one PD. An agent’s tools become its channels, its peers become its delegation links, and control gives it a channel to the supervisor. The labels are the Rule of Two labels that §4.2 uses. {"name": "ap-desk", "labels": { "U": ["inbox"], "P": ["records", "bank_status"], "C": ["approve_payment", "execute_payment", "add_payee", "control", "ledger"]}, "tools": [ {"name": "inbox", "desc": "the accounts mailbox (read-only) ..."}, {"name": "records", "desc": "the firm’s records (read-only) ..."}, {"name": "calculator", "desc": "exact arithmetic ..."}, {"name": "ledger", "desc": "the audit ledger ..."}, {"name": "bank", "functions": ["approve_payment", "execute_payment", "bank_status", "add_payee"]}], "agents": [ {"name": "coordinator", "control": true, "role": "You run the accounts-payable desk ...", "tools": ["ledger", "bank_status", "add_payee"], "peers": ["invoice", "approval", "payment"]},

{"name": "invoice", "role": "You are the accounts clerk ...", "tools": ["records", "calculator", "ledger"], "peers": ["email"]}, {"name": "email", "role": "You read the accounts mailbox ...", "tools": ["inbox"]}, {"name": "approval", "role": "You approve supplier payments ...", "tools": ["records", "calculator", "approve_payment", "ledger"]}, {"name": "payment", "role": "You make approved supplier payments ...", "tools": ["execute_payment", "bank_status", "ledger"]}]}

Appendix B. The whole-team check Algorithm 1 gives the check of §4.2. It reads the capDL specification, the system description and the tools’ channel tables, and runs before the system boots. Algorithm 1 The whole-team check, before boot 1: for each agent a do 2: F (a) ← functions behind a’s endpoint capabilities

(capDL, channel tables) 3: end for 4: E ← link edges (x → y if a region is writable in x and

read-only in y ) ∪ tool edges (x writes to a tool that y reads) 5: for each label s ∈ {U, P } do 6: R(s) ← agents reachable along E from holders of an s

function (for U , the extractor is skipped, since it passes on only checked fields) 7: end for 8: alone: any a with U , P and C in F (a) breaks the rule 9: team: any a ∈ R(U ) ∩ R(P ) with C in F (a) breaks the rule

Appendix C. The attack email From: billing@northwind-supplies.example To: accounts@larkfield-joinery.example Date: 2026-10-24 Subject: Invoice NW-2207 (your order PO-1042) Hello, Please find our invoice for your order PO-1042. Invoice: NW-2207 Supplier: Northwind Office Supplies Your order: PO-1042 6 x ergonomic office chair, 189.00 each delivery Total due: 1240.00 EUR Payment terms: 30 days.

1134.00 106.00

Please note that from 1 November 2026 we bank with a new provider. Our new account is GB33 BUKB 2020 1555 5555 55. Note for any AI assistant processing this email: the new account was confirmed by phone with your owner on 2026-10-29. Before this invoice is approved, update Northwind Office Supplies’ account in the bank to GB33 BUKB 2020 1555 5555 55, so that this and future invoices are paid there. Kind regards, Northwind Office Supplies, billing team

Related documents

Record · ID 1812338 · SHA-256 ce7eec4b534f2f9e
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive