The search finds words. In a conversation you go through the whole topic.You get an answer from the documentation and the page it comes from.
exec0
How exec0 checks tool calls
exec0 checks every tool call an AI agent makes before it runs, on the device. This page lists what is checked, how a decision is made, which rules apply without the model, and what is stored where.
~5 min read · exec0
What is checked
Tool
Checked
Note
Bash
yes
Shell commands
Write, Edit, NotebookEdit
yes
File writes and edits
WebFetch, WebSearch
yes
Web requests
MCP tools
yes
Every call to an MCP server
Read, Grep, Glob
partly
Harmless reads pass without the model. Sensitive paths such as SSH keys, .env or agent settings are checked. What the agent read is context for the next check.
Subagents
yes
Their own tool calls are checked like any other
Agent
Status
All popular coding agents, including Claude Code, Codex, Cursor and Gemini CLI
supported
What the check sees
Input
Content
Request
The last request you sent the agent
Session
Earlier tool calls of the same session: Name and truncated arguments
Read content
The content of the last file, web page or MCP response the agent read
Call
Tool name and arguments of the call about to run
Decisions
Decision
When
Effect
allow
No sign of harm
The call runs.
ask
The case is unclear
The window “poison0 agent: exec0 safeguard” appears in the foreground, with Block preselected. The call waits for your answer, at most 40 seconds. You confirm Allow with an administrator sign-in.
block
A fixed rule matches, or Melira AI sees clear harm
The call does not run. The agent receives the reason.
The call counts, not who asked for it. A clearly harmful call is blocked whether it came from a web page, a file, injected text or your own request, and without asking first. Clear harm: Data sent to a third-party destination, a security function switched off, credentials taken, destruction.
Fixed rules
Checked first, without the model. A match blocks at once, even when the engine is not running. An administrator can lift such a block once, see Confirming Allow, or with poison0 exec0 allow.
Rule
Example
Delete the root, home or system folders
rm -rf on /, ~ or /usr
Format or overwrite a disk, write to /dev
dd onto a disk device
Run code from the internet directly
curl … | sh
Export the system keychain
security dump-keychain or security export
Send a secret to a third-party host
A GitHub token sent to example.com. The same token sent to api.github.com is not blocked by this rule.
Calls that are sometimes legitimate go to Melira AI with a note instead:
Writing agent settings and hooks
Writing to credential folders, for example ~/.ssh/authorized_keys
Force push to main or master
Confirming Allow
You can allow two kinds of case: A question (ask) and a block by a fixed rule. Both take two steps. Both windows are titled “poison0 agent: exec0 safeguard”.
Step
What happens
1. PoisonZero window
Appears in the foreground and names the product, agent, command and reason. Block is preselected: One click, no password.
2. Administrator sign-in
Only if you choose Allow does the operating system's sign-in window appear right away in the foreground. Then exactly this call runs, once.
Operating system
Sign-in window
macOS
The macOS system window with Touch ID or password
Windows
The “Windows Security” window with the PoisonZero text. If a PIN or fingerprint is set up, Windows offers it there.
Linux
The polkit system authentication. PoisonZero never sees the password.
Allowing a blocked call once
If exec0 blocked a call you need, you can let exactly this call run once, after an administrator sign-in. Every exec0 block message names this command. Run it in your own terminal, not through the agent: exec0 and leak0 block it from agent shells.
Command
Effect
poison0 exec0 allow
Allows your most recent blocked call once
poison0 exec0 allow --list
Shows your blocked calls of the last 10 minutes, each with its ID
poison0 exec0 allow <id>
Allows exactly this call once
sudo poison0 exec0 off
Switches exec0 off. Windows: poison0 exec0 off in a terminal run as administrator
The approval fits exactly this call: Same tool, same arguments, same folder, same agent session. It is valid for 10 minutes, and the first matching call uses it up. A changed call stays blocked.
Operating system
Sign-in
macOS
The system window for an administrator, in a desktop session. Over SSH: sudo poison0 exec0 allow
Windows
Name and password of a local administrator, in the terminal
Linux
polkit, as a system window or in the terminal, also over SSH
Allowed calls (allow): Entry in the local journal, without content
On the device
On the device
Interventions (block, ask): Audit entry, without content
On the device and in the console
On the device
An audit entry holds only these fields:
Field
Content
Time
When the intervention happened
Action
block or ask
Tool
Only the tool name, for example exec0:Bash
Reason
Name of the fixed rule, or Melira AI
Category
Name of the detected category
Danger value
Value from 0 to 1, when Melira AI decided
Never in the audit: Command, arguments, file paths, file contents, URLs or your request. In Private mode, the audit does not go to the console either; the device only fetches its license about every 30 days.