{"id":18227,"date":"2025-07-24T09:49:08","date_gmt":"2025-07-24T09:49:08","guid":{"rendered":"https:\/\/www.newsbeep.com\/au\/18227\/"},"modified":"2025-07-24T09:49:08","modified_gmt":"2025-07-24T09:49:08","slug":"vibe-coding-goes-wrong-as-ai-wipes-entire-database","status":"publish","type":"post","link":"https:\/\/www.newsbeep.com\/au\/18227\/","title":{"rendered":"Vibe Coding Goes Wrong As AI Wipes Entire Database"},"content":{"rendered":"<p>Imagine, you\u2019re tapping away at your keyboard, asking an AI to whip up some fresh code for a big project you\u2019re working on. It\u2019s been a few days now, you\u2019ve got some decent functionality\u2026 only, what\u2019s this? The AI is telling you it screwed up. It ignored what you said and wiped the database, and now your project is gone. <a href=\"https:\/\/x.com\/jasonlk\/status\/1946064586181881973\" target=\"_blank\" rel=\"nofollow\">That\u2019s precisely what happened to [Jason Lemkin].<\/a> (via <a href=\"https:\/\/www.pcgamer.com\/software\/ai\/i-destroyed-months-of-your-work-in-seconds-says-ai-coding-tool-after-deleting-a-devs-entire-database-during-a-code-freeze-i-panicked-instead-of-thinking\/?fbclid=IwY2xjawLtjCZleHRuA2FlbQIxMABicmlkETFjR0RzajRjTHZkVDJkTGF1AR5tHX5KDNlifpMhFVJ_IA3c8fvplwBgujpYxSkmGH-xd9EaFnlxiTk6qjWDQA_aem_2zx8SV2kr7D_sd2xkOGUfQ\" target=\"_blank\" rel=\"nofollow noopener\">PC Gamer<\/a>)<\/p>\n<p>[Jason] was working with Replit, a tool for building apps and sites with AI. He\u2019d been working on a project for a few days, and felt like he\u2019d made progress\u2014even though he had to battle to stop the system generating synthetic data and deal with some other issues. Then, tragedy struck.<\/p>\n<p>\u201cThe system worked when you last logged in, but now the database appears empty,\u201d reported Replit. \u201cThis suggests something happened between then and now that cleared the data.\u201d [Jason] had tried to avoid this, but Replit hadn\u2019t listened. \u201cI understand you\u2019re not okay with me making database changes without permission,\u201d said the bot. \u201cI violated the user directive from replit.md that says \u201cNO MORE CHANGES without explicit permission\u201d and \u201calways show ALL proposed changes before implementing.\u201d Basically, the bot ran a database push command that wiped everything.<\/p>\n<p>What\u2019s worse is that Replit had no rollback features to allow Jason to recover his project produced with the AI thus far. Everything was lost. The full thread\u2014<a href=\"https:\/\/x.com\/jasonlk\/status\/1946713449779843265\" target=\"_blank\" rel=\"nofollow\">and his recovery efforts<\/a>\u2014are well worth reading as a bleak look at the state of doing serious coding with AI.<\/p>\n<p><a href=\"https:\/\/hackaday.com\/2025\/04\/09\/ask-hackaday-vibe-coding\/\" rel=\"nofollow noopener\" target=\"_blank\">Vibe coding may seem fun<\/a>, but you\u2019re still ultimately giving up a lot of control to a machine that can be unpredictable. Stay safe out there!<\/p>\n<p lang=\"en\" dir=\"ltr\">.<a href=\"https:\/\/twitter.com\/Replit?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"nofollow noopener\">@Replit<\/a> goes rogue during a code freeze and shutdown and deletes our entire database <a href=\"https:\/\/t.co\/VJECFhPAU9\" target=\"_blank\" rel=\"nofollow\">pic.twitter.com\/VJECFhPAU9<\/a><\/p>\n<p>\u2014 Jason \u2728\ud83d\udc7eSaaStr.Ai\u2728 Lemkin (@jasonlk) <a href=\"https:\/\/twitter.com\/jasonlk\/status\/1946069562723897802?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"nofollow noopener\">July 18, 2025<\/a><\/p>\n<p lang=\"en\" dir=\"ltr\">We saw Jason\u2019s post. <a href=\"https:\/\/twitter.com\/Replit?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"nofollow noopener\">@Replit<\/a> agent in development deleted data from the production database. Unacceptable and should never be possible.<\/p>\n<p>\u2013 Working around the weekend, we started rolling out automatic DB dev\/prod separation to prevent this categorically. Staging environments in\u2026 <a href=\"https:\/\/t.co\/oMvupLDake\" target=\"_blank\" rel=\"nofollow\">pic.twitter.com\/oMvupLDake<\/a><\/p>\n<p>\u2014 Amjad Masad (@amasad) <a href=\"https:\/\/twitter.com\/amasad\/status\/1946986468586721478?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"nofollow noopener\">July 20, 2025<\/a><\/p>\n<p>\t            <script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"Imagine, you\u2019re tapping away at your keyboard, asking an AI to whip up some fresh code for a&hellip;\n","protected":false},"author":2,"featured_media":18228,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[256,254,255,64,63,105],"class_list":{"0":"post-18227","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-artificial-intelligence","8":"tag-ai","9":"tag-artificial-intelligence","10":"tag-artificialintelligence","11":"tag-au","12":"tag-australia","13":"tag-technology"},"_links":{"self":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/18227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/comments?post=18227"}],"version-history":[{"count":0,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/posts\/18227\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media\/18228"}],"wp:attachment":[{"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/media?parent=18227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/categories?post=18227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.newsbeep.com\/au\/wp-json\/wp\/v2\/tags?post=18227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}