3 ms·
lmao, I watched Claude write a bash file that: rm rf'd my HOME file. I'm good on all of this for a while.
by TechDebtDevin 1y ago
lmao, I watched Claude write a bash file that: rm rf'd my HOME file. I'm good on all of this for a while.
- falcor84 1y agoI'm curious - what did you ask it to do?
- sfn42 1y agoThey asked it to rm rf their HOME file, clearly.. /s
- TechDebtDevin 1y agoAsked it to write a TODO app with FYNE. <1k LOC it needed to get around some sort of tool call it couldn't do, wrote the bash file and executed it. I purposely had it on YOLO. Everything was backed up idc really. Its been a bug with claude on cursor getting around permissions. It was the day claude 4 came out and I wanted to see what it could do with YOLO. It was kinda funnny but annoying, could be catastrophic for someone who doesn't back up everything obsessively.
- jack_pp 1y agoBut did you pray before you prompted?
- Kiro 1y agoNo, you did not. Stop trolling. https://news.ycombinator.com/item?id=44097108 https://news.ycombinator.com/item?id=44097108
- TechDebtDevin 1y agoYes it did. There are lots of instances of claude doing this on cursor. Just check the forums guy.
- morkalork 1y agoSaw a good vibe coding meme along the lines of the agent after having trouble with the db wanting to "start from scratch" drop all tables lol
- 1718627440 1y agoTo be fair, that's also something I do intentionally and hopefully you're not developing in production, so is that really unreasonable behaviour?
- freedomben 1y agoI am ai skeptical and have seen it do some dangerous things, such as trying to configure my iptables in a way that will definitely not work at all, let alone the way I asked it to, but I have major doubts that it would do something this stupid. How recently did this occur? What did you ask it in your prompt? What did it say as the explanation for why it was doing that?
- TechDebtDevin 1y agoSee my comment below. It is a known bug with claude 4 where it tries to bypass permissions. I did have it on full permissions to test claude 4, it wasn't a big deal as I have plenty of backup.