SAFETY
The safety model
A coding agent runs commands a model chose, on your machine. Uno puts five layers between the model and your machine, and is plain about what each one does not stop.
The layers
| Layer | Stops | Page |
|---|---|---|
| Trust gate | A cloned repo's own settings, hooks and MCP servers from taking effect until you say so | Trust |
| Rules | Calls you have forbidden (deny), or want asked about (ask) | Permissions |
| Mode | Edits and risky commands without your say-so | Permissions |
| Sandbox | Shell commands writing outside the project, reading secrets, reaching Docker or an SSH agent through their sockets | Sandbox |
| Undo | A bad file change from being permanent | Sessions and undo |
| Spending cap | A runaway loop from running up a bill | Spending cap |
Always true, in every mode
.envfiles and key files are never read by Uno's file tools.- Changes under
.git/,.uno/and.claude/ask, because they steer the tools themselves. With-pthey are refused, plan mode refuses them, and only bypass mode lets them through. - The model cannot run
uno trustfor itself, even in bypass mode. - A
denyrule holds even in bypass mode. - Your API keys never reach hooks, MCP servers or the model.
- Web pages, MCP results and recalled sessions are marked to the model as data, not instructions.
What it does not stop
A command you allow runs unconfined. --allow "bash(docker compose)" lets that command run outside the sandbox, on your machine, with nothing confining it. Keep rules narrow.
The model can be talked into things. A malicious README or web page can try to steer it. The gates limit what it can do, not what it wants to do; read what you approve.
Shell changes are not undoable. Only changes made with Uno's file tools are snapshotted.
MCP servers and hooks run outside the sandbox. They are programs you chose to run; trust them as you would any program.
Linux and Windows are less tested. The macOS sandbox has run for real; Linux needs bubblewrap; Windows has no sandbox yet.
Several thin layers, each easy to reason about, rather than one clever classifier. The order is fixed (trust, then rules, then mode, then sandbox), so you can always predict the outcome. The sandbox has the network by default so installs need no unconfined command; your keys stay unreadable to it, and "sandbox": {"network": false} closes the network where the code itself must not leave.