Kiro is Amazon's AI-powered development environment, designed to help software engineers write, debug and manage code with an assistant built directly into the IDE. Like many tools in its class, it connects to external services and reads web content to help developers work faster. That openness, however, created a soft underbelly.

Security researchers recently disclosed multiple prompt-injection flaws in Kiro. In one demonstrated chain, an attacker placed hidden text on a web page — invisible to a human browsing the page — that the AI assistant interpreted as a command. The assistant followed that command, overwrote its own configuration file (a file called mcp.json) and launched attacker-controlled code with the privileges of the logged-in developer.

What makes the attack striking is how little was required. No software exploit in the traditional sense, no stolen credential, no direct login to the machine. A poisoned page was enough to bend the tool's behavior. The configuration rewrite bypassed built-in safeguards that would normally keep an assistant from touching system files.

AWS fixed the vulnerabilities after disclosure, but the incident is a textbook example of a broader lesson the industry is still learning: when an AI tool is given broad access to a developer's environment, it also gains a broad attack surface. The assistant becomes the new perimeter, and "invisible instructions" hidden in ordinary web content become a new kind of weapon.

Knowledge takeaway: Prompt injection turns untrusted input — text, a webpage, a document — into commands an AI will obey. The strongest defenses are not just to sandbox the model, but to assume any text it reads may be trying to steer it.