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•1h ago
Thanks for the heads up before someone has to go through the same.
Sandboxing is the way to go.
brulard•1h ago
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•1h ago
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.
groovetandon•1h ago
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.
groovetandon•2h ago
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•1h ago
Sandboxing is the way to go.