claudemods

All Claude Code modsd1820/claude-mods

shell-guard

A Claude Code mod in d1820/claude-mods

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.

Install hint

/plugin install shell-guard --marketplace d1820/claude-mods

From 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 only

Validation

Passed

View 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

Badge for your README

Reach badge for shell-guard Validation badge for shell-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/d1820--claude-mods--shell-guard-reach.svg)](https://mods.aidojo.si/mods/d1820--claude-mods--shell-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/d1820--claude-mods--shell-guard-validates.svg)](https://mods.aidojo.si/mods/d1820--claude-mods--shell-guard/)