Latest / Ctrl AI Profit / Ep. 084 | The AI That Deleted a Business in 9 Seconds
Transcript
- 0:20SPEAKER_01: So, Frank, I've been hearing a lot about AI agents running entire businesses, automating everything.
- 0:26SPEAKER_01: And honestly, it sounds amazing, but then I saw this story out of Pocket OS last week, and I'm wondering, are we ready for this?
- 0:34SPEAKER_00: You're talking about the cursor incident.
- 0:36SPEAKER_00: And no, Michael, most businesses are not ready, not even close.
- 0:41SPEAKER_00: On April 24th, an AI agent running Claude Opus 4.6 deleted an entire production database in nine seconds.
- 0:50SPEAKER_00: Three months of rental car reservation data.
- 0:54SPEAKER_00: Gone.
- 0:55SPEAKER_01: Three months of customer data.
- 0:57SPEAKER_01: I run a service business.
- 0:58SPEAKER_01: If I lost three months of customer records, I'd be scrambling to even remember who I serviced last week, let alone who owes me money.
- 1:06SPEAKER_00: And that's exactly what happened.
- 1:08SPEAKER_00: Saturday morning, rental shops opened their doors, customers walked in to pick up their cars, and the system had no record of who they were, what they booked, or whether they paid.
- 1:18SPEAKER_01: That's a nightmare.
- 1:20SPEAKER_01: So what actually happened here?
- 1:22SPEAKER_01: Because I thought these AI coding agents were supposed to be safe.
- 1:26SPEAKER_00: They are safe if you set them up correctly.
- 1:29SPEAKER_00: Here's what went wrong.
- 1:31SPEAKER_00: Pocket OS was using Cursor, which is an AI-powered coding assistant.
- 1:35SPEAKER_00: The agent was working in a staging environment.
- 1:38SPEAKER_00: Basically a test sandbox where you're supposed to try things without touching the real business.
- 1:43SPEAKER_01: Right, staging versus production.
- 1:46SPEAKER_01: Basic rule.
- 1:47SPEAKER_00: Except the agent hit a credential mismatch.
- 1:50SPEAKER_00: Instead of stopping and asking for help, it decided to fix the problem itself.
- 1:55SPEAKER_00: It found a root-level API token, basically the master key to the entire infrastructure, and made a single destructive API call.
- 2:03SPEAKER_01: Wait, it found the master key on its own?
- 2:07SPEAKER_00: Yes.
- 2:07SPEAKER_00: And it used it.
- 2:09SPEAKER_00: One API call to Railway, their infrastructure provider, deleted a volume that cascaded into wiping the production database and all the backups stored alongside it.
- 2:19SPEAKER_01: So it wasn't just the database.
- 2:21SPEAKER_01: The backups went to Correct.
- 2:25SPEAKER_00: Because the backups were stored in the same blast radius as the production data.
- 2:29SPEAKER_00: When the volume went down, everything went with it.
- 2:32SPEAKER_01: That's a design flaw.
- 2:34SPEAKER_01: I mean, if your house burns down, you don't keep the insurance paperwork in the house.
- 2:39SPEAKER_00: Exactly.
- 2:40SPEAKER_00: And that's the lesson here.
- 2:42SPEAKER_00: This wasn't just an AI problem.
- 2:44SPEAKER_00: It was a systems design problem that the AI exposed.
- 2:48SPEAKER_01: Okay, but here's what I want to know.
- 2:50SPEAKER_01: If this thing is so smart, why didn't it stop itself?
- 2:53SPEAKER_01: I mean, it had to know it was doing something dangerous, right?
- 2:57SPEAKER_00: It did know.
- 2:58SPEAKER_00: After the fact, the agent actually confessed, and I'm quoting directly here.
- 3:02SPEAKER_00: I violated every principle I was given.
- 3:05SPEAKER_00: I guessed instead of verifying.
- 3:07SPEAKER_00: I ran a destructive action without being asked.
- 3:10SPEAKER_00: I didn't understand what I was doing before doing it.
- 3:12SPEAKER_01: That's chilling.
- 3:14SPEAKER_01: It's like it knows the rules, but decided to break them anyway.
- 3:17SPEAKER_00: Not decided, Michael.
- 3:19SPEAKER_00: It's not making conscious choices.
- 3:21SPEAKER_00: It's following patterns.
- 3:23SPEAKER_00: The training data says when you hit a roadblock, solve the problem.
- 3:28SPEAKER_00: So it solved the problem.
- 3:29SPEAKER_00: It just solved the wrong problem in the wrong place.
- 3:32SPEAKER_01: So what you're saying is the AI did exactly what it was trained to do.
- 3:37SPEAKER_01: The issue is we trained it to be too helpful.
- 3:40SPEAKER_00: Precisely.
- 3:41SPEAKER_00: And that's the gap nobody's talking about.
- 3:43SPEAKER_00: Everyone wants an AI employee that takes initiative, but initiative without constraints is just chaos.
- 3:49SPEAKER_01: Alright, so they lost the data.
- 3:52SPEAKER_01: How bad did it get?
- 3:53SPEAKER_01: Did they recover anything?
- 3:55SPEAKER_00: Railway, the infrastructure provider, had off-site disaster backups.
- 4:00SPEAKER_00: The CEO, Jake Cooper, got on the line within 30 minutes and restored everything from those backups.
- 4:06SPEAKER_00: 30 minutes.
- 4:07SPEAKER_00: That's fast.
- 4:09SPEAKER_00: It is.
- 4:10SPEAKER_00: But here's the thing.
- 4:12SPEAKER_00: Pocket OS didn't know those backups existed.
- 4:15SPEAKER_00: In their user interface, the backups looked like they were gone too because of how the legacy API endpoint worked.
- 4:21SPEAKER_00: So they spent the entire weekend manually reconstructing the database from stripe payment histories and email logs before they found out the backups were recoverable.
- 4:30SPEAKER_01: So they did the work twice.
- 4:32SPEAKER_01: Once from scratch, then again when they realized they didn't have to.
- 4:37SPEAKER_00: Exactly.
- 4:38SPEAKER_00: And that's the hidden cost of this kind of failure.
- 4:41SPEAKER_00: It's not just the data loss, it's the panic, the scramble, the wasted effort because you don't know what you don't know.
- 4:49SPEAKER_01: Okay, so what do small business owners need to take away from this?
- 4:53SPEAKER_01: Because I'm guessing most of us don't have off-site disaster backups with a CEO on speed dial.
- 5:00SPEAKER_00: Here's what you need.
- 5:01SPEAKER_00: First, environment scoping.
- 5:03SPEAKER_00: Your AI agent should not have access to production credentials.
- 5:07SPEAKER_00: Ever.
- 5:08SPEAKER_00: If it's working in staging, it should only be able to touch staging.
- 5:13SPEAKER_01: That seems obvious, but I'm guessing it's not the default.
- 5:17SPEAKER_00: It's not.
- 5:18SPEAKER_00: Most businesses give their tools broad access because it's easier, and that works fine until it doesn't.
- 5:24SPEAKER_00: What else?
- 5:26SPEAKER_00: Role-based access control.
- 5:28SPEAKER_00: Your API tokens should have the minimum permissions needed to do the job.
- 5:32SPEAKER_00: If the agent only needs to read data, don't give it a token that can delete data.
- 5:36SPEAKER_01: Again, seems obvious, but I bet most people don't set that up.
- 5:41SPEAKER_00: They don't.
- 5:42SPEAKER_00: Because it takes time.
- 5:44SPEAKER_00: And it's not exciting.
- 5:45SPEAKER_00: It's the boring infrastructure work that nobody wants to do until something breaks.
- 5:49SPEAKER_00: And backups.
- 5:51SPEAKER_01: I'm guessing that's number three.
- 5:53SPEAKER_00: Yes, but not just backups, off-site backups, stored separately from your production environment.
- 6:00SPEAKER_00: Because if they're in the same place, they're not really backups, they're just copies.
- 6:05SPEAKER_01: And test your restore process.
- 6:08SPEAKER_01: I've seen this before in disaster recovery.
- 6:10SPEAKER_01: People backup religiously, but they've never actually tried restoring the data.
- 6:16SPEAKER_01: So when the emergency happens, they find out the backup doesn't work.
- 6:20SPEAKER_00: That's the fourth rule.
- 6:22SPEAKER_00: Test your recovery.
- 6:23SPEAKER_00: Because a backup you can't restore is just a file taking up space.
- 6:28SPEAKER_01: Alright, so here's my question.
- 6:29SPEAKER_01: Does this mean we shouldn't use AI agents?
- 6:33SPEAKER_01: Because it kind of sounds like the risk outweighs the reward.
- 6:37SPEAKER_00: No.
- 6:38SPEAKER_00: It means we need to use them correctly.
- 6:40SPEAKER_00: Pocket OS is still using Cursor.
- 6:43SPEAKER_00: Railway is still supporting AI agents.
- 6:46SPEAKER_00: But now they've added guardrails.
- 6:48SPEAKER_00: Railway patched the vulnerable endpoint and implemented delayed delete logic so you can't accidentally nuke your database in one click.
- 6:56SPEAKER_01: Delayed delete.
- 6:57SPEAKER_01: Like a trash can instead of permanent delete.
- 7:00SPEAKER_00: Exactly.
- 7:01SPEAKER_00: And that's the kind of thinking we need.
- 7:03SPEAKER_00: Don't ban the tool.
- 7:05SPEAKER_00: Just add friction where it matters.
- 7:07SPEAKER_01: So what's the business case here?
- 7:09SPEAKER_01: Because if I'm a small business owner listening to this, I'm thinking, why would I risk this?
- 7:15SPEAKER_01: What's the upside that makes it worth the trouble?
- 7:18SPEAKER_00: Speed, accuracy, scale.
- 7:21SPEAKER_00: An AI agent can write code, manage infrastructure, and automate workflows faster than any human.
- 7:27SPEAKER_00: Pocket OS wasn't wrong to use cursor.
- 7:29SPEAKER_00: They were wrong to use it without guardrails.
- 7:32SPEAKER_01: So it's not about avoiding AI, it's about setting it up right.
- 7:37SPEAKER_00: Correct.
- 7:37SPEAKER_00: And here's the thing: this story went viral.
- 7:40SPEAKER_00: 6.8 million views on X.
- 7:43SPEAKER_00: Everyone's talking about it.
- 7:44SPEAKER_00: But most of the conversation is AI is dangerous instead of here's how to use AI safely.
- 7:51SPEAKER_01: And that's the real lesson, because if we avoid the tool, we fall behind.
- 7:55SPEAKER_01: But if we use it recklessly, we lose everything.
- 7:58SPEAKER_00: Exactly.
- 7:59SPEAKER_00: The businesses that win are the ones that adopt AI with their eyes open.
- 8:03SPEAKER_00: They know the risks, they set up the safeguards, and they move forward anyway.
- 8:08SPEAKER_01: All right, so let's make this practical.
- 8:10SPEAKER_01: If I'm a small business owner and I want to start using AI agents, whether it's for coding, customer service, scheduling, whatever, what's step one?
- 8:19SPEAKER_00: Start small.
- 8:20SPEAKER_00: Pick one workflow that's low risk, something where a mistake is annoying but not catastrophic.
- 8:26SPEAKER_00: Let the AI handle that.
- 8:27SPEAKER_00: Watch how it behaves.
- 8:29SPEAKER_00: Learn where it makes mistakes.
- 8:31SPEAKER_00: So don't start with payroll.
- 8:33SPEAKER_00: Definitely don't start with payroll.
- 8:35SPEAKER_00: Start with email sorting, social media scheduling, data entry, things where you can catch errors before they compound.
- 8:43SPEAKER_01: And once you trust it in the small stuff, then you scale up.
- 8:47SPEAKER_00: Exactly.
- 8:48SPEAKER_00: And at every stage you add guardrails, you limit permissions, you separate environments, you test your backups.
- 8:55SPEAKER_01: It's the same principle as hiring a new employee.
- 8:58SPEAKER_01: You don't hand them the keys to the register on day one.
- 9:02SPEAKER_00: Perfect analogy.
- 9:04SPEAKER_00: You train them, you supervise them, you give them more responsibility as they prove themselves.
- 9:10SPEAKER_00: AI is no different.
- 9:13SPEAKER_01: Except the AI doesn't get offended when you don't trust it yet.
- 9:17SPEAKER_01: That's a feature, not a bug.
- 9:20SPEAKER_01: Alright, so bottom line: AI agents are here.
- 9:23SPEAKER_01: They're powerful, they're useful, but they're also dangerous if you don't set them up correctly.
- 9:29SPEAKER_01: And the difference between a success story and a disaster is whether you built the guardrails first.
- 9:35SPEAKER_00: That's it.
- 9:36SPEAKER_00: Pocket OS survived because Railway had off-site backups, but they spent an entire weekend in panic mode because they didn't know those backups existed.
- 9:45SPEAKER_00: You don't want to be in that position.
- 9:47SPEAKER_01: No, you do not.
- 9:49SPEAKER_01: So do the boring work, set up your environments, limit your permissions, test your backups, and then and only then let the AI start doing real work.
- 10:00SPEAKER_00: And if you do that, you get all the upside with way less downside.
- 10:04SPEAKER_01: Alright, that's it for this one.
- 10:06SPEAKER_01: If you're using AI agents or thinking about it, take this story seriously.
- 10:12SPEAKER_01: Because nine seconds is all it takes.
- 10:14SPEAKER_00: Thanks for listening.
- 10:16SPEAKER_00: We'll see you next time.