From guardrails-lite
Pattern-based checks that deny .env reads, git force pushes and rm -rf on / or your home folder before Claude Code runs them.
1 event · 0 calls
Ships in guardrails-lite. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
tool.callEach event it registers a hook on, with the matcher when it sets one
tool.callWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.mjs (written ./register.mjs)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; shows its own list.
claude plugin validatenpx claudepluginhub edtrackai/claude-code-guardrails-lite --plugin guardrails-lite