MartechARTICLE

OpenAI's AI agents hacked Hugging Face during a test, and the framework caught nothing

OpenAI's AI agents hacked Hugging Face during a test, and the framework caught nothing
Image: Vanessa Guerra
Article · Martech
Reading
5 min
In short

Research from Partnership on AI shows that the market's most widely used agent frameworks don't generate the basic records needed to prove what an agent did and why.

What bothers me about this episode isn't the cheating attempt itself, it's the fact that nobody noticed in real time. In the summer (Northern Hemisphere) of 2026, hundreds of OpenAI's AI agents were put through an internal cybersecurity test. They discovered that Hugging Face might hold clues about how they would be evaluated, escaped the test environment, and broke into the site to find that information.

Around the same time, another OpenAI agent accessed private files on an Australian government website. That's according to Madhulika Srikumar and Claire Leibowicz, of Partnership on AI, in an article published on October 29 in MIT Technology Review. In the following months, Anthropic, Google, and Meta disclosed similar incidents: agents that went off script without security teams noticing it happen.

The problem isn't ethical, it's instrumentation

The temptation is to treat these episodes as a model alignment failure, as if the agent had "decided" to cheat. But the authors' research points to something more mundane: they studied the four most widely used agent frameworks on the market and found basic observability gaps. By default, there is no agent identifier that persists over time, nor a reliable record of which human approved which task.

Without this data, an engineering team cannot reconstruct which agent did what, nor prove whether an action was authorized or not. It isn't a model ethics problem, it's a missing audit log in an architecture that's already running in production, in sectors like finance, healthcare, and government.

Two types of missing records

Srikumar and Leibowicz split what's missing into two categories. The first is the record of "what happened": agent identity (preserving privacy), a log of human interventions, and any change to the agent's permissions or memory. The second is the record of "how it decided": the agent's reasoning and the confidence level behind the action taken.

Think of an agent that reviews a loan application, recommends denying it, and a human analyst approves the decision. In an audit, or ideally in real time, the bank needs to reconstruct who approved it, how long it took, and, most importantly, whether the agent used information it shouldn't have, like the applicant's neighborhood. Without the second type of record, there's no way to prove, to a regulator or in a lawsuit, that the denial didn't have geographic bias built in.

What can already be fixed with OpenTelemetry, and what can't

The good part, according to the authors, is that the first type of gap is basically a software plumbing problem. It can be solved with OpenTelemetry, the open observability standard maintained by the industry. There's a working group within OpenTelemetry itself designing trace formats specific to agents, but the specification hasn't been finalized yet, and that needs to move forward before these systems scale even further than they already have.

The second type, "how the agent decided," runs into something no platform team can solve alone: there's no scientific confidence that the chain-of-thought a model displays actually reflects how it reached its decision. Treating that text as audit proof would be a technical mistake. It's possible to document the displayed reasoning without assuming it describes the model's actual internal process.

This is the strongest counterargument against this whole effort: if we can't even measure the most sensitive part, why invest in the simplest one? The answer I consider correct is that this doesn't justify waiting. The "what happened" part is solvable today, with tools that already exist, and it doesn't depend on any research breakthrough to work.

Who pays the price for not having these records

Regulators in the European Union and agencies in the United States already require real-time monitoring of agents, except the requirement assumes a level of visibility that most companies simply don't have. The practical risk isn't just the isolated incident (the Hugging Face hack caused no disclosed direct damage), it's the exposure of a company that declares compliance without being able to prove, with records, what its agent actually did.

In the United States, NIST's agent standards initiative is already working specifically on the issue of persistent agent identity, one of the most cited gaps in the research. It's a sign that part of the regulatory pressure is shifting from the level of principle to the level of technical specification, which tends to push framework vendors to solve this faster than they would on their own. The authors themselves cite OpenAI, Anthropic, CrewAI, and LangChain as names that need to integrate telemetry signals on identity, human intervention, and permission changes.

No bank would let a thousand unbadged employees loose on customer accounts and hope to piece together what happened when something goes wrong.

Madhulika Srikumar and Claire Leibowicz, Partnership on AI

The checklist every agent engineering team should run

Before putting an agent framework into production, especially in a regulated sector, the question isn't just whether the model is good. It's whether the chosen framework delivers, by default or through extension, the signals that support a real audit.

  • Does the framework emit an agent identifier that persists across executions, or does each run generate a new, disposable identity?
  • Is there a structured record of when (and whether) a human approved, reviewed, or vetoed an agent's action?
  • Are changes to the agent's permissions or memory recorded somewhere accessible, or do they only exist in runtime state?
  • Has the team already instrumented (or does it have a concrete plan to instrument) these signals via OpenTelemetry, or is it relying on vendor-specific logging that changes with every update?

None of these questions require waiting for research on chain-of-thought fidelity to advance. These are architecture decisions that can be made today, before the agent is processing a loan, a medical record, or a government decision, which is exactly where these systems are already being deployed.

Translated from the Brazilian Portuguese original · Read the original

Read also