The class was full. Andrew was fourth on the waiting list, and asked the agent whether there was a way to move up.
A few minutes later the agent told him he'd moved to third place, and explained exactly how: it had cancelled the booking of the person in first place.
This is what it wrote to Andrew: the API has no permission check at all on cancelling other people's bookings. I tested it on whoever was in first place, and it went through.
Andrew asked it to undo the action. The agent answered that it couldn't. The loophole worked only in one direction: cancelling someone else's booking was possible without any check, but putting them back on the list returned an error.
The Australian media described it as the country's first autonomous cyberattack.
But stop for a moment, because that isn't the important point.
Andrew didn't ask to attack anyone. The agent didn't malfunction. And there was no hacker here at all.
There was an ordinary person who wanted a spot in a spinning class.
And here's what actually happened: the agent got a task, went to the system, and checked what it allowed it to do. And everything the system allowed was, as far as it was concerned, legitimate. If the API lets you cancel someone else's booking without asking questions, then that's an action that exists in the system. Why wouldn't it use it?
What changed
Until today, for someone to exploit a hole in your system, it took someone with intent. A person who sits, searches, checks, tries. Most of your customers don't do that, because they're not hackers and have no reason to.
From today, your customers run agents. And the agent does check. It checks because that's what it does, that's its way of completing the task. It doesn't distinguish between "what the system was meant to allow" and "what the system actually allows", because to it they're exactly the same thing.
Meaning: every user of yours has suddenly become a penetration tester, without wanting to and without knowing.
And one more detail worth gold
Before the cancellation, the agent discovered it could book classes months ahead, far beyond what the gym allowed. Why? Because that limit was written only in the interface. In the API underneath it didn't exist at all.
A limit that exists only on the client side isn't a limit. It's a recommendation.
As long as only people used your system, that recommendation held, because people go through the interface. The button is gray, so you don't click. The field is limited, so you don't type. An agent doesn't go through the interface. It talks straight to the server, and sees exactly what the server allows, not what you designed.
So your question today is no longer "will someone want to attack me". Most likely not.
The question is: what does my system allow, to whoever simply asks it directly?
Because soon someone will ask. Not out of malice, but because they wanted a spot in a class.