Coding Assistant wiped my Mac

(decisional.com)

4 points | by groovetandon 18 hours ago ago

6 comments

  • groovetandon 18 hours ago ago

    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 18 hours ago ago

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

      Sandboxing is the way to go.

  • brulard 17 hours ago 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 17 hours ago 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.

    • y0eswddl 2 hours ago ago

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

    • groovetandon 17 hours ago 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.