Skip to content

Releases

glassbox 0.6.0

Choose a tag to compare

@jacob-adm jacob-adm released this 27 Nov 02:31
2e1c98c

Changes

  • --audit-json for reach and persist --since: one JSON object in the audit result format (audit-result/1) shared with other audit tools. Each --json record becomes a finding with a rule id, a severity (high for exactly what --strict fails on, info otherwise), one sentence and the path as evidence, so the exit status is the one --strict gives. The object is printed on every run, also on a usage or input error. See Audit result output.
  • Default output, --json and --strict are 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

Choose a tag to compare

@jacob-adm jacob-adm released this 21 Nov 07:58
5ae3b13

Changes

  • glassbox --version prints 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

Choose a tag to compare

@jacob-adm jacob-adm released this 21 Nov 02:56
0a392bc

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-readable when some open and others are refused, or listable-only when all are refused. It used to be readable whenever the directory itself could be opened, which overstated what a sandbox leaves reachable. --strict counts partly-readable as readable. Entry names are never printed or kept.

  • reach --since FILE. Compares with an earlier reach --json report. 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

Choose a tag to compare

@jacob-adm jacob-adm released this 20 Nov 14:23
f88045f

Changes

glassbox 0.4.0 adds network connections to watch captures.

  • Open connections. With --pid, each capture now includes connections.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 with lsof; 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

Choose a tag to compare

@jacob-adm jacob-adm released this 20 Nov 05:08
20a54d6

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/LaunchAgents or /Library/LaunchDaemons. persist now hashes Contents/Library/LaunchAgents and Contents/Library/LaunchDaemons in every app bundle in /Applications and ~/Applications.
  • Login-item helpers. Each helper app in a bundle's Contents/Library/LoginItems is watched through its Contents/Info.plist.
  • Background Task Management database. macOS rewrites this database when a login item or background service is registered, approved or removed. persist compares it as a whole; run sfltool 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

Choose a tag to compare

@jacob-adm jacob-adm released this 19 Nov 17:51
8e8bab1

Changes

glassbox 0.2.0 adds watch: it captures the machine's state the moment a local AI agent goes wrong.

  • watch follows 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).
  • --pause stops the agent so you can look before it continues; resume it with kill -CONT.
  • --once scans 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

Choose a tag to compare

@jacob-adm jacob-adm released this 19 Nov 17:04
808a147

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. --strict exits 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 with mincore without 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 and core.hooksPath), Python startup files, AI agent configurations and agent instruction files. --strict exits 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.