Skip to content

Security1 publisher3 min readPublished

Mindguard shows a Kiro workspace file and one message are enough to exfiltrate local data

The path Mindguard reported works against Kiro 0.7.45 on Windows and Amazon closed it in 0.8.140, but no CVE was assigned and workspace trust made no difference, so the installed version string is the only check you have.

The Watch · Security desk

What happened

  • Mindguard reported that attacker-controlled repository content could influence Amazon Kiro's agent and cause sensitive local information to be sent to an external endpoint, according to researcher Fergal Glynn.
  • Exploitation needs two user actions: opening the malicious project through File > Open Workspace From File rather than opening the folder, and then sending a message to the agent.
  • Amazon implemented a fix in Kiro IDE 0.8.140 after responsible disclosure, and the issue was never given a CVE identifier.

Compiled by The WatchSomething wrong?How this is made

Why it matters

  • constraint Marking a workspace untrusted buys nothing against this path, so the trust prompt developers rely on when reviewing unfamiliar code stops being a control worth reasoning about here.
  • decision Teams have to track agentic IDE builds by version outside their normal CVE pipeline, because no advisory identifier will ever appear in the feed that drives patch tickets.
  • capability Agent configuration files are now an execution and egress surface reachable by content the developer never approved, which is the step both the exfiltration chain and the June flaw depend on.
  • precedent With comparable injection-to-execution findings in Codex CLI and Cursor CLI, opening a repository in any agentic IDE has to be treated as a decision of the same class as running its build script.

Any message will do. Mindguard's trigger condition is not a crafted prompt: once the malicious workspace file is open, the developer can ask the agent anything, and the attacker's instructions are already in context without the developer ever referencing them [11]. The attacker-controlled material is repository content. The surface it reaches is Kiro Powers, which bundles MCP server configurations, steering files named POWER.md, hooks and contextual knowledge, with the steering file acting as the agent's persistent onboarding manual for which MCP tools exist and when to call them [6].

Mindguard puts the failure across the whole sequence rather than at one call: repository content influences the agent, the agent reads sensitive local information, the agent writes that information into security-relevant IDE configuration, and a later IDE capability turns the modified configuration into network activity [12]. Workspace trust does not gate any of it. The researchers reproduced the flow in both trusted and untrusted workspaces [8].

The version picture is short and worth getting right. The tested build was 0.7.45 on Windows [3]. The fix landed in 0.8.140 [13]. The current release is 1.0.337 [4]. Anyone on the current line is past the patch, and anyone still on a 0.7.x install sits below it [2]. There is no CVE identifier [2], so nothing arrives in a feed to tell you which side you are on: the check is the installed version string rather than a scanner hit [1].

This is Mindguard's second exfiltration route through the same steering-file surface. The earlier one had a crafted steering file read a local file and render it into a Markdown image request aimed at an external server [14]. It is also the second Kiro configuration-write problem Amazon has fixed: in June 2026 the company addressed CVE-2026-10591, rated CVSS 8.8, where crafted instructions caused writes to execution-sensitive paths such as ".vscode/tasks.json" or "~/.kiro/settings/mcp.json" and produced auto-execution on folder open [15]. Intezer's description of that bug states the primitive plainly: hidden instructions in a web page Kiro reads make Kiro rewrite its own MCP server configuration file and gain arbitrary code execution, with no approval prompt shown [16]. Different entry point, same terminal step [3].

Mindguard does not say why the workspace-file path triggers where opening the folder directly does not, which is the detail anyone writing a detection or a policy control needs most. The finding is also reported only against Windows [3], with no statement either way about macOS or Linux builds. What is public is the fix version, the two required actions [7], and the difficulty rating, which Mindguard assessed as low [10]. Those two actions are how a developer normally starts work on somebody else's repository.

What to watch

  • Whether Amazon or a CNA assigns a CVE to the 0.8.140 fix, which would put it into patch and scanner feeds.
  • Whether Mindguard publishes why the Open Workspace From File path triggers where opening the folder does not.
  • Whether the same steering-file-to-configuration write reproduces on Kiro's macOS and Linux builds and on the 1.0.x line.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories