News for hackers. Stuff that matters.
Re:Remote Code Execution on a Facebook server by gandreani on Friday August 24, 2018 @11:30AM (#17835534)
Just a thought. This might actually be trivial to implement in a unix environment from the administration side of things. I'm not 100% sure but all child processes inherit the env vars from the parent correct? So setting `environment=production` high up in the process tree should make it available to all processes.

There's still chances of this getting overridden down the line and all apps have to conform to one style but at least it's possible?

Re:Remote Code Execution on a Facebook server by Someone1234 on Friday August 24, 2018 @11:37AM (#17835581)
Absolutely. But none of the major players are looking for it, and they all have unique ways of designating the machine that way.

There's no specific technological challenges, this is entirely political, getting half a dozen or more different projects with different priorities to check the same variable for the same purpose.

Re:Remote Code Execution on a Facebook server by phinnaeus on Friday August 24, 2018 @11:50AM (#17835679)
Plenty of production apps in my line of work are executed with `env -i` for consistency.