I remember reading a book, Red Hat Linux System Administration Unleashed from 2000, where it has been postulated that knowing several tools with overlapping functionality is an essential skill, as you may end up on a broken or intentionally crippled system where, say, ls is unavailable, and you may need to cobble it together from shell and awk and what have you. Back then you could indeed run a risk of having /usr ni…
Codex just found a "workaround" of not having sudo on my PC
161–170 of 330 posts
Re: Codex just found a "workaround" of not having sudo on my PC
#162That's why your coding agent should never run as your identity.
Re: Codex just found a "workaround" of not having sudo on my PC
#163Re: Codex just found a "workaround" of not having sudo on my PC
#164I realize this is supposed to be a post about how scary the security vulnerabilities these agents will find are. But personally I love when agents do things like this and appreciate the help. Last thing in the world I want is for them to nerf the models.
Its the now-classic "Sorry I drowned little Timothy. Here is a breakdown of what happened" followed by "Let me try to respawn little Timothy on a new map"
Re: Codex just found a "workaround" of not having sudo on my PC
#1652. I have little to no sympathy for anyone running an AI agent with their full user permissions outside of a container or VM
Re: Codex just found a "workaround" of not having sudo on my PC
#166Earlier quoted context omitted.
Like the known Docker "feature" that it completely bypasses UFW and unless your ports look like "- 127.0.0.1:PORT:PORT" (and many of the examples use "-PORT:PORT") you expose everything to the internet?
My understanding is that docker will expose the ports to the host machine's network interfaces, which is a crucial difference. For my home server running docker that means exposed to the LAN, but not the WAN unless I add in a port forwarding rule on my router. Similarly in an enterprise environment you would be exposing the port on whatever VLAN the host is connected to, which hopefully doesn't have directly transit…
Re: Codex just found a "workaround" of not having sudo on my PC
#167Earlier quoted context omitted.
Most of us install Docker just to run a project locally, and is part of a long checklist of things to install. We can't expect everyone to be an expert on the hundreds of apps/tools/packages that get installed on a machine. It's like expected people to read, and understand, all the terms of service shoved in front of us on a daily basis.
That's true, the majority of people probably install software without much thinking; but it's also true that it's always better to have at least some high level understanding how the specific piece of software works. What access the given software has, will it send something over the network or work locally; that kind of stuff. As for Docker, I would assume everyone who ever tried to bind-mount a volume for writing f…
Re: Codex just found a "workaround" of not having sudo on my PC
#168Every time I try to install Docker there's a warning that being in the "docker" group is equivalent to having root access. You should probably know about this workaround by now.
There are lots of ways to get root on a typical Linux developer workstation, the point is that agents shouldn't be using any of them unprompted.
Re: Codex just found a "workaround" of not having sudo on my PC
#169Earlier quoted context omitted.
This feels like using Docker is just inherently unsafe.
This feels like using sudo is just inherently unsafe.
On the plus side, once we outlaw them we'll shut down the ability for conspiratorial thinking to spread easily and the world will slowly heal from the last couple of decades (the previous one in particular).
Hooray! We're finally doing something about the harms of social media. Smash your computer today!