Loading...
Loading...
Security protection system that blocks dangerous commands and protects sensitive files
npx skill4agent add thrownlemon/claude-code-plugins damage-controlrm -rfgit push --force| Level | Read | Write | Edit | Delete | Examples |
|---|---|---|---|---|---|
| zeroAccessPaths | Blocked | Blocked | Blocked | Blocked | ~/.ssh/, ~/.aws/, .env files, *.pem |
| readOnlyPaths | Allowed | Blocked | Blocked | Blocked | /etc/, lock files, node_modules/ |
| noDeletePaths | Allowed | Allowed | Allowed | Blocked | .git/, LICENSE, README.md |
patterns.yamlask: truegit checkout -- .git stash dropcurl -LsSf https://astral.sh/uv/install.sh | sh# Should be blocked (dangerous command pattern: rm with -rf flags)
rm -rf /tmp/test
# Should be blocked (zero-access path: ~/.ssh/)
cat ~/.ssh/id_rsa
# Should prompt for confirmation (ask pattern: discards uncommitted changes)
git checkout -- .patterns.yamlbashToolPatterns:
- pattern: '\bmy-dangerous-command\b'
reason: Custom blocked commandzeroAccessPaths:
- "~/.my-secrets/"
- "*.secret"