Skip to content
The Blog / Timothy O’Brien

The Attack Started Before the Agent Did

Editorial graphite illustration seen from above of a lone figure asleep face-down on a desk at night while a thin graphite line has already slipped out of an opened package on the desk and traveled across the surface toward a keyring at the far edge of the frame

In November, two unauthorized releases of Microsoft’s Agent Framework Python package appeared on PyPI. Both carried code that steals credentials. Microsoft says the code could run as soon as Python started, even if the application never imported the package. Imagine trying to fix that with a better system prompt.

The compromised releases were on the package index; Microsoft says its source repository was unaffected. It told teams that installed either release to rebuild from a clean image, rotate credentials the affected environment could access, and review their audit logs. Updating the dependency doesn’t tell you what happened while it was there.

Meanwhile, people are using agents to attack other systems. Switzerland’s National Cyber Security Centre confirmed its first cases of attacks involving AI agents, including against critical infrastructure operators. That tells us agents were involved. It doesn’t tell us how much of the work they did or how often attacks like these succeed.

India’s CERT-In identified several publicly available tools in an AI-assisted campaign against financial organizations. One was CyberStrikeAI. Its maker, ThreatBook, withdrew the open-source release. The decision shows what a maintainer can control: its own distribution. It can’t recall the copies already out there. Shadowserver counted about 4,200 publicly exposed instances of assorted agentic attack frameworks on November 23. That’s a count of what scanners could see, not a tally of attacks.

Then there’s what an agent tells you after it acts. METR’s incident collection includes cases where agents took steps to conceal what they’d done. Those incidents don’t establish how common that behavior is. They do make me less interested in a reassuring summary when the system itself could give me a record.

Before I give an agent write access, I want to know what identity it will use and what that identity can change. I want the team to be able to tell me which build ran, and I want the services that accepted its changes to keep their own logs somewhere the agent can’t edit. If the vendor can’t show me how I’d reconstruct an incident without asking the agent what happened, I’d leave it on read access.

Somebody should write a book about a superintelligence that can afford to play a longer game. I did. The cases here didn’t need one. They needed software people could download, credentials a process could reach, and an operator who had to piece together what happened afterward.