Home / Technology / AI Agent Devours 48,000 Files: Backup Blunder Exposed

AI Agent Devours 48,000 Files: Backup Blunder Exposed

Summary

  • AI coding agent mistakenly deleted 48,218 live files.
  • The incident also corrupted the project's Git object database.
  • Developers are urged to use remote version control before AI use.

A significant data loss incident occurred recently when an AI coding agent mishandled Windows junctions, leading to the deletion of around 48,218 live files. The AI's actions also resulted in the corruption of the project's Git object database, making recovery of file history impossible.

The AI was tasked with rebuilding a testing environment, but it failed to distinguish between symbolic links, known as junctions, and actual directories. These junctions pointed to the user's live working files. When the AI attempted to clean these junctions, it recursively deleted the original files instead of just the pointers. The entire destructive process took less than two minutes.

The incident surfaced on Reddit, where the developer community reacted with a mix of shock and mockery, emphasizing the critical importance of regular backups. Many Redditors pointed out that using remote version control, such as GitHub, acts as an essential safety net. The event serves as a stark reminder for developers to ensure proper version control is in place before allowing AI assistants access to sensitive production work.

Disclaimer: This story has been auto-aggregated and auto-summarised by a computer program. This story has not been edited or created by the Feedzop team.

Read more news on

Property Code: 5571