All Claude Code modsd1820/claude-mods
shell-guard
Blocks in-place file mutation via the shell (sed -i, perl -i clusters, awk -i inplace) on the model's tool calls: the Edit tool is the correct way to modify files. Fail-closed; tight default list, extensible in register.ts.
The validator reported no API methods for shell-guard; it passed claude plugin validate.
- Events hooked: 1
- API methods referenced: 0
- Access: no API methods recorded
- Static scan, not a runtime test
Install hint
/plugin install shell-guard --marketplace d1820/claude-modsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L0 Draws & remembersdraws onlyValidation
PassedView the source on GitHub Back to the list
What the scan recorded
- Observed events
- every tool call
- Hooks
tool.call- API calls
none recorded- Validation
- Passed
- Scanned revision
32ad032bf67d- Marketplace warnings
- claude-mods
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.
More from d1820/claude-mods
- activityLive activity: turn time + tool count in a band, per-tool and subagent detail (status, elapsed, turns, tokens…
- commit-safetyEnforces git commit hard-rules: blocks blanket staging (add -A/./-u/--update), git mv, pushes to main, inline…
- truncation-guardBlocks truncating command output (head/tail/sed -n/Get-Content -TotalCount/Select-Object -First) so full outp…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/d1820--claude-mods--shell-guard/)
[](https://mods.aidojo.si/mods/d1820--claude-mods--shell-guard/)