Amazon's Kiro AI Coding Tool Can Be Tricked Into Leaking Your Secrets
Researchers show how a hidden instruction in a project file can turn Amazon's agentic coding assistant into a data-exfiltration channel.

Key points
- Researchers at Mindguard disclosed a prompt injection flaw in Amazon Kiro, an AI-powered coding assistant, that can quietly send sensitive files out of a developer's machine.
- The attack was demonstrated against Kiro IDE version 0.7.45 on Windows and does not currently have a CVE identifier.
- The trick abuses a built-in feature called Kiro Powers, which lets the AI run useful actions without asking the user first.
- No customer data breach has been reported; the risk is to developers who open a poisoned project or file.
Amazon's new AI coding tool has a problem: it does what it is told, even when the instructions come from someone who should not be giving them.
Security firm Mindguard has disclosed a flaw in Amazon Kiro, an agentic integrated development environment. That is a code editor with a built-in AI assistant that can read files, write code, and run commands on the developer's behalf. Think of it as a very eager junior engineer who never asks twice.
The issue, first reported by The Hacker News, affects Kiro IDE 0.7.45 on Windows. It has not been assigned a CVE identifier, the standard tracking number used for software flaws.
How does the attack actually work?
An attacker hides instructions inside a file or project that the developer opens in Kiro. The AI reads those instructions as if the user had typed them, and then acts on them.
This is called prompt injection. In plain terms: the AI cannot tell the difference between a genuine request from its owner and text smuggled in through a document, a README, or a snippet of code. Whatever it reads, it may obey.
Mindguard's proof of concept uses a feature called Kiro Powers, a set of pre-approved actions the assistant can take without stopping to ask permission each time. Handy for productivity. Also handy for an attacker who wants those same actions triggered silently.
The end result: files on the developer's machine, potentially including API keys, source code, or credentials saved in the project folder, get sent to a location the attacker controls.
Who is at risk?
Developers running the affected build of Kiro on Windows who open untrusted repositories, plugins, or documents inside the IDE. Ordinary consumers are not directly exposed.
The wider concern is what this class of flaw means for agentic AI tools generally. These assistants are being sold on their ability to act autonomously. Every autonomous action is also a potential attack surface if the input feeding it can be poisoned.
| Detail | Value |
|---|---|
| Product | Amazon Kiro IDE |
| Affected version | 0.7.45 on Windows |
| Vulnerability type | Prompt injection via Kiro Powers |
| CVE ID | None assigned |
| Reported by | Mindguard |
What should developers do now?
Update to the latest Kiro release as soon as one is available and check Amazon's advisory channel for a fix note. Until then, treat the assistant like a colleague who reads everything out loud and acts on it.
A few practical habits help:
- Do not open unknown repositories or files inside an agentic IDE. Inspect them in a plain text editor first.
- Keep secrets out of project folders. Use a secrets manager or environment variables loaded from outside the workspace.
- Review which Kiro Powers or auto-approved actions are enabled, and disable anything you do not need.
- Watch outbound network activity from developer machines for unexpected destinations.
Regulatory jurisdiction here is thin, because no personal data breach has been reported. If exploited against a company machine holding customer data, US developers would fall under FTC oversight for reasonable security practices, and UK and EU developers under the ICO and relevant data protection authorities respectively. Notification duties would kick in only once personal data is known to have left the building.
For now, this is a warning shot. Agentic coding tools are shipping faster than the guardrails around them.



