p. 2How it works
How Bo works
What Bo does, which parts exist today, and how it will use Endpoint Security.
The idea
AI coding agents treat the files in the folder they work in as instructions. A file planted there can steer an agent into changing its own settings, reading credentials or sending data away. The agent cannot be fixed from the inside, because following those files is what it is built to do. Bo sits outside it.
- It knows which programs are agents. Bo recognises an agent by its code signature and follows every process the agent starts. Its rules apply to that family of processes and to nothing else on the Mac.
- It decides on the Mac. Every decision is made on the Mac itself. Nothing an agent does is sent to a server to be judged.
- Agents cannot change its rules. An agent can ask and be told no, but Bo's rules are not the agent's to change.
- It does not depend on the app. Protection continues when the menu-bar app is closed.
Agent policy
Coding agents already follow policies that an administrator sets. Bo provides one for each supported agent, so that each action the agent takes is checked before it happens.
- Instruction files. Bo knows where an instruction file came from. One that arrived from the web, or that nobody has reviewed, waits for a person before an agent may act on it.
- The agent's own settings. The attacks Bo is built against work by rewriting an agent's settings. Bo notices such a change, puts it back and records what changed. A change the person made on purpose can be kept from the app.
- Tool servers. Agents can start helper programs that run with the person's privileges. Bo lists them, identifies each by what it actually runs rather than the name it gives, and stops a new or changed one until the person accepts it.
- Two profiles. A standard profile for everyday work, and a stricter one for unattended runs.
Contained sessions
A person can start an agent in a contained session, using protections built into macOS. Inside it, the agent can work on its project and little else, and everything it starts stays inside with it.
- Changes. The agent may change the project it was given, not its own settings or the rest of the Mac.
- Secrets. Keys and tokens the agent has no business reading are kept from it.
- The network. The agent can reach the places its work needs. An unknown destination is refused with a reason, and the person can allow it. Bo does not read the contents of the agent's traffic.
- Packages. Packages are checked before they are installed, and known-malicious ones are refused.
Quiet by default
The agents already ask people for approvals. Bo does not add a second layer of questions on top of them.
- A refusal goes to the agent with its reason, and the person sees it in the day's record. A refusal never opens a dialog.
- Bo interrupts only to install or change itself, when an agent's session cannot go on until the person looks at something of their own, or when protection is off. Then it asks once, and deny is the default.
- Nothing that would be refused is ever allowed just to avoid a prompt.
The decision record
Every decision is recorded on the Mac and grouped by agent session, so a session reads as one story: where it started, what it loaded, what it changed and what was refused. Secrets are removed before anything is stored, each person sees only their own records, and a session can be exported. See Privacy.
How Bo uses Endpoint Security
The parts above use only interfaces that need no special permission from Apple. They can put a change back after it happens, but cannot stop it before. Bo's Endpoint Security client will apply the same rules before the operation, to agents however they were started. It waits on Apple's approval of the Endpoint Security entitlement.
Bo needs to authorise a small set of events, not just observe them, because the harm is done by the operation itself: by the time a notification arrives, a credential has been read or a configuration file replaced.
Working with macOS, not around it
macOS already protects people's data from apps, and the agents' makers give their agents sandboxes of their own. Bo builds on both and replaces neither. It asks for Endpoint Security for the part they cannot reach.
- Grants are per app; the risk is per process tree. An agent started from a terminal or an editor shares that app's permissions. The question that matters is narrower: may this agent, which may be following an attacker's text, read the person's keys? Only the agent's family of processes answers that.
- The attack stays inside what the person rightly granted. It works in the person's own folders, where a developer tool belongs. A narrower grant cannot tell the agent's honest edit of a source file from its rewrite of its own settings.
- An agent's own sandbox is set by the agent. It can be switched off from the agent's own settings, which is exactly what the attack rewrites. A control the steered process can turn off is not a boundary.
- More prompts do not make it safer. Asking about every action trains people to click Allow. Bo decides quietly, by rule, and refuses the few actions that matter.
Bo only ever narrows. It never grants an access macOS has not granted, and never answers a system prompt for the person.
| Need | Events | Why |
|---|---|---|
| Stop an agent's processes reading credentials they have no business reading | File opens for reading authorise | A read cannot be undone |
| Stop an agent rewriting its own configuration | File writes, renames, deletions, links and copies authorise | The change takes effect at the agent's next start and stays after the poisoned folder is gone |
| Stop an agent loading an instruction file that arrived from the web until the person has reviewed it | File opens authorise | The file is acted on as soon as it is read |
| Stop an agent starting a program with its safety controls switched off | Process execution authorise | The program runs unprotected from its first instruction |
| Know which agent session each event belongs to | Process start and exit notify | Rules follow the agent's family of processes, not process names |
| Report background items an agent installs | Background task management notify | So the person can see and remove them |
How Bo limits its own footprint
- It authorises only for agents' process trees and a short list of agent configuration files. It does not watch the person's other apps.
- It asks only for the events its rules need, and mutes the rest, so builds, installs and ordinary work are never delivered to it.
- The extension makes no network connections. It passes events to Bo on the same Mac and applies the answer.
- Everything is decided locally. No event data, file paths, file contents, commands or URLs are sent to any server.
What the person sees
- They install a notarised app, approve the system extension in System Settings and grant Full Disk Access, with each step explained in the app.
- When an agent's action is held, they get one prompt that says which agent is asking, what it wants to do and to what. Deny is the default.
- They can review every decision afterwards, grouped by agent session, and can turn any protection off.
Bo is distributed with Developer ID, outside the Mac App Store, signed and notarised.
What Bo is not
- It is not a malware scanner, and does no behavioural detection or sample analysis.
- It does not read the contents of encrypted traffic.
- It does not replace other protection on the Mac. It adds the layer that knows which programs are agents.
- The first version is for macOS only.
Questions about the design: hello@agentbo.io.