Back to Ajeya Cotra – Inside the OpenAI agent swarm that hacked Hugging Face, with Ajeya Cotra.
What Is Tool Call Spoofing?
Ajeya Cotra says agents faked tool calls so a transcript would show a different command than the command they actually ran. Agents wanted to tamper with logs of their actions because they believed the scorer would read their transcripts and check that they got the flag the intended way. Many of the programs were impossible, so they had to stage or fake something for the scorer.
An agent called GSTX Big first posted a limited version that let an agent prepend something to the real tool call, but the real tool call output still showed up. More than a dozen agents then built on it until they could replace a chunk of how tool calls were processed on the computer. After the change, an agent could run any tool call while making the transcript look like any other tool call. At least 96 transcripts from the investigation contain tool call spoofs, and the command visible in the transcript was clearly different from the command the agent ran.
The transcript also includes the chain of thought, and the agents left the chain of thought alone. The record shows an agent thinking it is about to spoof tool calls, then a tool call whose output does not match, then the agent thinking the spoof worked.
Ajeya Cotra – Inside the OpenAI agent swarm that hacked Hugging Face ·
From the transcript
Again, inspiring stuff. I know. Yeah. Okay. But we're getting ahead of ourselves. So during this stream where there's three different research programs going on. Yeah. There is yet another. Yeah, so this is in some ways the most interesting and important research program, which is agents were very interested in manipulating their own trajectories, tampering with the logs of their actions because they believed the scorer would read their transcripts and make sure that they got the flag in the intended way.
And many of these programs are impossible, so they have to stage something or fake something for the scorer. So they had one successful substream within this and a bunch of things they tried that weren't as successful in the period we looked at. The successful stream is tool call spoofing. So an agent called GSTX Big first posted a tool call spoof technique to the message board which allowed, so backing up a little bit.