News for hackers. Stuff that matters.
Re:Ask HN: Why is Cursor IDE accessing all my env vars? by cjbprime on Friday February 21, 2025 @05:01PM (#43133594)
Env vars are fine for secrets, as long as you provide the right env vars to the right processes. You can unset them before launching a new process, or better still, not "export" the sensitive ones to all processes.
Re:Ask HN: Why is Cursor IDE accessing all my env vars? by jimsmart on Friday February 21, 2025 @05:37PM (#43133916)
This ^^

Just avoid putting secrets in the global environment if it is a concern, and instead just pass necessary secrets locally in the environment when launching a specific app.