Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A word of caution - this is a way to leak your secrets through your shell history:

  $ envelope add dev db_pwd pwd
There are settings such that a command that starts with a space will not be saved in the history which would help here but I would be very careful about how you use this.


Mine was a bad example :) the command also lets you input stuff from stdin for that very case


What’s the threat model? If an attacker has access to your shell history then don’t they then already have access to basically everything else?


No, not necessarily. Compared to interactive prompts / processes, at a minimum ones that can help audit access (e.g. 1password), there is an immediate layer of defense missing when things are just sitting in plain text in the history. (Same extends to our beloved `.env` files.)

If you do a lot of remote pairing or screen sharing then you also remove the risk of sharing on accident by searching or walking up through your command history.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: