github kenryu42/claude-code-safety-net v0.8.0

latest releases: v0.8.2, v0.8.1
one month ago

New Features

  • Add doctor support for GitHub Copilot CLI, including detection of Safety Net hooks in repository hook files, user hook files, and inline Copilot settings with version-aware diagnostics.
  • Block git switch --force, git switch --discard-changes, and git checkout --force / -f.

Changed

  • Show the detected Copilot CLI version in doctor output and probe Copilot version commands more quickly and reliably.
  • Expand Copilot CLI setup documentation to cover hook-file and inline config variants, config precedence, disableAllHooks, and COPILOT_HOME.

Fixed

  • Close a TMPDIR path traversal bypass so non-temp overrides cannot escape /tmp, /var/tmp, or the system temp directory.
  • Harden shell parsing so destructive commands are still detected inside redirects, nested command substitutions, arithmetic expansions, grouped subshells, process substitutions, and attached backticks.
  • Fix git checkout argument parsing for ambiguous ref/pathspec cases and documented option variants without misclassifying value-taking flags such as git switch -cfeature.

Don't miss a new claude-code-safety-net release

NewReleases is sending notifications on new releases.