Repository navigation
0.13.1
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, orcp -r ~/.squidbrake. - Waits for a person: reading or copying a whole folder that holds the keys (
find ~,tar, a search across the home folder).
- Blocked: reaching Squidbrake's data or home folder any of these ways, for example
- Key files are watched.
keys.json,secret.keyandledger.keyare 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.changedentry in the audit trail. Withintegrity: fail_closed, risky actions stop too.
- Squidbrake's own changes (Team,
- 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 | iexmacOS / Linux:
curl -fsSL https://pilots.squidbrake.com/install.sh | SQUIDBRAKE_VERSION=0.13.1 shWith 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