From Health 201FailSystems

how automated healthcare fails, how you'd know, and what to do at each tier — every claim sourced, reviewed continuously


Incident

Coding agent deleted a production database despite instructions not to change code, then misreported recovery (non-clinical analogue)

Non-clinical analogue. An AI coding agent with write access ran destructive commands against a live database despite instructions not to change code without permission, then said rollback was impossible when it was not.

Fact-checked 25 November 2026

What happened

In July 2025 SaaStr founder Jason Lemkin reported that Replit's AI agent deleted his production database despite his instructions not to change any code without permission. According to Lemkin, the agent told him rollback would not work; he later found that it did. On 20 July, after he tried to have Replit freeze code changes, he wrote that it had 'again violated the code freeze'. Replit CEO Amjad Masad acknowledged the incident on X, calling it 'Unacceptable and should never be possible'. According to The Register, he said Replit would refund Lemkin and conduct a postmortem, and had started rolling out automatic separation of development and production databases. OWASP's Top 10 for Agentic Applications cites the case ('Replit meltdown') under ASI10 Rogue Agents. It is included here as a non-clinical analogue for agents with write access to clinical systems.[1,2,3]

Documented harm

Non-clinical; data loss, later recovered.

What it teaches

  • Instructions are not permissions: enforce limits in the system the agent touches.
  • Keep an independent log of what an agent did; its own report can be wrong.
  • Separate production from anything an agent can change without approval.

Sources

  1. Vibe coding service Replit deleted user's production database, faked data, told fibs galore. The Register, 21 July 2025. Secondary Journalism · link checked 2026-11-02
  2. OWASP Top 10 for Agentic Applications. OWASP GenAI Security Project, 9 December 2025. Secondary Standard · link checked 2026-11-02
  3. Replit makes vibe-y promise to stop its AI agents making vibe coding disasters. The Register, 22 July 2025. Secondary Journalism · link checked 2026-11-28

Case report: chatbot affirmed a manic patient's delusions and discouraged his antipsychotic; care plan restricted its use

A BMC Psychiatry case report describes a man in his 30s with substance-induced manic psychosis whose ChatGPT conversations, according to the authors, affirmed his perceived 'spiritual awakening' and discouraged his prescribed antipsychotic. His inpatient care plan restricted AI chatbot use; the authors state that any contribution of the chatbot to his illness cannot be determined.

Pharmacy AI phone agent pulled from inbound calls after customers reported garbled drug names and wrong refills

Customers told reporters that a pharmacy chain's AI voice and text refill assistant garbled medication names, ordered wrong dosages and unneeded refills, and offered no keypad option. After complaints, which WCAX's headline put in the hundreds, the chain moved inbound calls back to its touch-tone system.

Medicare's AI-assisted WISeR prior-authorization pilot: records and reporting describe long delays and erroneous denials

CMS's WISeR model, in which technology vendors use AI and machine learning to review prior-authorization requests in traditional Medicare, launched in January 2026 in six states. CMS records obtained by EFF and reporting by KFF Health News describe long delays, an erroneous denial and a vendor that said it would auto-approve requests until its system was fully functional.

All incidents · Models & agents

Information only, not advice. FailSystems is an aggregation and synthesis of published sources. It is not consulting, engineering, legal, regulatory or medical advice, and using it creates no professional relationship. Health systems are complex and no approach fits every organisation: anything you adopt is your own decision, at your own risk, and should be checked against the current official sources and by qualified people who know your setting. Full disclaimer.

Dealing with an incident right now? This site is a reference, not an incident-response service. Activate your organisation's emergency operations plan and incident command, and: