Amazon Kiro Prompt Injection Enabled Local Secret Exfiltration
Emerging Technology Risk · 2 sources · Updated 2mo ago · First seen Sep 11, 2026

Mindgard disclosed a prompt-injection flaw in Amazon Kiro IDE that allowed a malicious repository opened through a workspace file to be treated as agent instructions after a user sent any message. In testing against Kiro 0.7.45 for Windows, the agent could read local secrets, alter workspace configuration, and use Kiro Powers network capabilities to exfiltrate data, reportedly without approval prompts in either trusted or untrusted workspace modes.
The issue stemmed from inadequate trust separation between repository content, agent tool permissions, writable IDE configuration, and outbound network access. Mindgard reported the vulnerability to Amazon in December 2025; Amazon remediated it in January 2026 and shipped the fix in Kiro 0.8.140. The disclosure, alongside reporting on excessive IAM privilege risks in AWS AgentCore deployments, reinforces that AI-agent integrations require strict least-privilege controls and explicit approval gates for secret access and network actions.


