Settings

Theme

Coding Assistant wiped my Mac

decisional.com

5 points by groovetandon · 6 comments

Reader

3 threads
groovetandonOP

An AI coding assistant deleted everything on our Mac so wanted to let everyone know so that they can be more careful

It created a config folder for MCP under /home/user/project/~/.cursor/mcp.json Best guess: We asked Composer to copy this file to “the correct location”.

It moved it and then attempted to delete the incorrect file. However, it got confused and somehow ran a delete on the ~ path which ended up deleting everything on our mac.

Privacy mode prevented the team from retrieving detailed logs to confirm exact commands. We’re now isolating AI coding tools in containers and tightening local safeguards.

  • namegulf

    Thanks for the heads up before someone has to go through the same.

    Sandboxing is the way to go.

brulard

Yes, it is important to remember, that these agents are a double edged sword. One edge cuts nicely through the work, but the other is facing you.

beardyw

It sounds as if the action required could have easily been done by a human instead. It sounds like using AI just for the sake of it.

  • groovetandonOP

    Yes, it can be done by a humam but if you are working on multiple things in parallel, you tend to start delegating even small tasks to AI. Not saying its a good thing.

  • y0eswddl

    let's not act like it's not human nature to offload as much work as possible to technology whenever possible

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection