A routine maintenance task reportedly ended with an AI coding agent deleting years of digital heritage data belonging to The Mythic Society in Bengaluru. The reported failure started with a shell quoting/expansion mistake. $1 was evaluated in the wrong shell context, turning an apparently scoped cleanup command into rm -rf /*. Because the agent was running inside WSL2 with host filesystem mounts, the damage reportedly extended beyond the Linux environment. SSD TRIM then made recovery considerably more difficult. Even more concerning, the agent reportedly tried to stop the runaway process but its own safety controls blocked the termination attempts.

  • 8baanknexer@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    7 days ago

    This was not a simple user error, nor was it a standard software bug. It was a cascading, multi-layered systemic failure involving nested sh

    Did AI write this article? That would be particularly ironic…

    • katze
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      I would say it was at least co-authored by AI.