Repository navigation
0.14.13
Fewer holds for one-liners, and heredoc code is checked
- Inline Python and Node that only look now run. One-liners like
python -c "import json; print(...)"ornode -e "console.log(require('./package.json').version)"used to wait for a person every time. Now the code is read first (Python with its own parser, never run; Node against a list of allowed modules). It runs if it only reads and prints. Anything that runs a shell, uses the network, changes files, or builds code at run time still waits for a person, and so does anything it doesn't recognise. - Code fed to an interpreter on its input is now checked.
python3 - <<EOF,node <<EOFandcat <<EOF | python3get the same check. Before, that code wasn't read at all. - A secret file read inside inline code is a secret read, the same as
cat .env. - Perl, Ruby, PHP and other languages are held as before.
Upgrade: run the install line again, or pipx upgrade squidbrake.
Install this version (0.14.13)
Windows (PowerShell):
$env:SQUIDBRAKE_VERSION="0.14.13"; irm https://pilots.squidbrake.com/install.ps1 | iexmacOS / Linux:
curl -fsSL https://pilots.squidbrake.com/install.sh | SQUIDBRAKE_VERSION=0.14.13 shWith pip: pip install squidbrake==0.14.13. Docker: docker pull ghcr.io/batrapulkit/squidbrake:0.14.13
Running the line again without SQUIDBRAKE_VERSION goes back to the newest. Every version:
https://github.com/batrapulkit/squidbrake/releases