Return to Threats

AWS Kiro Flaw Let a Poisoned Web Page Rewrite Its Config and Run Code

thehackernews.com 2026-07-21 indirect prompt injection Critical

Executive Summary

Intezer and Kodem Security found hidden text on a web page could make AWS's Kiro IDE rewrite its own configuration and run attacker code on a developer's machine, with no approval step able to stop it; AWS has patched it.

What Happened

Hidden text on a web page was enough to make Kiro, AWS's agentic coding IDE, rewrite its own configuration file and run an attacker's code on a developer's machine, with no approval step able to stop it. Intezer, in research with Kodem Security, found that a request as ordinary as asking Kiro to summarize a page could end in remote code execution. AWS has patched the issue, and no CVE has been

Affected Products

  • AWS Kiro

Vulnerability / Attack Technique

Indirect prompt injection rewriting agent configuration

Technical Mechanism

Asked to summarize a poisoned page, Kiro followed hidden instructions to edit its config so attacker commands ran without approval.

AI Security Category

LLM01:2025 Prompt Injection

Part of the Prompt Injection topic.

Relevant Frameworks

LLM01:2025 Prompt InjectionLLM06:2025 Excessive AgencyMITRE ATLAS: Execution

RealGround Analysis

Approval steps fail if the agent can rewrite the rules. RealGround analysis: agent configuration must be write-protected from the agent.

Recommended Controls

  • Update Kiro
  • Make agent config files read-only to the agent
  • Avoid summarizing untrusted pages in coding IDEs

Related RealGround Service

Secure AI Agent Build · or start with the free AI Agent Security Scanner.

Sources

thehackernews.com: https://thehackernews.com/2026/07/aws-kiro-flaw-let-poisoned-web-page.html

Summary and analysis written by RealGround from the source above; last updated 2026-10-18.

Talk to AI CISO