Setup
Add astatusLine entry to your ~/.claude/settings.json. Choose the runner that matches your environment:
- Bun (recommended)
- Claude X
- NPM
- Pipe with existing command
Mode Indicators
The status line displays a different emoji depending on which environment variables are set. When multiple modes are active, their emojis are combined.| Status | Display | Meaning |
|---|---|---|
| Plugin disabled | 🛡️ CC Safety Net ❌ | The CC Safety Net plugin is not enabled |
| Default mode | 🛡️ CC Safety Net ✅ | Protection active with default settings |
| Strict mode | 🛡️ CC Safety Net 🔒 | CC_SAFETY_NET_STRICT=1 — fail-closed on unparseable commands |
| Paranoid mode | 🛡️ CC Safety Net 👁️ | CC_SAFETY_NET_PARANOID=1 — all paranoid checks enabled |
| Paranoid RM only | 🛡️ CC Safety Net 🗑️ | CC_SAFETY_NET_PARANOID_RM=1 — blocks rm -rf even within cwd |
| Paranoid interpreters | 🛡️ CC Safety Net 🐚 | CC_SAFETY_NET_PARANOID_INTERPRETERS=1 — blocks interpreter one-liners |
| Worktree mode | 🛡️ CC Safety Net 🌳 | CC_SAFETY_NET_WORKTREE=1 — relax local git discards in linked worktrees |
| Strict + Paranoid | 🛡️ CC Safety Net 🔒👁️ | Both strict and paranoid modes enabled |
CC_SAFETY_NET_* names; legacy SAFETY_NET_* names are still accepted.
For more information on what each mode does and when to use it, see Modes.
Changes to
~/.claude/settings.json take effect immediately — no restart of Claude Code is needed.