Is data exposed? Stabilise and triage first
Before you try to fix anything, contain the damage. If there's any chance personal data is exposed or actively leaking, take the app offline — a maintenance page, a disabled feature, or a rate limit will do. A few hours of downtime is almost always cheaper than a continuing breach. ‘Vibe-coded' apps — built by describing intent to an AI and accepting the generated code with little review, the practice Andrej Karpathy named in February 2025 — most often fail exactly here, by letting anyone read data they shouldn't.
Then start a timeline. Write down what broke, when you noticed, and every action you take, with timestamps. If a data leak is confirmed, you may have legal notification obligations (for example, under GDPR) on a clock measured in hours, so the record matters. Resist the urge to immediately ask the AI to patch it — uncontained, a fix can overwrite evidence or make a leak worse. Stabilise, document, then move deliberately.
