
WARP
How to Stop Claude Code from Reading .env Files: Deny Rules, Sandbox, and Hooks (2026)
How to keep .env secrets away from Claude Code, checked against the October 2026 docs: deny rules that work, the reads they miss, and how the sandbox and hooks close the gap.
2026-05-01Ryuta Hamamoto