Skip to content

0.13.1

Choose a tag to compare

@batrapulkit batrapulkit released this 19 Oct 08:18
c02aae8

Squidbrake's keys are found by their real path, and the key files are watched

  • Real paths, not command text. Before a call is judged, cd, variables, ~, globs and symlinks are followed.
    • Blocked: reaching Squidbrake's data or home folder any of these ways, for example cat ~/.squid*/data/keys.json, a symlink to the folder, cd ~/.squidbrake && cat data/keys.json, or cp -r ~/.squidbrake.
    • Waits for a person: reading or copying a whole folder that holds the keys (find ~, tar, a search across the home folder).
  • Key files are watched. keys.json, secret.key and ledger.key are checked every 15 seconds.
    • Squidbrake's own changes (Team, add-key) are noted as they happen.
    • Any other change is an immediate alert and an integrity.changed entry in the audit trail. With integrity: fail_closed, risky actions stop too.
  • The honest limit, written down. When the agent and Squidbrake run as the same OS user, a program the agent was allowed to run can read whatever that user can. To close that fully, run the gateway as another user or on a server: the agent's computer then only holds a key that can ask, never approve. See THREAT_MODEL.md.

Install this version (0.13.1)

Windows (PowerShell):

$env:SQUIDBRAKE_VERSION="0.13.1"; irm https://pilots.squidbrake.com/install.ps1 | iex

macOS / Linux:

curl -fsSL https://pilots.squidbrake.com/install.sh | SQUIDBRAKE_VERSION=0.13.1 sh

With pip: pip install squidbrake==0.13.1. Docker: docker pull ghcr.io/batrapulkit/squidbrake:0.13.1

Running the line again without SQUIDBRAKE_VERSION goes back to the newest. Every version:
https://github.com/batrapulkit/squidbrake/releases