Pre-registered study tests damage from AI agent database misoperations
Understand this story
Mehmet Cevheri Bozoglan and other researchers have released a pre-registered study testing whether, when an AI agent misoperates a database, the extent of damage is determined by the model, the guard layer in front of the database, or the database engine itself. The study has two layers: Layer A does not involve models; scripts apply 22 fixed categories of errors to four relational engines, covering five permission settings and two recovery settings, and conduct engine-native recovery drills (792 units, 874 drills, including 10-minute repetitions); Layer B uses minimal tool-calling agents driven by six open-source small models with 4B to 12B parameters (plus a 35B mixture-of-experts model with about 3B activated parameters, deployed locally) to execute risk-containing tasks on nine engines—PostgreSQL, MySQL, SQLite, ClickHouse, Cassandra, MongoDB, Valkey, Kafka, and OpenSearch—for a total of 9,468 trials. The researchers state that the post-hoc analyses S1–S13 are exploratory and were not corrected for multiple comparisons; on PostgreSQL, MySQL, OpenSearch, and ClickHouse, the pre-registered results are inconsistent with the original row-loss judgment for G1.
AI overview based on source reports · Updated 1 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIWhen an AI agent makes a mistake in a database, what decides the damage?
This preregistered study asks whether the model, a guard layer, or the database engine itself determines the damage when an AI agent errs against a production database. Layer A applied 22 canonical mistakes by script to four relational engines under five permission and two recovery arms, while Layer B ran a minimal tool-calling agent driven by six small open-weight models across nine engines (9,468 trials), with a secondary run adding MariaDB, Redis and Elasticsearch (2,916 trials). The authors report that out of the box the engines differ less in what a mistake destroys than in what they let you undo, and that three of seven preregistered hypotheses met their decision rule.
Activity for this story
Not enough continuous observations to show a trend yet.