What Isonapse does for coding agents
It puts your local rules between supported coding agents and covered actions, keeps signed authorization records you can verify later and, outside Profile, pauses or blocks risky work before it runs.
Decide
You define the policy.
Enforce
Isonapse checks before covered actions run.
Prove
Signed records show what was authorized.
Agent Hook or Community Edition?
The Agent Hook does the checking. Community Edition gives it a dashboard. Community Edition does not replace the Hook: it runs beside it.
| Question | Agent Hook | Community Edition |
|---|---|---|
| What it is | A small program on your machine. It checks the covered actions your coding agent is about to take against your rules, before they run. | A server and a dashboard you run yourself, in Docker, on a machine you control. |
| What you get | Rules and modes, signed records you can verify, and health checks, all from the terminal. | A browser page to set up agents and change policy, and the signed records of every machine you connect to it in one view. |
| What it needs | No Docker, no server, no Isonapse account. To change rules or modes, an administrator account, one that can use sudo. | Docker, and the Agent Hook on each machine it looks after. |
| Who decides | The Hook, on your machine, by your rules. | Still the Hook. The dashboard proposes a change, and you approve it in your terminal. |
| Do you need it? | Yes. Nothing is checked without it. | Only if you want a dashboard, or records from several machines in one place. Without it there is no dashboard. |
Rules, modes, policy rollback and signed records all work with the Hook alone. The wizard installs both; the command line installs the Hook, and you can add Community Edition later. Community Edition is free for evaluation under the Isonapse Public Beta EULA. See the two ways to install.
Supported hosts
What Isonapse can do depends on what each host reports and accepts. Claude Code, Hermes Agent and pi are built in; other agents connect through the Hook ADK, and the easy install sets up Codex CLI for you. Setup for each host is in the install guide.
| Host | Versions | How it connects | Block | Ask you | Rewrite input | Replace output | If the daemon cannot be reached | If the hook cannot run |
|---|---|---|---|---|---|---|---|---|
| Claude Code | No pinned version; Isonapse does not check it | Built in, thirteen hook events | Yes | Yes | Yes | Yes, within documented limits | Claude Code shows its own approval prompt; Isonapse records nothing | For a tool call, an error the Hook catches asks before the call or withholds the result after it. A submitted prompt or a notification passes with a warning. What Claude Code does when the Hook cannot start at all is not verified. |
| Hermes Agent | Exactly v0.20.0 (2026.8.3); setup refuses other builds | Built in, plugin | Yes | No: a question becomes a refusal, recorded when witness storage is available | No: a call that needs a rewrite is refused | No | Hermes refuses the call, without a receipt | A plugin error refuses the call. In Hermes safe mode the plugin does not load, and nothing is checked. |
| pi | Exactly pi 1.0.3, 1.0.4 and 1.5.0; Node.js 22.19.0 or newer | Built in, pinned extension | Yes | Yes, through pi's own prompt | Yes | Yes | Tool calls are refused, without a receipt | A failing extension refuses the call. On an unlisted pi, every tool call is refused without a receipt. If pi does not load the extension, nothing is checked. |
| OpenAI Codex CLI | codex-cli 0.159.0 or newer; contract-tested on codex-cli 0.164.0 on macOS arm64 and Linux x86_64; the adapter does not check the version | Hook ADK reference adapter: the easy install sets it up, or you review and register it yourself. The ChatGPT desktop app runs the same ~/.codex hooks; it is unproven and unsupported | Yes | No: a question becomes a refusal, recorded when witness storage is available | Yes, in Normal and Enforce: shell commands, single-file patches, MCP tool arguments | No; a result can be withheld | The adapter refuses the call, without a receipt | Codex runs the tool with no check (a cooperative, fail-open host) |
| Your own agent | Your adapter, built with the Hook ADK (Python or TypeScript) | A host profile you register | Yes, if the host honors a refusal | As declared in your reviewed host profile | As declared | As declared | Your adapter refuses | Depends on the host |
Platforms: macOS 11 or newer on Apple silicon, and Linux x86_64 with glibc 2.35 or newer. No Intel Mac, Linux ARM or Windows build.
What Isonapse guarantees, and what it does not
What Isonapse guarantees
- With the Isonapse daemon running and a host's integration active, covered actions from Claude Code, Hermes Agent and pi, and from Codex CLI while its adapter runs, are checked on your machine before they run.
- In Normal and Enforce, a block rule in the active policy denies the actions it names. A shell command is matched by the program Isonapse's shell analysis attributes it to. Learning and on-device models can add a question or a refusal, but they never turn a block into an allow. A language model never gets the final say.
- Every allow, and every question you can approve, that the local daemon issues is signed into a tamper-evident log before the action goes ahead.
isonapse hook witness verifychecks a copy offline with only the public key. - Refusals the daemon decides are recorded whenever its witness storage is available. Refusals that a host integration or adapter makes before the daemon decides carry no receipt. A self-protection stop by the Hook is recorded as a signed event only when the running daemon confirms it; it is never an authorization receipt.
- After setup has downloaded the required model, enforcement needs no network connection.
- The Agent Hook needs no account and sends no telemetry. Your rules, history and learned state stay on your machine by default (see Local operation).
What it does not do
- It is not an operating-system sandbox: it checks the actions a host reports, not every process on the machine.
- Shell commands are checked by static analysis, and that analysis is bounded. An unusual way of writing a command can lead the analysis to attribute it to a different program than the one that runs, so a rule is a guard rail, not an operating-system sandbox.
- It covers only the events each host exposes (see Supported hosts). Hermes and Codex cannot ask you: whenever Isonapse's final decision is to ask, they get a refusal instead.
- Profile, where the command line's
isonapse hook initstarts, observes and reports: your rules and the safety checks are advice there. Structural limits and self-protection apply in every mode, and so do refusals by the host integration itself. - Normal, where
isonapse setupstarts a new machine, enforces your block and ask rules plus catastrophic and non-bypassable shell safety. An existing installation keeps its mode when you update. On the Agent Hook, Enforce adds behavioral checks for unfamiliar work, destructive and opaque programs, previews and learned similarity. Wrapped proxies retain their existing generic Enforce filters. Normal does not ask merely because a session is new or evidence is thin. - If the Hook cannot reach the daemon, for example after
isonapse hook stop, the Hook's local self-protection refusal is the only decision Isonapse makes. Claude Code falls back to its own approval prompt, which Isonapse does not record. Hermes, pi and the Codex adapter refuse the call. - Codex is a cooperative, fail-open host. The adapter refuses every failure it can see, but if Codex cannot start the adapter or has not trusted its hook definitions, Codex runs the tool anyway. After setup and after every change, make one harmless call and confirm a new receipt with
isonapse hook report --host <host ID>. - PII and injection detectors can miss. Secret scrubbing protects exact values, not encoded or derived copies.
- It cannot erase what a host has already recorded, and withholding a result does not undo an action that already ran.
Profile, Normal, and Enforce
Profile only advises on your written policy. Normal and Enforce apply your block and ask rules plus catastrophic and non-bypassable shell safety. Enforce adds behavioral review. Structural limits and self-protection apply in every mode.
New wizard setups start in Normal. A standalone isonapse hook init starts in Profile. An existing installation keeps its mode when you update. Each session can track up to 512 agent-and-capability pairs and 64 agents. If a long session hits the limit, let active work settle and run isonapse hook reset-structural --host <HOST> -- <SESSION_ID> in your own terminal. It asks for your computer password and records the reset.
Changing mode is an operator action through the installed CLI. Moving back to Profile or Normal requires an interactive confirmation, and the signed transition remains authoritative across restart and routine witness retention. Where local policy permits, a personal install can pause just Enforce's learned checks for up to 30 minutes after fresh OS authentication. The current mode and other controls remain unchanged; authorization and completion receipts are still required.
What permits a pause, and when does it end?
isonapse hook pause --for 10m requires an explicit, unscoped static Lua PERMIT for lifecycle:pause-learned. Policies with a custom action dispatcher cannot grant this pause. Work permitted through a pause does not become permanent learned approval. Expiry, hook resume, restart, or a mode or policy change restores the learned layer. Managed or unknown deployments deny relaxation while enterprise approval support is unavailable; a local password cannot replace enterprise permission.
Profile
Observe and learn
Ordinary behavioral work is authorized and observed while Isonapse builds a baseline. Hard limits, structural safeguards, and narrow self-protection can still stop an action. The configured PII action does not rewrite ordinary input or output in this mode.
Normal
Apply rules and the safety floor
Your explicit block and ask rules, hard limits, data protections and the deterministic shell safety floor apply. Normal keeps structural bookkeeping without heuristic vetoes. Enforce adds the behavioral checks supported by the integration: generic filters on wrapped proxies, plus preview, intent, destructive/opaque and learned checks on the Agent Hook.
Enforce
Use rules and the learned baseline
Written policy remains authoritative. The learned baseline helps familiar work pass and sends unfamiliar or risky work to confirmation or denial, within hard safety boundaries.
A policy is a readable Lua file
This canonical example blocks rm deterministically for every matching action. Comments are omitted here; the distributed example explains each field.
A simple explicit deny
return {
policy_version = "action-rules-v1",
actions = {
["tool:Bash:rm"] = {
decision = "DENY",
reason = "destructive — use trash-cli or a scoped script",
},
},
}A file rule can cover a whole folder: a blocked file pattern that ends in a slash covers that folder and everything under it, and a relative pattern matches at any depth. Normal and Enforce deny; Profile records what would be denied. Folder rules check the targets a command visibly names; they are not operating-system confinement. You can try a policy before it goes live, and roll back to an earlier one. Try a first rule.
The open part: the Hook ADK
The Hook, the daemon and the policy engine are the product, and their binaries are not open source. The Hook ADK, which connects other agents to them, is open source under Apache-2.0.
Current Agent Hook releases carry it as isonapse-adapter-toolkit.tar.gz, with:
- the Python and TypeScript packages;
- the Host Adapter Protocol v1;
- the integration and host-admission guides;
- the OpenAI Codex CLI reference adapter.
After installation it is at $(brew --prefix)/share/isonapse/isonapse-adapter-toolkit.tar.gz (Homebrew) or ~/.isonapse/bin/isonapse-adapter-toolkit.tar.gz (install script).
Its public source also has the conformance runner and its fixtures, an adapter scaffold, and the Hermes and pi references. Browse the Hook ADK source on GitHub.
The adapter checks every directory on the Hook's path and compares the binary with a SHA-256 pin. isonapse update refreshes an existing pin file written by isonapse hook adk-pin. If the pin is stale, the adapter refuses the call until the file is refreshed.
An adapter that cannot reach or verify the Hook refuses the action. Whether the host honors that refusal depends on the host (see Supported hosts).
Public beta: the APIs and the Codex reference can change between releases. The packages are not on npm or PyPI.
Team server and dashboard
Deciding whether you need it? See Agent Hook or Community Edition?
Community Edition, a self-hosted server and dashboard, is in public beta. It runs in Docker on a machine you control. With Docker, brew install isonapse/tap/isonapse and then isonapse setup in your own terminal start it and connect the agents on this machine, with no file to edit.
- Setup wizard: create the administrator, choose the agents and a mode, and review the plan.
- Hosts page: for Claude Code and Codex on this machine, it says how far Isonapse covers each: Not set up, Can't tell, Needs attention, Set up, not seen yet, or Seen working. It adds, removes or re-adds either of them. For another machine that joined with a code, it shows only when its last record arrived.
- Policies page: pick a scenario, adjust it, try examples, read the exact change, then activate it. You can roll back to an earlier policy.
- Approval in your terminal: each agent or policy change is a plan you approve once with
isonapse approve, after checking that the terminal shows the same plan.isonapse approve --cancelcancels one that is waiting. - What agents did: sessions of every connected agent, including Codex, Hermes Agent and pi, reach the Agents, Witness Log and Analytics pages once they report. The dashboard shows what agents may do and what they did; it does not run them.
- Updates: the Hosts page can check public release information once a day while the paired dashboard is open. You can turn that off or check manually. The Update panel shows what changed and the
isonapse updatecommand to run in your own terminal. - Another machine: the dashboard issues a one-time join code, and
isonapse joinon the other machine connects it. A real second machine needs your server behind HTTPS.isonapse server nodeslists every machine and join code your server knows.
Limits: a program running as you, including an AI agent that can use your browser or Docker, can use the Hosts page with your pairing; changes still need your password in your terminal. An AI agent that can use the Docker running your server controls the server, its records and its keys, so run the server on another machine or under another account when its records must hold against your agents. This version supports single-user machines.
The server keeps its data in a Docker volume you control, and Isonapse never receives it. Install with the wizard and dashboard
Exact behavior and limits
The summaries above explain the product. Expand these technical boundaries when you need to assess a specific workflow or threat.
A checkpoint on covered actions — allow, ask, or block
What it does: Checks the shell, file, web and tool calls a supported host reports, on your machine, before they run: allow, ask or block.
Limits: Coverage depends on what each host exposes; see Supported hosts.
Read technical details and limitations
Covered actions your agent proposes — shell commands, file edits, web requests, and tool calls — pass a checkpoint before they run. Routine work flows through silently. Normal and Enforce apply catastrophic and non-bypassable shell safety plus your explicit block and ask rules. Enforce also asks about ordinary destructive or unfamiliar work; Profile observes.
Coverage follows what each host can expose. Claude Code provides the fullest thirteen-event integration. Hermes Agent covers pre-tool authorization and session lifecycle, while result observation is not a final model-wide rewrite. The pinned pi extension covers tool calls, prompts, and session lifecycle when it is the only active pi extension. Unsupported host events never inherit a stronger claim.
A block or confirmation message names the event, decision, risk, and a safe next step. It does not repeat raw policy errors or tool content in the explanation. Existing operator warnings remain visible. An evidence reference helps investigation but is not proof that a receipt was stored; host approval alone is not an Isonapse authorization receipt.
Agents without a built-in integration connect through the Hook ADK, the open-source (Apache-2.0) adapter toolkit. OpenAI Codex CLI is its maintained reference adapter, and with Docker the easy install sets it up for you. See Supported hosts for what each host can and cannot do, and the install guide for setup. Codex is a cooperative, fail-open host: the adapter refuses every failure it can see, but if Codex cannot start the adapter or has not trusted its hook definitions, Codex runs the tool anyway. After setup and after every change, make one harmless call and confirm a new receipt with isonapse hook report --host <host ID>.
For a tool call, Isonapse first prepares any supported rewrite without consuming gate state, then authorizes the exact final input once. WebFetch policy context comes from the final URL, and an MCP tool's complete nested input stays bound. The hook independently checks the returned action, capability, and canonical input digest before it gives Claude Code an updatedInput; a missing, malformed, or mismatched binding asks instead of automatically allowing an unbound effect. That fail-closed host ASK can still be human-approved in Claude Code, but such approval proceeds outside the verified-effect and receipt guarantee. A verified bound DEFER/ASK is different: it carries the exact bound update backed by its durable authorization receipt.
Control-plane decisions are deterministic: the same situation produces the same answer every time, and every authorization that can advance is recorded. No language model decides what your agent is allowed to do — your rules do. The learned layer fills the space between your rules, and it is bounded by them: it can never loosen a rule you wrote, and it can never unlock a catastrophic operation.
It learns your normal, so it can flag the abnormal
What it does: Normal learns from ordinary work while applying your rules and safety checks. You can review the rules it proposes before switching to Enforce, where actions close to work you approved before can pass without a question.
Limits: Learning never overrides a rule you wrote, and in Enforce a familiar-looking destructive action still asks. Gate mode is machine-wide: a project's switch to Enforce applies to every repository and host on the machine.
Read technical details and limitations
Normal applies your rules and the shell safety floor from the start. Recognised credentials in shell commands require review or are refused, and the configured PII action can tokenise selected successful tool results before the next model request where the host supports replacement. Profile learns from ordinary work and advises on rules. Fixed structural and resource limits, malformed structural identity, and narrow self-protection can block in both modes. When you want behavioral review in Enforce, review the exact proposed policy diff before you apply it.
From then on, within the same capability and safety scope, a close two-of-three approval quorum can let routine actions pass silently; no scored eligible precedent asks, while a distant scored precedent blocks. Every successfully recorded approval is remembered — routine actions earn silent passage after a couple of close approvals, and one unusual approval never quietly widens what's allowed. The learned judgement stays inside your rules and can never override a rule you wrote. A familiar-looking destructive action still asks through the deterministic safety layer, and catastrophic operations stay blocked no matter what the system has learned.
Your user policy still provides the machine-wide baseline. A repository can now add restrictive project rules in .isonapse/policy.lua, and learned history stays partitioned by repository. A fresh clone inherits those restrictions immediately; widening routes require an explicit trust grant bound to the exact project-policy bytes.
Inside the checkout, preview with isonapse hook suggest --repo . --diff, review the diff, then run isonapse hook apply --target project. Inspect the result with isonapse hook policy show --repo . before committing .isonapse/policy.lua. Project apply writes restrictions, then attempts a guarded transition to Enforce; failed admission leaves the policy applied and the mode unchanged. Gate mode is machine-wide, so while the machine is still in Profile or Normal, that transition switches every repository and every host on it to Enforce, not only the current project. Ordinary apply targets the user baseline.
Its own control files get an immediate, narrow guard
What it does: In every mode, before the daemon is contacted, the Hook refuses direct attempts to remove, overwrite, move or change permissions on Isonapse's control files and installed Hook. It also refuses a governed agent's isonapse commands unless they are read-only, such as hook status and hook explain: run the others yourself, in a terminal outside the agent's session.
Limits: It is a best-effort check of direct tool arguments, not an OS sandbox. A stop is recorded as a signed event only when the running daemon confirms it.
Read technical details and limitations
Before the hook tries to start or contact the daemon, it rejects direct attempts to remove, overwrite, copy over, move or change permissions on its control files and installed Hook. This narrow guard applies in Profile, Normal and Enforce, including when hardened mode is off. Literal instructions quoted in a heredoc remain document content; executable substitutions are still checked. Hardened mode additionally checks direct Isonapse process-kill requests.
Plugin hooks.json stays hooks-only because plugins cannot install host permissions. Managed mode adds current Claude Code deny rules in OS managed settings and allowManagedHooksOnly. Both layers inspect direct tool arguments; they are defense in depth, not an OS sandbox. A local self-protection stop is never an authorization receipt. When the running daemon confirms it, the stop is recorded as one signed event that carries a digest of the command, never the command; otherwise the stop says that no record is claimed.
In every mode, the Hook refuses covered reads of known credential files and agent writes to Claude Code's user settings. It also refuses project settings edits that change hook or plugin governance or whose safety it cannot verify. Make those changes from your own terminal. Covered native edits to files that run code later, such as workflows and Git hooks, require approval in Normal and Enforce inside a verified workspace. A host that cannot ask refuses. If the workspace cannot be verified or the target is outside it, start a new session in a folder that contains the target or make the change yourself in your terminal.
Prompt-injection guardrails on covered paths
What it does: Scans tool output for injected instructions before the agent acts on it. When you invoke a skill or custom command as a slash command, a file changed since setup stops it until you review the change.
Limits: Structural and model detectors can both miss an injection. The skill check does not yet cover Claude's model-invoked Skill tool or content outside the configured roots.
Read technical details and limitations
A poisoned web page or a malicious instruction file can turn a capable agent against you. The checkpoint lives outside the agent, so being persuasive doesn't help. Normal and Enforce apply a deterministic floor to catastrophic operations and non-bypassable dangerous patterns, subject to narrowly scoped operator exceptions. Enforce also asks about ordinary destructive work; Profile records it. Many disguised forms of dangerous operations are caught by inspecting what a command actually does rather than what it is called. (A public benchmark suite is on the roadmap, so you won't have to take our word for it.)
Configured personal skills and installed-plugin prompt files are fingerprinted during setup. When you invoke a skill or custom command directly as a slash command, those roots are checked before expansion. A changed or newly added file stops the expansion until you review it, while injection findings warn or block according to policy. This just-in-time check does not yet cover Claude's model-invoked Skill tool or project, managed, legacy-command, and additional-directory content outside the configured roots. Tool output is scanned for injected instructions before the agent acts on it — structural checks work out of the box, and a stronger on-device detector switches on when the downloaded optional model loads successfully. Busy, transient-resource, or namespace-race failures use the structural path for that request and retry later. Deterministic corruption or parser failures stay on that fallback until the exact model stamps change; blocked Linux loader primitives require repair and a daemon restart.
Use hook skill check for a compact summary and bare hook skill diff for baseline and current fingerprints, without printing file contents. For local content review, hook skill diff <manifest-key> --baseline <known-good-file> first checks your supplied backup or trusted upstream copy against the recorded digest. It never saves source snapshots or changes trust. Without a matching copy, historical text cannot be reconstructed from a digest. New baselines retain locally observed Claude and package versions when available, but versions do not prove publisher authenticity. Model status separately identifies missing, unverified and verified models; compiled support or healthy files do not prove that a scan succeeded. Structural and model detectors can both miss an injection. Profile warnings inform you without adding warning instructions to your agent's model context.
Local repository output is scanned by design; approving a Read or switching to Enforce does not teach this separate scanner to hide a recurring warning. A finding now names fixed detector categories and a score tier without quoting the match. For a reviewed false positive under the non-blocking warn action, an operator can acknowledge only the exact capability and exact response-bundle digest in policy. The acknowledgment never bypasses the scan pipeline or its exact input-hash cache validation, and it is witnessed before the warning becomes quiet. Changed bytes lose the acknowledgment, so any remaining finding warns. If the audit write fails for an already-configured digest, the warning remains and the operator is directed to repair witness storage. Deny and defer findings cannot be suppressed.
A data perimeter with explicit model and tool boundaries
What it does: Outside Profile, the configured PII action can replace supported personal data with a token, hold it for review or block it in selected tool output. Text an agent writes with its file tools is checked before it reaches the file.
Limits: Raw Bash commands keep the text that was written, and in Profile the PII action rewrites nothing. Submitted prompts can be blocked but never rewritten, and no detector is perfect: free-form names need the optional on-device model.
Read technical details and limitations
Profile is an observe-and-learn on-ramp, not a general data-masking mode. Raw Bash input is PII-scanned for typed audit evidence, but the PII action does not rewrite it; existing scan bounds and credential-bearing executable identity guards still apply. Selected successful tool output is scanned for warnings but not rewritten by the PII action, and secret placeholders are not resolved. If a local vault token was restored, exact private-release replacement still applies to a supported PostToolUse data carrier under a trusted hook set. An unsupported carrier stops, and a matching failure error can only stop immediate continuation, not erase the host record. Submitted prompts also cannot be rewritten; only deny_on_ingress can block them.
Outside Profile (in Normal and Enforce), the configured PII action can tokenise, hold for review, or block selected tool output before model delivery. Raw Bash is never rewritten for PII; deterministic credentials can require review or refusal, while personal/ML detections are recorded under the default action; explicit deny/defer remain available. Allowed-secret resolution, local-trust detokenisation, and safe dry-run injection compose before the exact effective command is authorized once. External WebFetch and MCP arguments keep existing vault tokens opaque, but raw plaintext arguments are not generically scanned.
On Claude Code, Codex, Hermes and pi, the content of Write, Edit and MultiEdit calls is scanned for secrets and personal data in every mode and recorded as evidence, without changing the text. In Normal and Enforce, a pii_action of deny refuses the write and defer asks, or refuses where the host cannot ask; Profile observes. A write too large to scan, or one whose evidence cannot be recorded, is refused in every mode.
Trust zones apply to vault tokens already present in a tool call: local capabilities may receive their plaintext, while external capabilities keep the tokens. That boundary does not discover plaintext already present in arbitrary tool arguments. No detector of personal information is perfect; structured data like card numbers, national IDs, and phone numbers is covered out of the box, while the on-device recogniser that also catches free-form names activates when the downloaded optional model loads successfully. A classifier row containing any NaN or infinity is discarded before label selection, leaving the always-on regex detector for that request. Busy, transient-resource, or namespace-race failures use regex detection for that request and retry later. Deterministic corruption or parser failures stay on that fallback until the exact model stamps change; blocked Linux loader primitives require repair and a daemon restart.
| Surface | Profile | Normal / Enforce | Local / external boundary |
|---|---|---|---|
| Submitted prompt | PII is detected and a tokenised private surrogate is used for intent tracking (only on a host that can ask; a Codex prompt registers no intent), but the original prompt still reaches the model as plaintext unless deny_on_ingress blocks it. Operator messages name fixed entity categories and their retained regex/ML provenance without echoing matched values. | The same host limit applies outside Profile: Normal and Enforce cannot rewrite UserPromptSubmit; deny_on_ingress can block and require a redacted resubmission with the same category-only diagnostics. | This is not a tool trust-zone decision; a later external label does not sanitize plaintext already shown to the model. |
| Raw Bash input | Raw command input is PII-scanned for typed audit evidence and never rewritten for PII. Profile observes detections; scan bounds and credential-bearing executable identity guards still apply. | In Normal and Enforce, warn, deny_on_egress, and deny_on_ingress leave Bash input unchanged: personal data and ML detections are recorded as detected, masked 0; deterministic credentials require review on an asking host and are refused on a non-asking host. Per-program secret_allowlist exempts credential arguments. Explicit deny and defer remain available. Credential-bearing executable identities and scan bounds still refuse. | Existing vault tokens are detokenised only when the Bash capability is local; external trust leaves them opaque. If a secret or vault transformation creates a self-protected effective action, the Hook denies it with a fixed generic host reason so the transformed path is not echoed. |
| Write/Edit/MultiEdit content | The text a file write sends, each edit's replacement text, and the lines a Codex patch adds are PII-scanned for typed audit evidence and never rewritten for PII. Profile observes detections. File paths and the text being replaced or removed are not scanned. | In Normal and Enforce, deny refuses the write; defer requires review on an asking host and is refused on a non-asking host. warn, deny_on_egress, and deny_on_ingress write the content unchanged with a warning that counts the detections, masked 0. A content scan over its bounds or with a malformed content field, or whose required incomplete-scan event cannot be recorded, refuses in every mode. | File content is not tokenised, and secret placeholders in it stay literal. Existing vault tokens in it are detokenised only when the file capability is local, after the scan, which sees only the token; external trust leaves them opaque. Receipts and scan events carry counts, entity types and content digests, never the detected value. |
| Raw WebFetch/MCP input | Raw plaintext arguments are not generically PII-scanned or tokenised. | The same input limit applies in Normal and Enforce: raw plaintext arguments are not generically PII-scanned or tokenised. | WebFetch and MCP default to external, so existing vault tokens stay opaque; plaintext already present is not retroactively tokenised. |
| Selected tool output | Read, WebFetch, Bash, and MCP successful output is PII-scanned for audit warnings, but the PII action does not block or tokenise it; the next model request normally receives the original output. If this tool call restored a local vault token, completion still replaces exact released plaintext in a host-accepted PostToolUse carrier or stops immediate continuation when safe replacement is unavailable. Prompt-injection scanning is a separate control. | Outside Profile (Normal and Enforce), Read, WebFetch, Bash, and MCP successful output is PII-scanned. deny and deny_on_egress block before tokenisation; defer blocks for review; warn and deny_on_ingress tokenise before the next model request. After any private release, exact released plaintext is replaced in a host-accepted PostToolUse carrier or immediate continuation stops when safe replacement is unavailable. PII scan or tokeniser errors block. Prompt-injection scanning can block separately. | These controls govern Isonapse's emitted update and the next model delivery only under a trusted hook set, not every host record. Plugin mode permits sibling hooks, so another concurrent PreToolUse update can win host merging and other PostToolUse hooks can see raw output. Managed allowManagedHooksOnly provides the exclusive stronger boundary. Claude Code telemetry may see original successful output before PostToolUse. For built-ins, successful selective exact-echo replacement is accepted only in a top-level string or explicit stdout, stderr, text, content, output, body, error, filePath, or file_path data field; MCP string carriers are schema-open. The control plane rescans the complete sanitized JSON encoding against every hidden value and permits selective replacement only when no residual or reconstituted match remains. Missing or malformed tool_name/tool_use_id/object tool_input, successful tool_response, or failure error, and unknown structural carriers stop before the next model request. Any completion that cannot be safely selectively scrubbed—including a structural-key match, matcher or resource uncertainty, or a released value shorter than four bytes or parsing as a JSON non-string scalar—requires a universal stop. The Hook never emits updatedToolOutput for that whole-output case because no static replacement is proven disjoint from arbitrary hidden plaintext. After any secret or vault release, later PII/injection fallback also uses that universal stop; only ordinary output with no private release retains host-valid block-and-replacement behavior. Stopping contains the current session but does not erase host records. A PostToolUseFailure error cannot be rewritten; an exact echo or unverifiable completion stops immediate continuation, but the host/transcript may retain or later resurface the original error. Exact echo protection is not information-flow tracking: derived, truncated, encoded, hashed, or case-transformed forms are outside the guarantee. |
| Secret placeholder | Secret placeholders are not resolved in any tool and pass through as literal text. | Outside Profile (Normal and Enforce), only Bash resolves allowed {{ secret.NAME }} placeholders during non-committing preparation, before the exact final command is authorized once; Edit, Write, WebFetch, and MCP keep literal text. | The allowed_secrets list is checked against the final Bash capability; a trust label does not add placeholder support. |
How approved secret placeholders work
What it does: In Normal and Enforce, an approved {{ secret.NAME }} placeholder resolves locally in a Bash command, and the daemon authorizes the exact command that will run.
Limits: Placeholders stay literal in Profile and in Edit, Write, WebFetch and MCP input. Stored secrets are encrypted at rest, but your host account remains the confidentiality boundary.
Read technical details and limitations
Store a credential once and let the model use its {{ secret.NAME }} placeholder. In Normal and Enforce, allowed placeholders resolve only in Bash commands. The daemon composes the value into one evolving effective command, derives the final Bash capability, and authorizes that exact command once without committing preparation state.
Stored Hook secrets use versioned AES-256-GCM envelopes, and earlier plaintext files migrate atomically when the daemon starts. The files stay encrypted at rest. Plaintext may be cached in daemon memory and enters the trusted Hook, host, and execution path only when an allowed placeholder is substituted. Your local host account remains the confidentiality boundary.
On macOS the secret-store key is kept in a file readable only by your account, so it can survive an update. A process running as you can read that key.
Only the authenticated installed operator CLI can list, change, or delete secrets. Plaintext substitution occurs only inside bound Hook preparation for its session and capability. Direct resolution is unavailable to external clients.
The Hook independently verifies the action, capability, and canonical input digest before it emits updatedInput, including when Claude Code must ask for approval. Free-form reasons, receipts, reports, streams, and learning input omit the expanded private parameters. In Profile—and in Edit, Write, WebFetch, or MCP input in every mode—secret placeholders remain literal.
For a configured HTTP or provider proxy, a secret placeholder must match the approved destination, scheme and request location before it can be substituted. The proxy checks the exact request it will forward. The signed record binds that request without storing the secret value. These checks cover traffic through the configured proxy.
If released plaintext comes back
What it does: If a released secret value comes back in a supported successful tool result, Isonapse replaces it before the next model request where the host accepts a replacement, and otherwise withholds the result.
Limits: When the result's shape is unknown or a safe replacement cannot be proven, Isonapse stops continuation instead of rewriting the whole output.
Read technical details and limitations
For a successful tool result, Isonapse replaces an exact released value in a supported top-level or explicit data field before the next model request. Built-in fields are deliberately enumerated; schema-open MCP strings are supported. Before emitting the update, the control plane rescans the complete sanitized JSON encoding against every hidden value.
If the host shape is missing or malformed, the carrier is unknown, or a structural key matches, Isonapse stops continuation instead of inventing a whole-output replacement. It also stops when resources or matching are uncertain, or when a value is too short or looks like a JSON non-string scalar. A later PII or injection fallback after a private release also stops. The same exact-value check applies when Profile restores a local vault token.
Exact limits of secret echo protection
What it does: Protects exact released values in the update Isonapse sends back to the host, under a trusted hook set.
Limits: Encoded, truncated or otherwise derived copies are outside the guarantee, and stopping continuation does not erase what the host or its telemetry already recorded.
Read technical details and limitations
The protection governs Isonapse's emitted update under a trusted hook set. In plugin mode, sibling hooks can see raw output or win input merging; managed allowManagedHooksOnly is the exclusive stronger hook boundary. Claude Code telemetry may already hold the original successful output, and stopping this continuation does not erase host records.
PostToolUseFailure has no rewrite carrier: an exact echo or unverifiable completion stops immediate continuation, but the host/transcript may retain or later resurface the original error. This is exact-value protection, not information-flow tracking: derived, truncated, encoded, hashed, case-folded, and URL-encoded forms are outside the guarantee. Deleting a secret or closing a vault stops new releases but cannot retract plaintext already delivered to the trusted host; the single-use scrub context remains until completion, session end, or bounded expiry.
Rewrites stay bound to one authorization
What it does: Supported PII, secret, vault-token and dry-run changes are combined first, and the exact final input is authorized once.
Limits: Token-like fields in a tool call are never treated as provider accounting; hard LLM budgets belong to a separate provider proxy.
Read technical details and limitations
The Hook composes supported PII, secret, vault-token, and dry-run changes before one stateful gate call. It independently verifies the returned action, capability, and canonical digest against the exact updated input it emits. Caller-authored model or token-looking tool fields are never treated as provider accounting; hard LLM budgets belong to the separate owned CE/provider-proxy ingress that can bind the real request, tariff, and usage.
Proof, not promises: the witness chain
What it does: Every allow, and every question you can approve, that the daemon issues is signed into a tamper-evident chain that anyone with the public key can verify offline.
Limits: Host prompts shown while the daemon is unreachable carry no decision receipt, and a self-protection stop is recorded as a signed event only when the running daemon confirms it.
Read technical details and limitations
Every usable control-plane authorization is written as a cryptographically signed receipt into a tamper-evident chain. Alter one stored entry and the chain visibly breaks at exactly that point.
Prepared Hook receipts also carry a versioned effect binding: action ID, final capability, and a canonical Blake3 commitment to the exact effective input, plus typed transformation counts and opaque identifiers without resolved plaintext. For local operator triage, the description shows the first 16 lowercase hex characters of that digest and, only when safe, a bounded regex-PII-redacted Read/Edit/Write path or registry-owned Bash tool/subcommand label. Secret-bearing, unsupported, or unsafely summarizable actions stay digest-only; the complete parameter payload, file contents, and command arguments never enter the description. Future federation-boundary description scrubbing is not shipped. A later execution receipt gets its own fresh event action ID and signs a parameter-opaque authorization reference instead of reusing that ID. Anyone you hand the record and a public key can verify the signed commitment offline — no server, no account, no trust in us required. Each decision receipt also commits to the exact policy that produced it. Daemon-unreachable host prompts and pre-connection local self-protection stops are explicit exceptions without a decision receipt. When the running daemon confirms a self-protection stop, it is also recorded as a signed event; otherwise the stop says that no record is claimed.
The public evidence stays attached to the implementation
What it does: The engineering documentation cites current behavior by file and code symbol, and release validation checks every citation before the docs can build.
Limits: That engineering documentation requires sign-in.
Read technical details and limitations
Isonapse's engineering documentation cites current behavior by repository path and named code symbol, not by a line number that silently drifts during refactors. Release validation resolves every cited file and symbol before the docs can build or deploy; historical implementation links are labeled and pinned to an immutable commit.
Local-first, by architecture
What it does: Your rules, history, keys and learned state stay on your machine by default, and enforcement works offline after setup. No Isonapse account, no telemetry.
Limits: Setup downloads model files from Hugging Face. While a paired dashboard is open, it reads public release information from GitHub at most once a day, and you can switch that off.
Read technical details and limitations
There is no required cloud service or account. Your rules, history, keys, and learned state stay on your machine by default, and enforcement keeps working with the network unplugged. The product sends no telemetry. If you explicitly configure an optional self-hosted receiver, Isonapse can send signed witness batches and enrolment metadata to that receiver. Model provisioning downloads a small required file and the larger optional files you request from Hugging Face. An opt-in hook start check reads GitHub release metadata only; notify_on_update defaults off, and the check sends no user content. While a paired dashboard is open, Isonapse also reads public release information from GitHub at most once a day, sends no content of yours, and can be switched off on the Hosts page.