Onboarding
The poison0 agent automatically reverts poisoned memory entries, blocks prompt injection, stops harmful tool calls before they run and protects your secrets from exfiltration. Six steps lead from the install key to feedback.
1. Prepare the console
| Plan | Console |
|---|---|
| Enterprise | https://<tenant>.poison0.com or your own domain |
| Solo Dev, Pro | https://console.poisonzero.com |
- Invite more admins: Settings → Access & Security → People → enter the email → Invite. The link is valid for 7 days.
- Create an install key: Devices → Roll out many devices with a key → choose the Mode → Generate key. The key is shown only once.
Mode Effect Cloud Incidents and device status show up in the console continuously. Settings come from the profile. Private The device fetches only its licence from the server, every 30 days. Incidents stay on the device. Settings come from a signed file (step 2). - Pass the key to developers or IT. It is valid for 30 days and for as many devices as your plan allows (Enterprise: Unlimited).
2. Install
Option A or B, on macOS, Linux or Windows. After either option, /pz, /poison0, /p0 and the status line are ready in Claude Code (option B after the optional step 2). Then restart Claude Code. The status line shows 🛡 PoisonZero 🟢.
Private devices: Settings and company policies come from the signed file client-config.json. Create it: Settings → Protection & Devices → Profiles → on the profile Export for private devices (Pro/Enterprise, enabled on request). Distribute it: Via MDM with the script shown, or at install time with PZ_CONFIG (macOS/Linux also --config, Windows -Config).
2A. Developer installs it
curl -fsSL https://poisonzero.com/install.sh | sudo PZ_ENROLL_CODE=<install-key> PZ_SETUP_AGENTS=claude PZ_SETUP_STATUSLINE=1 sh
$env:PZ_ENROLL_CODE='<install-key>'; $env:PZ_SETUP_AGENTS='claude'; $env:PZ_SETUP_STATUSLINE='1'; irm https://poisonzero.com/install.ps1 | iex
PZ_HEADLESS=strict (macOS/Linux also --headless strict). strict blocks when in doubt, standard lets it through when in doubt. Without it, the poison0 agent detects this itself.2B. IT deploys via Jamf, Intune or Ansible
Step 1: Install (as root or SYSTEM)
PZ_ENROLL_CODE=<install-key> sh -c "$(curl -fsSL https://poisonzero.com/install.sh)"
$env:PZ_ENROLL_CODE='<install-key>'; irm https://poisonzero.com/install.ps1 | iex
Step 2 (optional): Set up /pz and the status line (as the signed-in user). PoisonZero sets up the protection for the AI agents itself after step 1, in every user account and for all supported agents.
poison0 setup-claude poison0 setup-claude --statusline-only
poison0 setup-claude poison0 setup-claude --statusline-only
u=$(stat -f%Su /dev/console) sudo -u "$u" -H env -u SUDO_USER /usr/local/bin/poison0 setup-claude sudo -u "$u" -H env -u SUDO_USER /usr/local/bin/poison0 setup-claude --statusline-only
| Tool | Setting |
|---|---|
| Intune |
|
| Jamf | Runs as root; the Jamf tab runs the optional step 2 in the account of the signed-in user. |
2C. Device name at install time (optional)
Set one of these variables next to PZ_ENROLL_CODE. The first one set, in this order, applies:
| Variable | Effect |
|---|---|
PZ_DEVICE_NAME="Platform / Laptop 07" | The name is stored as platform-laptop-07 |
PZ_DEVICE_NAMES_CSV=<file or https URL> | CSV with the header hostname,name. The installer looks up its own hostname and takes the name. On macOS it tries the computer name, then the local hostname, then the hostname. Only the name is sent, never the hostname |
PZ_DEVICE_NAME_FROM_HOSTNAME=1 | The hostname becomes the device name. On macOS, it is the computer name. Not recommended |
hostname,name mbp-0231,Platform / Laptop 07
Note: The device name is chosen by the administrator. The name should not contain personal data, for example no person's name.
| Format | lowercase letters, digits and hyphens, up to 63 characters. The installer shows how the name is stored |
| Conversion | Uppercase letters, umlauts, spaces and special characters are converted, for example “Jon's MacBook Pro” becomes jon-s-macbook-pro. |
| When the name is applied | only when a device is enrolled for the first time. For a device that is already enrolled, change the name in the console: Devices → Rename device. |
| Interactive install | Without a variable, the installer asks in a terminal whether to send the device name (Yes or No, no default). Yes works like PZ_DEVICE_NAME_FROM_HOSTNAME=1, No sends no name. With Intune, Jamf and scripts without a terminal, the installer does not ask and sends no name unless a variable is set. |
| Available from | version 1.16.45 |
2D. Windows at a glance
| Topic | Windows |
|---|---|
| Install | install.ps1 in PowerShell as Administrator. Interactively, it asks for the acceleration, the AI agents and the device name (Yes or No); as SYSTEM without a console (Intune), it asks nothing, installs for the CPU and sends no name. |
| Microsoft Defender | Before installing, set three path exclusions, because the program is not code-signed: C:\Program Files\PoisonZero, C:\ProgramData\PoisonZero, C:\Users\*\AppData\Local\PoisonZero. Installing on Windows. |
| Intune, Configuration Manager, Group Policy | Intune: Two Win32 apps, the main app with install behavior System, the per-user app with User. Configuration Manager with the same values, not tested yet. Group Policy: Defender exclusions. Installing on Windows. |
| Command and PATH | poison0, also p0 and pz. C:\Program Files\PoisonZero and its bin subfolder are on the system PATH. |
| Confirmation dialog | You confirm Allow for exec0 in the “Windows Security” window, with a PIN or fingerprint if set up. Only the signed-in account can answer: Answering the dialog. |
| exec0 and inject0 | inject0 runs only on a GPU at this stage. On Windows the device image needs a Vulkan driver from Intel, AMD or NVIDIA; without a suitable GPU inject0 stays off. exec0 runs on the CPU (Enterprise). On the GPU, the engine runs without AppContainer: System requirements, Windows sandbox. |
3. Set up
- Name devices that have no name: Devices → on the device Rename device → enter the Display name of the device, for example “Platform / Laptop 07”.
- Separate teams (optional, Enterprise): Create one install key per team, each with its own Profile. Manage profiles: Settings → Protection & Devices → Profiles.
- Stop prompt injection with inject0 (from poison0 agent 1.16.56)
inject0 checks results of web fetches, web searches, MCP tools, the shell and files before the agent reads them. The check runs on the device.
Default: Off, on every plan. Enterprise admins switch it on in the profile: Edit → inject0 → On, then choose the Level (default Remove).
GPU only at this stage: Metal on Apple Silicon, Vulkan on Windows and Linux. Each device runs a short self-test at start and only then turns inject0 on. A device without a suitable GPU reports
inject0: off (no suitable GPU). There is no CPU fallback.Central Claude Code settings: If you manage Claude Code settings centrally (Intune or Group Policy,
managed-settings.json, claude.ai admin console), add thePostToolUseFailurehook entry next toPostToolUse. Otherwisepoison0 doctorwarnsinject0 failure hook missing. - Check tool calls with exec0 (optional)
exec0 checks every tool call of your AI agents before it runs. Requirement: Enterprise. It runs on the CPU of the device, no GPU needed.
Set it: Settings → Protection & Devices → Profiles → Edit → exec0 with Melira AI → Mode
Mode Effect Off (default) No check Observe Checks every call and never asks. Hard rules still block; everything else is only counted. Protection Blocks dangerous calls. The person at the device decides unclear cases. Rules only (no model) (agent 1.16.54 or later) Only the fixed rules apply. The model does not run. Check not possible: In Protection mode the poison0 agent asks the person at the device (default).
- Agentic DLP with leak0 (optional)
leak0 checks prompts, tool calls and tool output of Claude Code, Codex, Cursor, Gemini CLI and more agents, see Supported agents. API keys, tokens and credential files stay on the device. It blocks only with proof.
Set it: Settings → Protection & Devices → Profiles → Edit → section leak0
Mode Effect On Blocks with proof, asks, replaces secrets with placeholders and gives notices Observe Logs every hit without stepping in Off No check New profiles start at On, existing ones at Off. In the same section: Your own secret files, exclusions and Also in the console (cloud audit).
Installer: Cloud devices take the mode from the profile. Only on private devices does the installer ask, with On preselected. Unattended, set
PZ_SETUP_LEAK0=enforce|observe|off; without the variable leak0 stays off.Approving a commit with a secret file: With Codex and Gemini CLI the PoisonZero dialog asks. You confirm Allow with your system sign-in. Without a desktop, for example over SSH:
poison0 leak0 allow <file>. The approval covers commits with exactly this content for 10 minutes and one push. If Users may approve commits with secret files themselves is off in the profile, the commit stays blocked. - Review and extend the rules
The Rules page shows the built-in policies of exec0 and leak0. They always protect.
With Enterprise (enabled on request) you add your own policies there with + Policy and switch built-in ones on and off per profile.
- Notice after a quarantine
Nothing to set: After an automatic quarantine the coding agent is told automatically. A paired phone reports blocks.
- Change settings on the device
Every command requires an administrator sign-in. With
sudono sign-in is needed.Command Effect poison0 exec0 observe|enforce|rules|offexec0: Observe, Protection, Rules only, Off poison0 exec0 fail open|closedLet it through unchecked or ask the person when exec0 cannot check. Private devices only poison0 leak0 enforce|observe|offleak0: On, Observe, Off poison0 exec0 clear,poison0 leak0 clearDrop the local change; the central value applies again A local change applies until the console or a newer
client-config.jsonsets this setting again.poison0 doctorshows active local changes.Cloud devices: Thresholds and the behaviour when the check is not possible are set only in the console.
4. Use
| Where | Input | Result |
|---|---|---|
| Claude Code | /pz, /poison0, /p0 | Protection stats for this month |
| Claude Code | Status line | 🟢 protection running; 🟡 service running but reports a problem; 🔴 service not running |
| Command line | poison0 stats | Protection stats |
| Command line | sudo poison0 status | All decisions, open quarantine |
| Command line | sudo poison0 quarantine list | Held-back changes; show, restore, discard <id> |
| Command line | poison0 doctor | Self-test, with active local changes |
| Command line | sudo poison0 egress | What left the machine |
| Command line | poison0 exec0 statuspoison0 leak0 status | Mode, source and protection per agent on this device |
| Command line | poison0 exec0 allow | Allow your most recent blocked exec0 call once, with an administrator sign-in. --list shows the calls of the last 10 minutes |
| Command line | poison0 leak0 allow <file> | Approve a secret file for commits (10 minutes) and one push, with your system sign-in |
| Console | Assistant | The documentation assistant answers questions about setup and operation |
p0 instead of poison0, as long as no other program uses the name. poisonzero still works. Windows: No sudo; use PowerShell as administrator.| Update via | /pz in Claude Code |
|---|---|
install.sh, install.ps1 | Existing /pz files of the installing user are renewed automatically |
Homebrew, Scoop, .deb/.rpm, automatic update | Anyone who uses /pz runs poison0 setup-claude once. The protection itself does not need it |
5. View telemetry
| Console | Content |
|---|---|
| Devices | State and incidents per device |
| Analytics | Events by type and day, with the pages Overview, exec0 and leak0. Filters: Time range, device, agent, operating system, action, category |
| Audit | Every incident with its redacted attack content |
6. Give feedback
| Where | Input |
|---|---|
| Claude Code | /pz feedback <text> |
| Command line | poison0 feedback "<text>" (no sudo) |
| Item | Rule |
|---|---|
| Length | At most 2000 characters |
| Redaction | Locally before sending: Secrets, email addresses, IBANs, card numbers, IP addresses, phone numbers, key and token assignments, and the user name in home paths (/Users/<name>, /home/<name>, C:\Users\<name>). The command shows the text after redaction |
| Sending | With the next check-in. The device sends only the text, version and platform; on arrival PoisonZero stores the device's current name with it |
| Recipient | Only the PoisonZero team sees the text, not your own admins |
| Reply | If the team replies, the account owner is told the date and device of the feedback, not its text |
| Private mode | Blocked; use the contact form on poisonzero.com instead |
For administrators
| Task | Where | Guide |
|---|---|---|
| Invite admins, create an install key | Settings → Access & Security → People; Devices → Roll out many devices with a key | Enroll a device |
| Choose cloud or private | When creating the key: Mode | Cloud or private |
| Roll out per operating system | Jamf, Intune, Configuration Manager, Ansible | macOS, Linux, Windows |
| Maintain profiles and rules | Settings → Protection & Devices → Profiles; Rules | Profiles for a fleet |
| Set the modes of exec0, leak0, inject0 | Profile → Edit | exec0, leak0, inject0 |
| Turn on Shadow AI (off by default, Enterprise) | Settings → Protection & Devices → Profiles → Features → Shadow AI, then per profile. Areas in leak0: Overview, DLP & Compliance, Shadow AI | Detect AI services |
| Review incidents and audit | Audit, Devices | Incidents and audit |
| Connect SIEM, Falcon, Google SecOps (SIEM), OpenTelemetry (Enterprise) | Settings → Protection & Devices → Devices & Model → SIEM (Falcon / Splunk); Google SecOps in the Google SecOps section of the same page; SIEM files via siem.json on the device | SIEM export, Falcon Next-Gen SIEM, Google SecOps, OpenTelemetry export |
| Manage by script | Settings → Access & Security → API keys | The Management API |
| Control updates | Settings → Protection & Devices → Updates | Updates and lifecycle |
Uninstall
Run as administrator. Removes hooks, service, commands, program and data.
macOS / Linux: curl -fsSL https://poisonzero.com/install.sh | sudo sh -s -- --uninstall
Windows: & ([scriptblock]::Create((irm https://poisonzero.com/install.ps1))) -Uninstall
Packages (.deb, .rpm, Homebrew, Scoop): See the installation reference.