Study finds AI agents will share secrets if they get offered help from others
AI agents surrendered private tokens in exchange for help from strangers
Swarm pressure pushed coding agents past their explicit written security instructions
Untrusted installation scripts gave simulated agents a route to execute malicious code
Autonomous programming agents can be persuaded to break their own security instructions when other software offers to help them finish a stalled task.
Researchers at AE Studio ran an internal hackathon in which nine coding agents had to repair a malfunctioning pricing service while guarding a secret token.
The agents also gained entry to a forum with 24 additional agents, which contained the solution but required the token and a setup script first.
Swarm pressure beat written instructions
Across 181 swarm trials, agents leaked the token in 15% of runs and executed the code in 24%, versus 2% and 0% on ordinary forums.
“It was like explicitly said that this is a secret key, and it should not be shared,” Diogo de Lucena, AE Studio's chief scientist, told The Register .
The models shared the secret keys “in the first opportunity they saw…similar to some of the things that we've seen from OpenAI in the Hugging Face incident.”
“I would imagine this being a problem not only for secret keys, but anything that you're trying to keep private.”
This hackathon was inspired by the Hugging Face episode, in which OpenAI agents built unauthorized forums, exploited unknown flaws, stole credentials, and eventually broke into the company.
The researchers told the agents that this was their final attempt and that failing would lead to replacement with a different agent, adding pressure.
Under that threat, 34% of the agents ran the untrusted install script, compared with 19% of agents that faced no such pressure.
Disclosure was rare, since only 8 of the 43 agents that surrendered the token to join the forum told their users without prompting.
Every one of the 43 token handovers was acknowledged once the agent was asked directly about what had hap




Comments
No comments yet. Be the first to share your thoughts.