You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Potential Security Risk: Claude Code Accessing Local .env File Environment Variables #112
Bug Description
apparentely, claude code uses my .env in my node.js project as if it was yours. I see that because I have DEBUG=true in my .env, which causes claude code to post debug logs about the requests it's doing. not only it seems to be not intended, but it also raises security concerns about claude code reading my keys
Environment Info
Platform: macos
Terminal: vscode
Version: 0.2.14
Feedback ID: 40b8e089-d871-43e4-9f12-e5bd80984280
Reacted by Eric McDonald, Dan Nguyen, trojan_ku, Steve Krenzel, Brian Rowe and Daniel Jackson
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Aug 9, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.