Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By benweesev0.1.5MITIn 1 marketplace
Keeps personal data out of commits: /privacy-scan, a privacy-reviewer agent, an opt-in commit blocker and a plain-git hook installer. Emails, Luhn-checked card numbers, SSN-like numbers, US phones, optional dollar amounts, custom patterns and a denylist.
Claude hands work to one, or you mention it with @.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin from the benweese marketplace that keeps personal data out of commits: a scan you can run any time, a reviewer agent for what patterns miss, an opt-in commit blocker, and a plain-git hook for commits made outside Claude.
claude plugin install privacy --marketplace benweese/claude-plugins
Or claude plugin marketplace add benweese/claude-plugins, then claude plugin install privacy@benweese. Start a new session afterwards.
| Detector | Default | Notes |
|---|---|---|
| Email addresses | on | example.com/.org/.net, *.invalid, *.test, *.example, noreply addresses are skipped |
| Card numbers | on | 13–19 digits that pass the Luhn check |
| SSN-like numbers | on | ddd-dd-dddd; never-issued 000-, 666-, 9xx- skipped |
| US phone numbers | on | common formats; 555-01xx (reserved for fiction) skipped |
| Dollar amounts | off | turn on with "dollarAmounts": true |
| Custom patterns | — | your regexes |
| Denylist | — | your own values (names, streets, last 4 digits…) |
Matched values are never printed — reports say file:line detector (a denylist hit says denylist entry 3). There's no date or birthdate detector: put real birthdates in your denylist.
/privacy-scan | Every tracked file |
/privacy-scan staged | What's staged for the next commit |
/privacy-scan docs/ src/x.ts | Those folders or files |
/privacy-scan refresh | Download your URL denylist into the local cache |
privacy-reviewer agent | Reviews a diff or PR for what patterns miss: names in prose or fixtures, addresses, birthdates, real-looking amounts, partial account numbers. Report only |
Commit blocker (opt-in): with "commitHook": true, before Claude runs git commit it scans what that commit will contain — the staged changes, tracked changes for git commit -a, and the paths a chained git add … && git commit stages — and blocks on a match. It's off by default because its rules are project-specific (a $5 in someone's README isn't personal data).
Which repo a commit runs in. The commit blocker scans each commit in the repo it will actually run in. It follows cd, pushd, env -C, sudo -D and git -C, and unwraps common wrappers: env, command, sudo (with its options), nohup, time, timeout, nice, ionice, stdbuf, chrt, taskset, setsid, exec, ! and shell keywords (if, then, while, do …), plus \git and /usr/bin/git, nested in any order. bash -c '…' (also sh, zsh, dash, ksh) and eval '…' strings are parsed like command lines of their own, aliases included, up to 3 levels deep. Deeper nesting with git in it asks. xargs running a commit asks with "can't see xargs arguments; personal data not checked", because the arguments come from input the hook can't see. Anything else that mentions git commit and can't be parsed asks: "can't parse this commit; personal data not checked". Git aliases are expanded the way git does: git ci with alias.ci = commit (in the repo's, your global or the system config, or an inline git -c alias.ci=commit) is checked as a commit, and the alias's own arguments count (alias.ci = commit -a). A shell alias (!…) that runs git at all (it can commit without the word commit appearing, e.g. !f() { git "$@"; }; f), an alias loop, or an alias lookup that takes too long asks: "can't parse this commit; personal data not checked". The command's own GIT_CONFIG_GLOBAL=…, HOME=… or GIT_CONFIG_KEY_0=… prefixes count when looking up an alias, and so do earlier export / unset of those variables in the same command line. They carry over like cd does, except out of a ( … ) subshell or a pipeline stage. A value set from a variable or substitution (GIT_CONFIG_GLOBAL=$X git ci) asks. A script run with source / . isn't followed. An alias in a repo that can't be determined (cd "$X" && git ci) asks too. Not covered: a shell alias that calls another alias (!git ci), and aliases for push (the dangerous-command checks don't expand aliases). Your project's .claude/privacy.json and denylist apply to every commit. When it can't tell which repo a commit runs in, it now asks instead of letting the commit through unchecked. Examples: cd "$(git rev-parse --show-toplevel)" && git commit, cd "$DIR", cd -, popd, a folder that doesn't exist yet, or a cd inside ( … ). The prompt says "can't tell which repo this commits in; personal data not checked". The hook reads the command text before it runs, so it can't expand variables or run substitutions. Guessing would mean scanning the wrong repo and passing a commit it never checked. An env -S "…" string that mentions git asks for the same reason.
npx claudepluginhub benweese/claude-plugins --plugin privacyBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground