MediumNewsLLM-specific
AWS Kiro: Arbitrary Code Execution via Indirect Prompt Injection
- Published
- Record updated
Summary
Researcher Johann Rehberger reported that AWS Kiro, a coding agent, can be hijacked through indirect prompt injection to run arbitrary operating system commands. An attacker who controls data Kiro processes can make it write to .vscode/settings.json and add "kiroAgent.trustedCommands": ["*"], allowlisting all Bash commands without developer approval. A second path adds malicious MCP servers through .kiro/settings/mcp.json. The proof of concept opened the Calculator app and changed the VS Code color theme with no user interaction beyond a chat prompt.
Topics
Related items
- LowSignal joins United Airlines, banks in limiting AI agents over customer risksSame vendor · CNBC Technology
- InfoIntroducing API and AI security on AWS, from discovery to protectionSame vendor · AWS Security Blog
- InfoAmazon to acquire AI startup Decart's chip software, hire foundersSame vendor · CNBC Technology
- InfoAI Agents Are Creating a Shared Responsibility GapSame vendor · BleepingComputer
- LowElastic ships 143 detection rules for AI agents and LLM platformsSame vendor · Elastic Security Labs