← Back to context

Comment by giancarlostoro

19 hours ago

This could be avoided by aliasing rm to something else that stops you from deleting stupid things like your entire home directory / partition root.

What if the LLM detects this, and chooses to run /bin/rm directly? Or worse, writes a program that calls unlink.

  • I mean, you can always purge /bin/rm, but at this point since you're not satisfied, sounds like you want SELinux ;)

    If Claude is writing a program to go that low level I'd pay money to watch that.

    • It doesn't even need to go that low level, writing a program is just the worst case. There are ways to mass delete without `rm`. Example: `find` with the `-delete` flag.

      3 replies →