Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
giancarlostoro
2mo ago
0 comments
Share
This could be avoided by aliasing rm to something else that stops you from deleting stupid things like your entire home directory / partition root.
0 comments
default
newest
oldest
icedchai
2mo ago
What if the LLM detects this, and chooses to run /bin/rm directly? Or worse, writes a program that calls unlink.
giancarlostoro
OP
2mo ago
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.
icedchai
2mo ago
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.
1 more reply
j
/
k
navigate · click thread line to collapse