Your coding agent can read .env. Here's where the API keys should live instead.
This story is from 2026-10-24. It is preserved in the archive; the latest stories are on the live feed.
I gave Claude Code shell access to a side project last spring and watched it debug a failing OpenAI call the way any of us would: it ran cat .env . The key was now in the conversation, in the provider's logs, and in the editor's session history on disk. Nothing malicious happened. That is exactly t…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-10-24 03:00 · DEV Community — AI
Your coding agent can read .env. Here's where the API keys should live instead.