Check the current Claude Code permissions for .env files without attempting to read them.
Check current Claude Code permissions for .env files across user, project, and local settings. Shows which settings are active and whether .env files can be accessed, without reading any actual .env files.
/plugin marketplace add bjornallvin/cc-plugins/plugin install secure-env@cc-pluginsCheck the current Claude Code permissions for .env files without attempting to read them.
Important: Project-level settings completely override user-level settings (they don't merge).
Check all three settings locations:
~/.claude/settings.json./.claude/settings.json (if exists)./.claude/settings.local.json (if exists)For each file that exists, parse the permissions section (both allow and deny arrays)
Look for patterns related to .env files in each:
**/.env**/.env.***/.env.example**/.env.localReport findings clearly:
./.claude/settings.local.json exists → it takes precedence./.claude/settings.json exists → it takes precedence~/.claude/settings.json is activeProvide a summary like:
If project settings are missing .env protections, suggest:
/secure-env.apply to add secure .env deny rules to this project's settings"Do NOT attempt to read, write, or access any actual .env files - only check the permissions configuration files.