Repository navigation
Releases
glassbox 0.6.0
Changes
--audit-jsonforreachandpersist --since: one JSON object in the audit result format (audit-result/1) shared with other audit tools. Each--jsonrecord becomes a finding with a rule id, a severity (highfor exactly what--strictfails on,infootherwise), one sentence and the path as evidence, so the exit status is the one--strictgives. The object is printed on every run, also on a usage or input error. See Audit result output.- Default output,
--jsonand--strictare unchanged.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.6.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.6.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.6.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.6.0-aarch64-unknown-linux-gnu.tar.gz |
glassbox 0.5.1
Changes
glassbox --versionprints the version and exits 0. It used to print the usage and exit 2.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.5.1-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.5.1-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.5.1-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.5.1-aarch64-unknown-linux-gnu.tar.gz |
glassbox 0.5.0
Changes
glassbox 0.5.0 makes reach usable for checking a sandbox.
-
Directories are judged by their entries. Up to 32 entries of a directory are tried. It is reported as
partly-readablewhen some open and others are refused, orlistable-onlywhen all are refused. It used to bereadablewhenever the directory itself could be opened, which overstated what a sandbox leaves reachable.--strictcountspartly-readableas readable. Entry names are never printed or kept. -
reach --since FILE. Compares with an earlierreach --jsonreport. Changed locations show what they were, and a last line counts what closed, what is still readable and what is newly readable. Save a report outside a sandbox, then compare inside it:glassbox reach --json > before.json SANDBOX-COMMAND glassbox reach --since before.json -
Missing process chain explained. When the process list cannot be read, as inside a sandbox, the report says the process chain is not available instead of printing an empty heading.
The README no longer says directories are "never listed": a directory is listed to try its entries.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.5.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.5.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.5.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.5.0-aarch64-unknown-linux-gnu.tar.gz |
glassbox 0.4.0
Changes
glassbox 0.4.0 adds network connections to watch captures.
- Open connections. With
--pid, each capture now includesconnections.txt: the open TCP and UDP connections of the agent's process tree when the capture was written, one per line with pid, protocol, local and remote address, and state. On macOS it is read withlsof; on Linux from/proc. It runs as the same user, with no extra privileges. - It is a point-in-time list. Connections that opened and closed before the capture are not shown. If the list cannot be read, the file says so instead of being left out.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.4.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.4.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.4.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.4.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --git https://github.com/jacob-adm/glassbox --tag v0.4.0.
Not on crates.io yet.
glassbox 0.3.0
Changes
glassbox 0.3.0 extends persist on macOS to login items and background services that apps register for themselves.
- App-bundled background services. On macOS 13 and later, apps register launchd helpers through the Service Management framework. Their plists live inside the app bundle, not in
~/Library/LaunchAgentsor/Library/LaunchDaemons.persistnow hashesContents/Library/LaunchAgentsandContents/Library/LaunchDaemonsin every app bundle in/Applicationsand~/Applications. - Login-item helpers. Each helper app in a bundle's
Contents/Library/LoginItemsis watched through itsContents/Info.plist. - Background Task Management database. macOS rewrites this database when a login item or background service is registered, approved or removed.
persistcompares it as a whole; runsfltool dumpbtm(administrator) to see which item changed. - Symlinked app bundles are not followed. Linux is unchanged.
Install
With Homebrew:
brew install jacob-adm/tap/glassbox
Or download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.3.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.3.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.3.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.3.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --git https://github.com/jacob-adm/glassbox --tag v0.3.0.
Not on crates.io yet.
glassbox 0.2.0
Changes
glassbox 0.2.0 adds watch: it captures the machine's state the moment a local AI agent goes wrong.
watchfollows a local agent session transcript (Claude Code by default) from its end. When the agent repeats an identical tool call 4 times in a row, produces more than 16,000 output tokens in one response, or fails 5 tool calls in a row, it writes a capture holding:- the trigger;
- the persistence points added or changed since watching began;
- the repository's uncommitted file names (
--repo); - the agent's process tree (
--pid).
--pausestops the agent so you can look before it continues; resume it withkill -CONT.--oncescans a past session and exits 1 if anything would have fired.- Thresholds are configurable. With the defaults, ten real sessions produced no false triggers.
- Content is never copied. Transcripts are read for structure only (tool names, argument hashes, token counts, error flags), so their content never appears in output or captures.
- Planted files can't redirect writes. Capture directories and files are always created new.
watch is inspired by Sysinternals ProcDump's dump-on-trigger. glassbox is an independent, clean-room project, not affiliated with Microsoft.
Install
Download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.2.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.2.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.2.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.2.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --git https://github.com/jacob-adm/glassbox --tag v0.2.0.
Not on crates.io yet.
glassbox 0.1.0
Changes
First release. glassbox audits what AI agents and other local processes can access on macOS and Linux, as a single Rust binary with no dependencies.
reach: what a process started like this one can read, from a curated list of credentials, shell history, browser profiles, private data and macOS protected folders. Each location is opened read-only and never read. Results tell privacy controls (EPERM) apart from file permissions (EACCES), and show the process chain and, on macOS, the app whose privacy grants apply.--strictexits 1 when a sensitive location is readable.models: how many bytes of each local model (Ollama, LM Studio, the Hugging Face cache,--dir) are in the page cache, measured withmincorewithout loading the files.persist: SHA-256 snapshots of persistence points and a comparison that reports what was added, changed or removed. Covered: launchd, systemd, cron, shell startup files, SSH, git config and hooks (including linked worktrees andcore.hooksPath), Python startup files, AI agent configurations and agent instruction files.--strictexits 1 on added or changed points.- Hardened against hostile files: FIFOs, devices, sparse files, deeply nested or malformed JSON and terminal escape sequences planted by an audited agent cannot hang, crash, stall or mislead it.
- Tested against real files, processes and the page cache on macOS and on Linux; works alongside git-overlap and pr-merge-audit (see
docs/integration.md).
glassbox's commands are inspired by Microsoft Sysinternals AccessChk, RAMMap and Autoruns. It is an independent, clean-room project, not affiliated with Microsoft, and contains no Sysinternals code.
Install
Download the archive for your platform, check it, and put glassbox on your PATH:
shasum -a 256 -c SHA256SUMS --ignore-missing
tar -xzf glassbox-0.1.0-<platform>.tar.gz
| Platform | Archive |
|---|---|
| macOS, Apple silicon | glassbox-0.1.0-aarch64-apple-darwin.tar.gz |
| Linux x86-64 (glibc 2.31 or later) | glassbox-0.1.0-x86_64-unknown-linux-gnu.tar.gz |
| Linux ARM64 (glibc 2.31 or later) | glassbox-0.1.0-aarch64-unknown-linux-gnu.tar.gz |
The macOS binary is not notarized. If it was downloaded with a browser, clear the quarantine flag with xattr -d com.apple.quarantine glassbox, or build from source with cargo install --path ..
Not on crates.io yet.