Skip to content

Security model

Last updated 12 Nov 2026

Language models can be fooled, so the guarantees that matter are enforced in code, not left to the model.

The premise ​

A model reads text, and text can be written by an attacker. A web page, an email or a Slack message can contain instructions aimed at your assistant. No prompt reliably prevents that. So Alter does not rely on the model to behave. The limits below are checked by ordinary code that the model cannot talk its way past. For the everyday view, see Privacy and Approvals.

Outside content is marked ​

Anything Alter did not get directly from you is outside content: mail, web pages, source results, Slack messages. When it enters a conversation it is marked as such.

  • A turn that has read outside content cannot take an outward action without your approval. Outward means anything that leaves your machine or changes something in the world.
  • Outside content is never loaded into the standing context. A note with provenance: untrusted or external in its frontmatter is treated the same way.
  • Values from outside content that the model needs to refer to are passed as handles, and filled in for you when the reply is shown.
  • Reports from other tools (see Reporting from Claude Code) are information, never instructions.

In unattended runs (routines and watches), outside content passes through the private reader first. What cannot be screened is sealed.

Approvals ​

When an action needs your approval, Alter shows you the exact action, written by code and not by the model.

  • The approval is bound to that exact action and its arguments. If anything changes, it is no longer valid.
  • It can be used once.
  • It expires after 24 hours.
  • Only you can answer it: in the app, with alter approve, or with buttons in Slack, Telegram or Discord that only you can press. The model never resolves its own approvals.
  • "Always allow" for a shell command saves a rule that you can list and remove with alter allow.

The private reader ​

The private reader is a model role with no tools. It reads the content that is most likely to carry an attack, such as mail and web pages, and the content that is private. It returns bounded answers that pass a strict schema, and free text it returns is again treated as outside content. Because it has no tools, a successful attack on it has nothing to act with. You can run it on a model on your own computer so that this content never leaves the machine.

Sealed private notes ​

A note with private: true, or the tag private, is read only by the private reader. It is never embedded for search by meaning. The main model sees only a sealed handle, not the text.

The shell and your files ​

Alter can run commands and change files on the computer it runs on. Changes ask first, commands are classified, and sudo always asks. When private notes or realms exist, the shell runs in a sandbox (sandbox-exec on macOS, bwrap on Linux) or every command asks. The web fetch tool reaches public addresses only.

Secrets ​

Model keys, Slack, Telegram and Discord tokens, and source tokens are stored in your system keychain: the macOS Keychain, or the Secret Service on Linux. Settings files never hold secrets. Secrets are written to the keychain over standard input and not on a command line, and are masked in logs.

Local access ​

  • The web UI listens on 127.0.0.1 only and signs in with one-time links. A link is valid for about two minutes.
  • The CLI and the app talk to the process over a socket that only your user can open.
  • A client cannot claim to be the assistant through that socket.

Updates ​

Updates are signed (minisign), fetched over HTTPS, forward-only (no downgrades), and swapped in with a rollback. The app asks before installing.

Crashes, telemetry and what leaves your machine ​

There is no telemetry or analytics code in Alter. Crash reports are written to objects/crashes/ (the last 20), with sensitive values scrubbed, and are never sent. "Report it" copies the text and opens the form with only an 8-character id. Update checks go to downloads.nubisco.io. Nubisco never receives your notes.

Things that do leave your machine, because you chose to connect them:

WhatGoes to
Note text and messages inside promptsThe model provider you chose. It is not end-to-end encrypted. A local model keeps it on your machine.
MessagesSlack, Telegram or Discord, which keep them on their servers.
Source dataThe services you connect, in both directions.

Protect your Slack account ​

If you use Slack, Alter answers the one person who paired with it, and only in one workspace. A direct message from your paired Slack account reaches the full assistant, subject to approvals. Anyone who controls that Slack account can therefore ask Alter to do what you could. Protect that account with a strong password and two-factor authentication. Pairing uses a six-digit code that is valid for 10 minutes and is discarded after 5 wrong tries. Telegram works the same way, for your private chat with your own bot. See Slack.

Proprietary software. Alter runs on your computer, and your notes stay there.