Skip to content

privacy 0.1.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 17:10
c4696a3

Added

  • Detectors: email addresses (example / test / noreply domains skipped), card numbers that pass the Luhn check, SSN-like numbers (never-issued prefixes skipped), US phone numbers (555-01xx skipped); opt-in dollar amounts, custom regexes and a denylist (names and words match whole words; numbers need digit boundaries). An allowlist of strings or /regex/. Matched values are never printed.
  • Commit blocker (opt-in, .claude/privacy.json "commitHook": true): before Claude runs git commit, scans what will be committed — the index, tracked changes for -a / --all, and paths a chained git add stages — and blocks on a match.
  • Denylist from a local file or a URL (https://… or gh:owner/repo/path through your gh login). URLs are only downloaded by /privacy-scan refresh into a gitignored cache; hooks never fetch. A missing or 7+ day old cache, or a denylist that isn't gitignored, is reported.
  • /privacy-scan [staged | refresh | path …] and the privacy-reviewer agent (finds what patterns miss; report only).
  • install-privacy-git-hook: installs a self-contained scanner as git's pre-commit hook for commits made outside Claude. Respects core.hooksPath, stops for husky with instructions, never overwrites an existing hook without --force, and only reports success after checking git will run it. No denylist values are written into the hook.