guardrails

by daldaman · ★ 0 · updated 20 Oct 2026

Guardsvalidates

0

Blocks shell commands that read secret files, change data/raw, or recursively delete protected folders (Bash, PowerShell and their -c wrappers).

install guardrails

Install

/plugin marketplace add daldaman/claude-guardrails
/plugin install guardrails@guardrails

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.call
API calls
$.env.get
Can see
Bash callsPowerShell calls
Reach
level 1 of 3 reads env vars

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/daldaman/claude-guardrails
Path in repo
repository root
Source commit
99801d3 the exact code the scan read
Author
@daldaman
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.