Don’t let A.I. read your .env files

6 months ago by codeinabox to c/security

AI coding assistants like Claude Code, Cursor, and GitHub Copilot are becoming part of our daily workflow. They read our files, understand our codebase, and help us write code faster. But there's a problem - they can also read your .env files.

load all comments
infiniteface 3 points 6 months ago

Just sandbox it instead.

path: 0 23036858, hotness: undefined, score: 3, children: 0
security
security

@programming.dev

login for more options
2181
172
89

A community for discussion about cybersecurity, hacking, cybersecurity news, exploits, bounties etc.

Rules :

  1. All instance-wide rules apply.
  2. Keep it totally legal.
  3. Remember the human, be civil.
  4. Be helpful, don't be rude.

Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient

go to feed...