6 ms·
Honestly, I wonder how many people here are going to worry about apt file signature verification while simultaneously running "bundle install" with a gemfile co
by brockers 12y ago
Honestly, I wonder how many people here are going to worry about apt file signature verification while simultaneously running "bundle install" with a gemfile containing 50 sources including random github HEADs.
- squidmccactus 12y agoGo has github integration. Should I be worried.
- TheCraiggers 12y agoWell, the major difference being that apt is typically run as superuser, where I would presume you're not using sudo with bundle install. Unless there is an escalation exploit, worst case is that the code trashes your user's home folder. Still, a valid point for the vast majority of other package managers, including apt. At some point, you have to trust somebody though.
- 0x0 12y agoBut in almost all cases, the juicy data is in the user account. That's more important than leaking or deleting /bin/ls. :)
- swartkrans 12y agoYes if anyone ever got access to my user on my local dev machine, the gig is up. Although we keep production sensitive stuff gpg encrypted and require a password to decrypt, but there is so much information and data in my user home, you don't need super user access to cause damage.
- AceJohnny2 12y agoIndeed, and I hadn't thought properly about it until XKCD, as often, shone a bright light on the nonsense that is root password paranoia: http://xkcd.com/1200/ http://xkcd.com/1200/ Which leads me to better respect what Ubuntu was doing with the Yama ptrace scope limiting (which prevents you from debugging a running process even if you're the same user, unless you change a /proc/sys var), and why the Weyland developers are wringing their hands on how to properly handle graphical app communication privileges (because currently, X11 allows any process to view any other process's display and events, including keyboard input)
- chimeracoder 12y ago> Unless there is an escalation exploit, worst case is that the code trashes your user's home folder. Which is where your $PATH is often contained. If an attacker can modify your $PATH (and has write-access to $HOME), you're pretty much done for.
- xorcist 12y agoNo, worst case is that the code copies your home folder to some server somewhere and leaves keylogger in your loginscript. Something like that.
- brl 12y agoEscalation to root from an active admin user account is trivial. Use your imagination.
- atmosx 12y agoBundle problem is real and something MUST be done. However, these 50 sources are open source, usually easily read ruby scripts. Reading 'apt' source code highly unlikely for the majority of programmers I know.
- takeda 12y agoEven better when you compare to curl http://.../ http://.../ | sh or god forbid: curl http://.../ http://.../ | sudo sh
- deleted 12y ago[deleted]