Real-world lessons.

Six documented incidents, one for each area every audit covers. None of these were vibe-coded apps, and the teams behind them were experienced engineers. That's the point: these problems happen to everyone, and the habits that limit the damage are learnable.

A note on fairness. These summaries are short versions of longer stories, and each links to the original report. Real incidents usually have more than one cause. We're not suggesting an audit would have prevented any of them. They're here because each one shows, in terms any business owner understands, why an area matters.

Security and Privacy

Closed

within days of the attack

Code Spaces, 2014

An attacker deleted the company, backups included

What happened

An attacker got into Code Spaces' Amazon Web Services account and demanded money. When the company tried to take back control, the attacker deleted servers, data and most of the backups, which were reachable from the same account. Over a few days the code-hosting company announced it could no longer operate.

The lesson

Backups that sit behind the same login as everything else aren't really separate. Who can reach your account, and where the copies live, matter as much as having copies.

What this area covers in an audit: Who can log in, who can see what, where your secrets live, and how customer information is handled. Rules that live on the server, not just in the browser.

Correctness and Data Integrity

12%

of workspaces lost data until restored

Linear, 2024

One database update emptied tables it was never meant to touch

What happened

An update meant to clear test data from two new tables used a command that also emptied every table linked to them, including issue descriptions and comments. Code review, local testing and automated checks all missed it. Linear restored over 99% of the affected data from backup within about 36 hours, but some changes couldn't be recovered.

The lesson

Changes to data are the riskiest kind of change. Linear's follow-up included stricter review of database changes, testing them on a staging copy first, and better data integrity monitoring.

What this area covers in an audit: Does the app get the right answer? Totals that add up, and records that don't get lost, duplicated or quietly overwritten when you ship an update.

Reliability and Operations

50%

off a month for Enterprise customers

Amplitude, 2016

A script meant for testing ran against the live system

What happened

An engineer ran a script meant for a development environment against production. It deleted tables the analytics service needed, and two of them had no usable backup and had to be rebuilt from historical data. Customers couldn't see current data for about a week, recovery estimates slipped several times, and Amplitude gave Enterprise customers half off their monthly service.

The lesson

Safeguards between test and production, backups for everything that matters, and a recovery plan you've practiced turn a bad day into a short one.

What this area covers in an audit: What happens when a service goes down, a job fails halfway, or ten times more people show up. Whether you can recover, and how fast.

Testing and Verification

Shut down

after an early stumble it never recovered from

Flud, 2010 to 2013

A press-driven launch without adequate testing

What happened

The social news reader launched with strong press coverage. The surge of new users brought crashes, and when the service came back, too many bugs remained. Early users told others about the bad experience. Its founder later said the team "really didn't test the initial product enough." Testing wasn't the only reason Flud closed in 2013, but he called the early spiral hard to recover from.

The lesson

Testing before you invite a crowd is cheaper than winning back the people who arrived first.

What this area covers in an audit: Whether yesterday's change broke something that worked last week. Automated tests catch that on every change, and AI now makes them cheap to write.

Maintainability and Performance

$460M

lost in about 45 minutes

Knight Capital, 2012

Old code, an incomplete release and missing safeguards

What happened

Knight's trading software still contained old code that hadn't been used in years. In 2012 the firm installed new code on its servers but missed one of the eight. The new release reused a setting that, on that one server, switched the old code back on. In about 45 minutes the system sent more than 4 million orders while trying to fill 212 customer orders, and the firm lost more than $460 million. The SEC found Knight lacked adequate controls to catch the faulty release and to stop the errant orders quickly.

The lesson

No single cause did this. Leftover code, a release that didn't reach every server, and no way to stop the damage fast all lined up. Removing code you no longer use, checking that every release lands where it should, and having a quick way to stop runaway behavior each lower the odds.

What this area covers in an audit: Code that stays easy to change as you add features, pages that stay fast as your data grows, and bills that grow no faster than your revenue.

Documentation and Understandability

18 hrs

offline, with about six hours of data lost

GitLab, 2017

Multiple backup methods, and the recovery steps weren't written down

What happened

During a late-night fix, an engineer deleted data on the main database server instead of the copy. The team then found that several backup methods weren't working, partly because nobody owned or regularly tested them, and the steps for rebuilding the copy were manual and undocumented. GitLab.com was down for about 18 hours, and data from roughly six hours was lost, affecting at least 5,000 projects.

The lesson

Written, tested recovery steps are what make a backup useful. GitLab's follow-up included better runbooks, automated restore testing and a named owner for backups.

What this area covers in an audit: If it breaks at 2 a.m., can anyone besides your AI assistant figure out how it works and how to bring it back?

The good news for AI builders

The fixes behind most of these lessons are things AI tools are now good at: writing tests, adding monitoring, documenting recovery steps, tightening access rules. You just have to know to ask for them.

That's what an audit gives you: a clear picture of where your app stands in each area, prompts for your AI tool, and guidelines that keep it on track as you build.

Let's talk about your app.

A free vibe check is a no-obligation conversation about what you built and what's worrying you. Tell us a little about your app below, and Jonathan will reply within two business days to set up a time to talk.

We use your details only to reply to you. No mailing list. See the privacy policy.