Comment by direwolf20
Comment by direwolf20 3 days ago
This is not hypothetical. Steam and Bumblebee did it.
Comment by direwolf20 3 days ago
This is not hypothetical. Steam and Bumblebee did it.
Found it. is was this line [0] specifically. "rm -rf /usr /lib/nvidia-current/xorg/xorg" instead of "rm -rf /usr/lib/nvidia-current/xorg/xorg", which will delete all of /usr and then fail to delete a non-existent directory at /lib/nvidia-current/xorg/xorg
0: https://github.com/MrMEEE/bumblebee-Old-and-abbandoned/commi...
You'd be surprised to see how often we're seeing those types of semantic attack vulnerabilities in Agent frameworks: https://niyikiza.com/posts/map-territory/
I believe that is what staticassertion was suggesting. / is a poor example because of --preserve-root being the default.
That was the result of an additional space in the path passed to rm, IIRC.
Though rm /$TARGET where $TARGET is blank is a common enough footgun that --preserve-root exists and is default.