pii-guard

pii-guard is a Claude Code mod by schreibse that asks before a tool call sends your name or email to a non-local destination.

Updated 2026-11-20

What is pii-guard?

pii-guard is a Claude Code mod by schreibse that asks before a tool call sends your name or email to a non-local destination. It is listed under Security and has 3 GitHub stars.

TypeClaude code mod
Authorschreibse
Repositoryschreibse/claude-code-mods
Popularity3 GitHub stars
CategorySecurity
SecurityLow risk (100/100)
Rank#2,098 of 9,397 Claude Code mods; #257 in Security
LicenseMIT
Last commit2026-11-20
Hooks1 events
Seesclassic hooks
Draws onnothing

Is pii-guard safe to install?

pii-guard scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

How do I install pii-guard?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/schreibse/claude-code-mods
    claude plugin validate ./claude-code-mods/pii-guard
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add schreibse/claude-code-mods && claude plugin install pii-guard@schreibse-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs pii-guard for you:

Install the "pii-guard" Claude Code mod from https://github.com/schreibse/claude-code-mods/tree/main/pii-guard. Run claude plugin validate on it first and show me what it can access before you enable it.

More from schreibse/claude-code-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • ask-guard: Sends Claude back when a reply ends on a yes/no question written as prose instead of AskUserQuestion (Low risk)
  • coderabbit-band: A band above the prompt with the open CodeRabbit threads and nitpicks of the branch's MR (Low risk)
  • handover: The handover sentence for a cold session, one per session: a band above the prompt, /handover-copy to copy it, after /cl (Review before installing)
  • home-watch: Shows when Claude reaches into ~ outside your work folder: a tag under each such tool call (blocked, asks you, allowed) (Low risk)
  • issue-line: The GitLab issue and MR each session works on, at the right end of the hint line under the prompt: issue number and titl (Review before installing)
  • mem-guard: Bash memory rules: Node commands run in claude-cmd.slice, and runs that would starve the machine are refused (Review before installing)
  • mr-banner: A colored card with a link under each MR/PR created, merged, approved or reviewed (Low risk)
  • needs-you: Lines where Claude waits on you are drawn in colour and pinned in a band above the prompt (Review before installing)