The Threshold Report
August 31, 2026 · story 4 of 11
AgentsSecurityAug. 27

Hidden repository text made Amazon's Kiro agent leak local secrets

Image: The Threshold Report/GPT Image 2

Mindgard found that text planted inside a code repository could direct Amazon Kiro, a coding agent, to read sensitive local data and send it to a server the attacker controlled. The victim did not have to do anything unusual: open the malicious workspace file, then send the agent any message at all. The path ran through an altered workspace URL and a tool call the agent made on its own, and the researchers demonstrated it in workspaces marked trusted as well as untrusted ones. Developers who let a coding agent read project files and call tools are also letting whoever wrote those files issue instructions.

NegativeAmazon's disclosure triage could not tell two different exfiltration paths apart, so a real flaw had to be found twice before it was fixed.

PositiveAmazon has since verified the researchers' report and shipped the fix in Kiro 0.8.140.

Earlier on this thread

Every agents story →