Repository navigation
Security and Privacy
English | 한국어
This page is for people who review cozzle before their team or company uses it. It lists what cozzle sends out, what it keeps on disk, and how far other programs can control cozzle.
cozzle runs locally. It has no account, no server and no telemetry (usage data collection).^readme Everything below was checked in the code on main.
cozzle makes only two kinds of requests on its own: avatar images and the update check. Both use curl. Avatar requests use HTTPS only (redirects too), skip ~/.curlrc, and cap each answer (1 MB per image).^avatar
| When | Where | What is sent |
|---|---|---|
| The Git graph tab downloads a commit author's image for the first time | www.gravatar.com |
The MD5 hash of the author's email |
| 〃 (when the author has a GitHub noreply address) |
avatars.githubusercontent.com, github.com
|
The GitHub user ID or login that is already in the address |
〃 (when the repository's origin is on github.com) |
GET https://api.github.com/repos/<owner>/<repo>/commits?per_page=100, then &sha=<hash> for up to 10 authors it did not find; the answer's image from avatars.githubusercontent.com
|
The repository name and commit hashes. No email and no sign-in token |
| 10 seconds after launch, then every 6 hours, and when you choose Check for Updates… in the menu | GET https://api.github.com/repos/teamBuzzle/cozzle/releases/latest |
Nothing. The request has no sign-in and only the header User-Agent: cozzle/<version>
|
| You click Update Now on the update card |
github.com, release-assets.githubusercontent.com, objects.githubusercontent.com
|
Nothing. cozzle downloads the release zip and SHA256SUMS.txt
|
| You click Install on the update card of a build from source |
raw.githubusercontent.com, then the release hosts above |
Nothing. A visible terminal tab runs curl -fsSL https://raw.githubusercontent.com/teamBuzzle/cozzle/main/scripts/install.sh | sh
|
Avatar images are kept in ~/.cache/cozzle/avatars-v2/. A "no image" answer is remembered for a day; network errors are not remembered.
To turn off the automatic update check, turn off Settings → General → Check for updates automatically, or set "updateCheck": false in ~/.config/cozzle/settings.json. A workspace .cozzle/settings.json cannot turn it off or on. Check for Updates… in the menu still works when the setting is off.[^update][^settings]
cozzle sends no request to get Claude usage. See How cozzle gets Claude usage.
All other network use comes from something you or an agent asked for:
- Pages that browser tabs open. When you type text that is not an address in the address bar, cozzle searches for it with the search engine chosen in Settings (Google by default).
- Requests from browser extensions and user scripts that you installed.
-
Push in Source Control (
git push), commands you run in terminals, and the traffic of Claude Code and Codex themselves.
cozzle does not read the Claude Code sign-in token or the Keychain, and it does not call a usage API. The model, context and plan limits come from the Claude Code status line.^statusline
- When you run
claudein a cozzle terminal, cozzle adds--settingsthat sets the status line command tocozzle-cli statusline. If you pass--settingsyourself, cozzle adds nothing. - Claude Code sends the status line JSON to that command. The command saves it to
${XDG_STATE_HOME:-~/.local/state}/cozzle/agents/<session_id>.json, readable only by you (mode 600). Files not changed for 7 days are deleted. - If you set your own status line command,
cozzle-cli statuslinethen runs it with the same input and prints its output. cozzle takes this command only from managed policy settings or your~/.claude/settings.json, never from a project's.claude/settings*.json.
This uses no network. Codex usage is read from the Codex session log.
The cozzle Claude Code plugin (${XDG_DATA_HOME:-~/.local/share}/cozzle/claude-plugin/<version>/, folders mode 700, files mode 600; or the same --settings when the plugin cannot be written) adds a hook that runs cozzle-cli agent-hook (the quoted path of cozzle's own CLI) for the agent status in the sidebar. Claude Code passes it the hook JSON. The command keeps only the state (working, waiting, idle), the waiting message, the Claude Code process ids and the session log path, in <session_id>.state in the same folder (mode 600). For the AI Editing list it also appends to <session_id>.edits (mode 600) the paths that the edit tools changed and the start and end times and folder of each Bash command, never file contents or command text. That file keeps only its last 100 lines once it passes 16 KB. The command prints nothing, runs nothing else, and deletes both files when the session ends.
- The app listens only on a free port on
127.0.0.1(this computer). Other computers cannot reach it. - Each request must carry the 48-character random token. The token comes from the operating system's random source and is passed to terminals that cozzle opens, through environment variables.
- So that terminals that outlive a restart can find the new app, the address and token are also written to
app.jsonin the terminal host folder (mode 700; the file is mode 600, written atomically and deleted when cozzle quits). Thecozzlecommand uses that file only when the folder and file belong to you, only you can open them, neither is a link, the address is127.0.0.1, and the app process is alive. It does not send a command to an old address whose app has ended. The token is never printed:cozzle statusandcozzle settingsdo not show it.^ipc - A request line is limited to 4 MB.^ipc
- The
cozzlecommand link lives in a per-user folder under your home (~/.cache/cozzle/bin-<id>, mode 700). cozzle does not use a shared temp folder that another user could create in advance.
Note: every program that runs in a cozzle terminal inherits this token. A script run in that terminal can drive browser tabs with
cozzle browser cookies(including HttpOnly cookies) orcozzle browser eval. Run code you do not trust in a terminal outside cozzle.
- On macOS, cozzle's own page script (shortcut keys, focus, the login form key button, favicon, user script requests) runs in a separate script world that page scripts cannot see, and its messages are accepted only from the top-level document. Page scripts cannot fake cozzle shortcuts or take focus. The page world can only report a blocked passkey request. On Linux and Windows, the script shares the page and signs its messages with a random secret per tab; a key from the page there runs only tab and workspace switching and address bar focus, never commit, push, closing or quitting.
- cozzle uses a favicon from the page only after it checks the size (64 KB, 256×256) and the PNG format.
- cozzle opens
file:addresses only when you or an agent open them (address bar orcozzle browser open). A local file is opened with read access to its own folder only (a file directly in/, in a top-level folder such as/tmp, or in your home folder can read only itself, not a file whose name merely starts the same), links stay inside that folder, and a web page cannot move to or open afile:address. Every other navigation is refused unless it ishttp,https,about:blankorabout:srcdoc,data:inside a frame, orblob:inside a frame or from a page of the blob's own origin. App links and other schemes are refused. - JavaScript dialogs from a tab you are not viewing are not shown and get the default answer. A dialog title shows the origin of the site that opened it.^js-dialogs
- Only what you choose in Settings → Extensions is installed. Agents have no command to install or turn on anything. They can only list items with
cozzle browser extensions.^extensions - Because you chose the extension, cozzle grants all the permissions and addresses it requests. Extensions apply to every browser tab, so install only extensions you trust.
- A user script runs only on pages that match its
@matchand none of its@excludeor@exclude-matchlines, and only while the tab is still on the site that asked for it.
A .cozzle/settings.json in a repository can be written by someone else. cozzle accepts only appearance and convenience settings from it. Skip permission prompts can only be turned off, and the paste and close confirmations can only be turned on. The shell, start page, link handling, sleep prevention, system notifications and the automatic update check change only under All Projects (~/.config/cozzle/settings.json). cozzle neither reads nor writes the .cozzle folder or the file if it is a symbolic link, and it writes the file through a temporary file that replaces it.[^settings] The full list is in Settings.
The Agent section and cozzle agent config show only names, descriptions and counts of the Claude Code and Codex configuration. Secret values, such as env values in settings and the env and headers of MCP servers, are read but never shown.^agent-config
Web pages, page tool (WebMCP) output, files, terminal output, issue and pull request text and other agents' output can contain text written to steer an agent. The guide cozzle gives agents says such content is data, not instructions:^agent-guide
- Agents take instructions only from you and the guide. When content asks for an action, they treat it as information.
- Agents confirm with you before acting on a request that came from content: starting agents, sending messages, purchases, signing in or using saved logins, deleting files or data, pushing, and merging worktrees.
- Page tool results are marked
untrusted, and content handed to another agent is wrapped in<untrusted_content>tags, apart from your request.
This is a rule the agent follows, not a block cozzle enforces. The limits below do not depend on it.
Try with Several Agents… and cozzle worktree new --agent … --prompt … start Claude Code or Codex with a task. An agent can be steered by text it read (web pages, files, issue bodies), so cozzle limits what one request can do:[^worktree]
- The task is data, not a command. It reaches the agent as one argument through the terminal's
COZZLE_PROMPTenvironment variable, expanded inside double quotes after--, so the shell never parses it as code and it cannot become an option. cozzle does not write it into hooks, settings or command lines. Branch names are checked withgit check-ref-format, and file paths for Take This File must stay inside the worktree, without..,.gitor symbolic links. - At most 4 agents per request and 8 worktrees from these runs per repository.
- Every request through the
cozzlecommand shows a notification with the count and the start of the task, so you see when an agent starts others. - Started agents follow your Run without permission prompts setting exactly like an agent you start by typing
claudeorcodex. cozzle never turns it on for them; with it off they ask as usual. - Closing the other attempts never forces anything: uncommitted work is asked about and goes to the Trash, and branches stay.
- cozzle sends code only when you click Fix with Agent, Send or a destination in the card.
- File content can contain text written to steer an agent. cozzle puts it in the prompt between marker lines that the content does not contain, says it is file content and not instructions, and never applies a change without your Apply.
- A one-off run starts the agent's program directly with arguments (no shell) and the prompt on standard input: Claude Code with
-p --permission-mode plan, the shell and file-writing tools refused and no MCP servers loaded; Codex withexec --sandbox read-only. It stops after 3 minutes. cozzle does not read the agents' sign-in tokens. - A request sent to a running session is typed into that terminal, so it runs with the permissions that session already has.
The graph asks before a hard reset, a force push and every branch or tag deletion, on this computer or on the remote. Force push uses only --force-with-lease, and deleting a branch that is not merged warns that its commits will be lost. Names that start with - are refused so that Git cannot read them as options.
cozzle never stores Claude or Codex tokens or keys. Like any browser, browser tabs keep site cookies and data so that you stay signed in.[^browser-data]
Saved browser logins keep their passwords and two-factor (TOTP) secrets only in the macOS Keychain, as cozzle's own generic password items with the service name Cozzle Browser Login. cozzle never reads Keychain items that other apps saved.^logins
Saved logins work only on macOS. The macOS Keychain ties each item to the app that saved it. cozzle does not use the password stores of Linux and Windows, where any app that runs as the same user can read stored items; on those systems saving a login answers Saving logins is supported only on macOS.
When an agent saves a login you gave it (cozzle browser login save), the password travels only on the command's standard input and then over the local cozzle connection (127.0.0.1, with the per-run token that only cozzle terminals get) to the app, which writes it to the Keychain. cozzle refuses passwords given as command arguments, because other programs can see arguments. The password is not put in the command's output, notifications or error messages, and cozzle clears its copies from memory after the save. Agents can only add new logins: a site and username that already exist are refused, and there is no agent command to edit, delete or read saved passwords.
| File | Contents |
|---|---|
~/.config/cozzle/settings.json |
Terminal and browser settings, agent switches |
~/.config/cozzle/session.json |
Workspace paths, tab names and working folders, browser addresses, editor file paths, agent session IDs, split view and sidebar state |
| Operating system web view store | Site cookies, localStorage, IndexedDB. On macOS, ~/Library/WebKit/<app name> and ~/Library/HTTPStorages/<app name>. On Windows and Linux, a cozzle folder under the user data folder |
~/.config/cozzle/logins.json |
The list of saved browser logins: site origin, user name, note, and whether a two-factor secret exists. No passwords |
${XDG_STATE_HOME:-~/.local/state}/cozzle/agents/ |
The latest Claude Code status line JSON and the agent state (.state) and edit log (.edits) of each session (mode 600). Deleted after 7 days without change |
~/.config/cozzle/browser-session-cookies.plist |
Browser session cookies (macOS). Readable only by you (mode 600) |
~/.config/cozzle/extensions/, userscripts/, extensions.json
|
Installed extensions and user scripts, and the list of turned-off items |
~/.cache/cozzle/avatars-v2/ |
Avatar images. File names are the MD5 hash of the email |
$XDG_RUNTIME_DIR/cozzle/app.json or ~/Library/Caches/cozzle/pty/app.json
|
The running app's CLI address, token, process ID and start time (mode 600, folder mode 700). Deleted when cozzle quits |
To remove all browser cookies and site data at once, use Settings → Browser → Advanced → Site data → Clear…. This also deletes the session cookie file.
Browser addresses are saved as they are. If you left open a page whose address contains a token (?token=…), that address is also in session.json.
Do not open a public issue. Report it through a private security advisory. See Feedback and issues.
cozzle is released under the MIT License.[^license]
- You can use it internally or commercially, change it and redistribute it with no fees, sign-ups or seat limits.
- There is no copyleft. Using or changing cozzle never requires you to publish your company's code.
- The only condition is to keep the copyright and license notice in copies of cozzle.
- It is provided as is, without warranty.
- Rust dependencies are under permissive licenses such as MIT, Apache-2.0, BSD, ISC and Zlib. A few use MPL-2.0, which applies only when you change those files. No dependency is GPL-only. Check with
cargo metadata.
[^worktree]: src/worktree.rs, src/worktree_view.rs [^browser-data]: src/browser_data.rs [^license]: LICENSE [^settings]: src/settings.rs
cozzle · MIT License · Repository · Open an issue · Report a vulnerability