Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I remember seeing on twitter how Claude 4 Sonnet tried to run rm -r ~ for some reason within cursor. It could have been a meme potentially, but from my experience this doesn’t seem to be to far off as it does weird things for weird reasons sometimes


It was because it had created a directory named "~" and then tried to remove it, which Bash would of course interpret as the actual home directory




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: