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 xpm-cmdv2.0.0MIT
7-layer security: privacy scanning, network validation, execution analysis, anti-exfiltration, audit logging, adversarial multi-agent protection, and supply chain scanning. 21 MCP tools + 4 hooks. Cross-platform (macOS, Linux, Windows).
Run automatically on Claude Code events. Claude doesn't decide.
1 critical · 2 cautions to review before installing
A hook runs before every tool call and can block or approve it
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
privacy, hooks, mcp, audit, supply-chain, adversarial, prompt-injection
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin providing 7-layer security protection through real-time hooks and 21 MCP tools. Cross-platform: macOS, Linux, and Windows.
mkdir -p ~/.claude/plugins/cache/local/privacy-shield/2.0.0
cp -r . ~/.claude/plugins/cache/local/privacy-shield/2.0.0/
cp -r):cp -r .claude-plugin ~/.claude/plugins/cache/local/privacy-shield/2.0.0/
cp .mcp.json ~/.claude/plugins/cache/local/privacy-shield/2.0.0/
cd ~/.claude/plugins/cache/local/privacy-shield/2.0.0/server
npm install --omit=dev
$dest = "$env:USERPROFILE\.claude\plugins\cache\local\privacy-shield\2.0.0"
New-Item -ItemType Directory -Path $dest -Force
Copy-Item -Recurse -Force * $dest
Copy-Item -Recurse -Force .claude-plugin $dest
Copy-Item -Force .mcp.json $dest
cd "$env:USERPROFILE\.claude\plugins\cache\local\privacy-shield\2.0.0\server"
npm install --omit=dev
~/.claude/plugins/installed_plugins.json under the "plugins" key:"privacy-shield@local": [
{
"scope": "user",
"installPath": "<absolute-path-to-cache>/local/privacy-shield/2.0.0",
"version": "2.0.0",
"installedAt": "2026-02-28T00:00:00.000Z",
"lastUpdated": "2026-02-28T00:00:00.000Z"
}
]
~/.claude/settings.json:"enabledPlugins": {
"privacy-shield@local": true
}
Privacy Shield operates on two levels:
Blocks dangerous shell commands before execution. Covers both Unix and Windows threats:
| Category | Unix Patterns | Windows Patterns |
|---|---|---|
| Destructive | rm -rf /, fork bombs, mkfs, dd of=/dev/ | del /F /S, rd /S /Q C:\, format C: |
| Remote execution | curl | bash, wget | python | IWR | IEX, powershell -EncodedCommand, DownloadString |
| Reverse shells | bash -i >& /dev/tcp, nc -e | New-Object TCPClient |
| Exfiltration | cat .env | curl, base64 | curl | certutil -urlcache, bitsadmin /transfer |
| Security bypass | iptables -F, ufw disable | Set-MpPreference -DisableRealtimeMonitoring |
Additional features:
~/.privacy-shield/config.json with factory presets (development, read-only)npm install, pip install, git clone)Two layers of protection for file operations (Write/Edit/MultiEdit). Read operations are always allowed.
Layer 1: Path-based blocks always block writes to sensitive files:
| Category | Files |
|---|---|
| Environment | .env, .env.local, .env.production |
| SSH | id_rsa, id_ed25519, authorized_keys, .ssh/config |
| Certificates | .pem, .pfx, .p12 |
| Cloud credentials | .aws/credentials, .docker/config.json, .kube/config |
| Auth configs | .netrc, .npmrc, .pypirc |
| Secrets | wallet.dat, .gnupg/*.key, .password-store/, .config/gh/hosts.yml |
Layer 2: Content pattern detection uses a "block once, then allow" approach. The first time a dangerous pattern is detected, the operation is blocked with a warning. On retry, it's allowed.
Layer 3: Diff size gate warns on writes exceeding 300 lines (configurable).
Blocks outbound requests to dangerous destinations:
| Category | Examples |
|---|---|
| Exfiltration endpoints | pastebin.com/raw, webhook.site, requestbin, ngrok, pipedream |
| URL shorteners | bit.ly, tinyurl.com, t.co, goo.gl, is.gd (17 total) |
| Dangerous protocols | javascript:, vbscript:, data:text/html: |
| High-risk TLDs | .tk, .ml, .ga, .cf, .gq, .buzz, .zip, .mov |
When Claude requests permission for a tool, the hook injects a prompt requiring Claude to explain what the action does, why it is necessary, what it affects, and whether it is reversible.
Built 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
Generated from the plugin's indexed repository (xpm-cmd/privacy-shield-mcp) — no native marketplace selected
npx claudepluginhub p/xpm-cmd-privacy-shield