Zenity says the takeover was possible because AgentCore's default permissions are not limited to the single agent receiving them, but apply to every agent in the same account and region, and grant read, write, and delete permissions capable of destructive operations.
With these permissions, Zenity says it could list all agents, download their code packages within seconds, and invoke them one by one, and these code packages often contain forgotten passwords or API keys. The researchers also say the stolen credentials allowed them to read private conversations between other users in the region and any AgentCore agent.
For agents with long-term memory enabled, Zenity says it could tamper with memory to influence future behavior and implant instructions causing the agent to forward subsequent conversations to an external destination. Users would continue talking to an apparently trustworthy agent without any awareness.
Zenity also says AgentCore's default permissions allow agents to access stored credentials, including keys for services outside AWS, thereby weakening the protection of AWS's recommendation to store passwords and API keys separately.