Skip to content

Squidbrake v0.2.1: secret files are never auto-allowed

Choose a tag to compare

@batrapulkit batrapulkit released this 30 Sep 13:25
· 457 commits to main since this release

Security fix for v0.2.0 (please upgrade).

  • Reading secret files is never "only looking". In v0.2.0, read-only shell commands ran without asking, and that included cat .env, cat ~/.aws/credentials or cat ~/.ssh/id_rsa. Reads of .env, ~/.ssh, ~/.aws, *.pem, credentials, tokens and similar now go to your default rule (a person decides).
  • A rejection applies to the agent it was for. "Don't retry what a person rejected" used to match any agent; it now matches the same agent, and looking again (a read-only command such as git status) is not a retry.
  • Repeated read-only commands are no longer held as duplicate changes.

Upgrade: pull and restart.