Repository navigation
v0.8.0: hold what can't be read; agents can't switch it off
Hold what can't be read. Agents can't switch it off.
This release changes what gets held, so it gets its own minor version.
What a shell reading can't follow now waits for a person
- A program written inline (
python -c,node -e,perl -e, ...), or one whose name is only known when it runs. - A script the agent created in this conversation and then runs. Editing an existing script and running it still runs on its own.
- Programs that aren't common developer tools are recorded, not held (
command_checks.unknown: warn). Set it toreviewto hold them too.
An agent can't turn Squidbrake off
- These now wait for a person when an agent runs them:
squidbrake connect --remove,service stop,resume, uninstalling it, killing its process, taking it out of login items, and editing the managed policy filessquidbrake lockdownwrites. - A person can still remove it from their own laptop. For a company,
lockdownmakes it IT policy; only a machine admin can undo that.
Emergency stop
- The agent is told it's a stop, since when and by whom, and how to end it: in the dashboard, or with
squidbrake resume. - A stop can end by itself: 15 minutes, 1 hour or 4 hours.
- If a stop has been on for 30 minutes and agents keep trying, it asks once: "Still stopped: did you mean to leave this on?"
- Blocks from a stop are counted as "paused", apart from what rules stopped.
Setup and pilots
- Installs report which agents have the hook.
setupsays when no agent is connected yet. - The CLI says once a day when a newer version exists. This is a single request to pypi.org; turn it off with
SQUIDBRAKE_NO_UPDATE_CHECK=1orDO_NOT_TRACK=1. - The rule
approve-guard-rail-changesis nowapprove-agent-setup-changes.
Benchmark (bench/chains, 59 sessions): with chains, harmful sessions stopped went from 30/35 to 34/35. False positives went from 2/41 to 3/41. The new one, a helper script the agent wrote and then ran, is kept in on purpose.
Docs: the README and FAQ now say exactly what leaves your machine (usage counts, only after a yes; Enter means yes) and what an agent can and can't get around.
Upgrade: run the install line again, or pipx upgrade squidbrake
Install this version (0.8.0)
Windows (PowerShell):
$env:SQUIDBRAKE_VERSION="0.8.0"; irm https://pilots.squidbrake.com/install.ps1 | iexmacOS / Linux:
curl -fsSL https://pilots.squidbrake.com/install.sh | SQUIDBRAKE_VERSION=0.8.0 shWith pip: pip install squidbrake==0.8.0. Docker: docker pull ghcr.io/batrapulkit/squidbrake:0.8.0
Running the line again without SQUIDBRAKE_VERSION goes back to the newest. Every version:
https://github.com/batrapulkit/squidbrake/releases