claudemods

All Claude Code modsseanrobertwright/claude-mods

env-guard

A Claude Code mod in seanrobertwright/claude-mods

Asks you before Claude reads a .env or key file, and refuses when no one is there to answer.

env-guard reaches L1 (reads) and passed claude plugin validate with warnings.

Install hint

/plugin install env-guard --marketplace seanrobertwright/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

L1 Readsreads files, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
/"^(Read|Grep|Glob)$"/ calls, /"^(Bash|PowerShell)$"/ calls
Hooks
turn.start, tool.call {tool=/"^(Read|Grep|Glob)$"/}, tool.call {tool=/"^(Bash|PowerShell)$"/}
API calls
$.command.list, $.fs.stat, $.session.surfaces, $.ui.ask, $.ui.toast
Validation
Passed with warnings
Scanned revision
effdf22bb6df
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 seanrobertwright/claude-mods

See all 22 mods from seanrobertwright/claude-mods

Badge for your README

Reach badge for env-guard Validation badge for env-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/seanrobertwright--claude-mods--env-guard-reach.svg)](https://mods.aidojo.si/mods/seanrobertwright--claude-mods--env-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/seanrobertwright--claude-mods--env-guard-validates.svg)](https://mods.aidojo.si/mods/seanrobertwright--claude-mods--env-guard/)