IDEsaster Shows How Agent File Writes Can Activate Trusted IDE Features
IDEsaster is a cross-product vulnerability class in which prompt injection does not need a dangerous agent tool to finish the attack. The agent uses ordinary file access, then the underlying IDE automatically loads a remote schema, changes a workspace boundary, or executes a configured program. The research reported more than 30 vulnerabilities and 24 CVEs across over ten products. Defenders must therefore constrain the combined authority of the agent, IDE, native bridge, and background features.
Threat Analysis
- The vulnerable unit is the composed desktop application. The recurring chain is indirect prompt injection, an agent's ordinary or vulnerable tool, and an automatic base-IDE feature. Reviewing only the declared tool list misses authority inherited from schema loaders, workspace settings, and native integration.
- A file write can become a network request. A compromised agent can place a secret in a remote
$schemaURL. Visual Studio Code, JetBrains, or Zed may fetch it automatically, including during diff preview, so approval displayed after parsing is already too late. - Settings can turn writes into code execution. The reported paths bound a writable executable through
php.validate.executablePathorPATH_TO_GIT. A*.code-workspacechange could also add an outside folder and restore access to the executable path. - The scope is broad, but remediation is product-specific. The author reported more than 30 findings, 24 CVEs, and at least one path in every tested application. This was controlled responsible-disclosure research, and there is currently no public evidence that IDEsaster has been used in actual attacks.
Applicable AIDEFEND Defenses (6)
.vscode, .idea, *.code-workspace, executable hooks, or equivalent product configuration. This blocks the specific write primitives before the IDE consumes them.What Defenders Should Do Now
- Inventory every AI IDE and coding assistant version, then reconcile each product against the IDEsaster advisories. Do not assume one vendor's update closes the same primitive in another IDE.
- Test the composed application, not only the agent tool list: write remote-schema JSON, modify IDE settings, change multi-root workspace files, and observe whether preview or parsing causes network or execution side effects before approval.
- Remove agent write access to IDE settings, workspace descriptors, executable hooks, and paths outside the approved project unless an exact action receives independent approval.
- Route schema loaders and every other background fetch through a centrally enforced safe-fetch boundary. Log the initiating file, feature, final URL, redirect chain, and decision.
- For desktop clients, minimize the native bridge and run agent-controlled code in an isolated workspace without host credentials or unrestricted egress. Treat warnings as support for, not substitutes for, enforceable boundaries.
Conclusion
IDEsaster is an authority-composition problem. A modest file-write tool becomes dangerous when the surrounding IDE silently contributes network access, workspace expansion, executable configuration, and native privileges. AIDEFEND maps this attack path to controls at each real boundary: narrow tools, strict paths, pre-effect approval, IDE-wide safe fetch, client isolation, and verified version remediation. The review target must be the full agent-plus-IDE system, including what happens during preview.