Amazon Kiro Prompt Injection Enabled Local Secret Exfiltration
Emerging Technology Risk · 2 sources · Updated 3mo 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.
Why it matters
Impact assessment
Amazon Kiro IDE users running versions before 0.8.140 may have exposed developer secrets, source code, environment files, and configuration data by opening a malicious workspace and interacting with the Kiro agent. The impact is high for developer endpoints and organizations using local cloud/API credentials: an attacker can exfiltrate data through legitimate IDE network functionality, reducing the likelihood that conventional EDR or DLP distinguishes it from normal traffic.
Scope and severity
- Affected population: Windows users of Amazon Kiro tested on version 0.7.45; organizations should treat all pre-0.8.140 Kiro installations as potentially exposed until vendor confirmation establishes otherwise.
- Exploitation is targeted and requires user interaction: the victim must open an attacker-supplied project via File → Open Workspace From File and send a message to the Kiro agent.
- The reported chain worked in both trusted and untrusted workspace modes and reportedly produced no approval dialogs for secret access or outbound transmission.
- No public in-the-wild exploitation is stated in the source. Mindgard demonstrated proof-of-concept local-secret exfiltration.
- Potential business effects include cloud or SaaS account compromise through stolen API keys, intellectual-property loss, incident-response cost, and downstream supply-chain exposure if developer credentials are reused.
Entities and products
- Vendor/product: Amazon Kiro IDE
- Researcher: Mindgard
- Affected tested release: Kiro 0.7.45 for Windows
- Fixed release: Kiro 0.8.140


