Permissions and security

Permission modes, the reviewer, allowed folders, the sandbox, the audit log.

Permission modes

Default
The default for new installs. Allows ordinary reads and proven read-only sandboxed shells. File writes, other shells and network requests ask.
Allow writes
Allows recoverable project file edits and safe confined shells. A write outside the project asks once, with the folder grant on the same card.
auto
Allow writes plus automatic review. Ordinary requests that would ask go to the reviewer: low and medium allow; high, error or abort asks a person.
Allow
Allows ordinary requests. Deny rules, host credential-store blocks and mandatory one-shot approvals remain in force.

Existing users keep their stored mode behavior. Read-only MCP tools are allowed; other MCP tools ask or review according to the mode and can remember approval per tool.

How a request is decided

  • Admission blocks and deny rules run first. Protected paths, critical deletion, escape, exfiltration and other-principal requests require fresh one-shot human approval, without memory.
  • Ordinary host shells and sandbox escalation use mode-based approval. Your browser and host-terminal tabs use the separate session choices below.
  • In auto, three consecutive or twenty total denials in a turn send the rest of that turn to a person.
  • Ordinary headless auto reviews first and denies human fallback. User-owned browser and host-terminal actions always deny with no-retry guidance.

Your browser and host terminal

The first eligible action offers Allow all this session, Auto, or Ask every time. Ask every time is the default; closing the card does not execute. Confirming the current action with Ask every time keeps later actions on individual cards.

Auto checks only whether the action follows your request and current task step, targets the intended tab/page or command, and adds no unrequested steps. It is not general risk review. Errors, missing intent or uncertainty fall back to a normal card.

Choices are separate for each conversation session and browser/terminal surface, and disappear when that session ends. Global permission mode and generic remembered approvals do not replace them; headless actions always deny. Deny rules, genuine other-principal and exfiltration floors, credential entry, payment and irreversible-submit protections still apply. Commands you type into the terminal yourself never ask.

Approving

When the app is open and you are away, cards wait indefinitely by default. Set the owner-away auto-skip interval in Settings → Permissions to deny after N minutes. Recently denied saves redacted summaries and references to calls in the existing saved transcript. Rerun revalidates the reference, current tool, project and input before a fresh card; it can remain available after restart. Missing or changed references make rerun unavailable.

Requests appear in a dock at the bottom of the window that does not cover the conversation. The buttons are Deny ▾ (Always deny), Allow for session ▾ (Always allow in this project / Always allow everywhere) and Allow once. On a shell or network card, selecting a remembered choice shows the rule it saves and an Edit rule button. A shell command is remembered as its exact Bash/PowerShell rule, any other tool as exactly that tool and input. Always allow in this project applies to that working folder, Always allow everywhere to every project, and a deny you save anywhere wins over an allow; if the target name contains a wildcard, Ave won’t save the rule and suggests Allow once instead.

A conversation a plugin proposes (an overlay suggestion) starts only when you accept it, and write, shell and network tools inside it ask again.

Allowed folders and sensitive paths

Allowed folders start with the project root, ~/.ave, a private scratch folder and the system temporary folder (plus /tmp on macOS and Linux), and grow through permissions.additionalDirectories in settings. Anything outside them asks separately.

Ordinary secret reads follow mode and rules; secret writes follow normal file-write rules. Host encryption keys, credential databases and cookie/token stores remain blocked in every mode.

Users and administrators can each keep a policy.json. A valid administrator policy locks the settings it covers.

The OS sandbox

Confines shell execution at the operating-system level. It defaults on for macOS and Linux and off for Windows; stored choices are preserved. Plugin worker confinement is enabled separately.

macOS
Seatbelt. Confines files, processes and network.
Linux
bwrap. Confines files, processes and network.
Windows
srt-win. Confines files and network, not processes.

With the sandbox on, network is denied by default. Isolation between plugins is available on macOS and Linux only.

Audit log and masking

~/.ave/audit.log is HMAC-chained, so a change in the middle shows. Audit records never contain raw secrets. API keys and other credentials are always removed before anything is sent, whatever the settings say. Turn on PII Redaction in settings (off by default) and personal data such as email addresses, phone numbers and card numbers is masked too, with the count recorded in the audit log.