News for hackers. Stuff that matters.
Re:Summon – Get Your Secrets into Source Control by amelius on Friday December 04, 2015 @03:16PM (#10678843)
> ... reads a file in secrets.yml format and injects secrets as environment variables into any process

Meaning that every child process will subsequently have access to the secrets?

Re:Summon – Get Your Secrets into Source Control by Skunkleton on Friday December 04, 2015 @03:33PM (#10678942)
Also, /proc/<pid>/environ. There are rules on who owns this file (root, or the executing user) based on the suid bit. Regardless, you are now depending on linux permissions to protect your secrets, which begs the question: Why not just trust the filesystem? Even if /proc/<pid>/environ didn't exist, you could go through /proc/<pid>/mem to find secrets.

It seems that this is designed to protect you from untrusted execution environments, which I don't see as feasible. What am I missing?

Re:Summon – Get Your Secrets into Source Control by mschuster91 on Friday December 04, 2015 @07:00PM (#10680070)
> It seems that this is designed to protect you from untrusted execution environments, which I don't see as feasible. What am I missing?

Shared web hosting where you share a physical machine with other users. Not everyone is into the VM craze these days, thank god

Re:Summon – Get Your Secrets into Source Control by msm23 on Friday December 04, 2015 @04:28PM (#10679272)
Running

  ps auxwwe
on Linux, Mac OS X, and other Unix-en will show all processes for all users with their complete environment.

Environment variables should not be used to share secrets.

Re:Summon – Get Your Secrets into Source Control by billhathaway on Friday December 04, 2015 @05:20PM (#10679595)
Testing on Linux, if ran as root it does, but if you are running ps auxwwe as normal user, it is only showing env variables for that user.
Re:Summon – Get Your Secrets into Source Control by jlgaddis on Friday December 04, 2015 @07:18PM (#10680142)
On FreeBSD, at least, the ability to see processes belonging to other {g,u}id's can be turned off via a sysctl.