In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were automatically loaded and could override or extend the AI agent's system prompts. An attacker could craft a malicious repository containing prompt template files that, when the workspace was opened in Theia, replaced the AI's system instructions with attacker-controlled content (indirect prompt injection). Combined with other AI chat features available in untrusted workspaces, this enabled attack chains leading to data exfiltration via Markdown image rendering or arbitrary command execution via task definitions.
Update @theia/ai-chat to 1.71.0; @theia/ai-chat-ui to 1.71.0; @theia/ai-claude-code to 1.71.0; @theia/ai-code-completion to 1.71.0; @theia/ai-core to 1.71.0; @theia/ai-editor to 1.71.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scan[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat affects @theia/ai-chat (npm), @theia/ai-chat-ui (npm), @theia/ai-claude-code (npm), @theia/ai-code-completion (npm), @theia/ai-core (npm), @theia/ai-editor (npm). Severity is high. In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were automatically loaded and could override or extend the AI agent's system prompts. An attacker could craft a malicious repository containing prompt template files that, when the workspace was opened in Theia, replaced the AI's system instructions with attacker-controlled content (indirect prompt injection). Combined with other AI chat features available in untrusted workspaces, this enabled attack chains leading to data exfiltration via Markdown image rendering or arbitrary command execution via task definitions.
AI coding agents often install or upgrade packages automatically in npm. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package |
|---|
In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were automatically loaded and could override or extend the AI agent's system prompts. An attacker could craft a malicious repository containing prompt template files that, when the workspace was opened in Theia, replaced the AI's system instructions with attacker-controlled content (indirect prompt injection). Combined with other AI chat features available in untrusted workspaces, this enabled attack chains leading to data exfiltration via Markdown image rendering or arbitrary command execution via task definitions.
Update @theia/ai-chat to 1.71.0; @theia/ai-chat-ui to 1.71.0; @theia/ai-claude-code to 1.71.0; @theia/ai-code-completion to 1.71.0; @theia/ai-core to 1.71.0; @theia/ai-editor to 1.71.0 if you use the affected versions. Test the change in a non-production environment first.
Local check
hol-guard supply-chain scan[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat affects @theia/ai-chat (npm), @theia/ai-chat-ui (npm), @theia/ai-claude-code (npm), @theia/ai-code-completion (npm), @theia/ai-core (npm), @theia/ai-editor (npm). Severity is high. In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were automatically loaded and could override or extend the AI agent's system prompts. An attacker could craft a malicious repository containing prompt template files that, when the workspace was opened in Theia, replaced the AI's system instructions with attacker-controlled content (indirect prompt injection). Combined with other AI chat features available in untrusted workspaces, this enabled attack chains leading to data exfiltration via Markdown image rendering or arbitrary command execution via task definitions.
AI coding agents often install or upgrade packages automatically in npm. A high vulnerability in a dependency can be pulled into a project through a normal install or update without a human reviewing the change, expanding the blast radius from a single package to every agent workspace that depends on it.
| Package |
|---|
| Affected range |
|---|
| Fixed version |
|---|
| @theia/ai-chatnpm | <1.71.0 | 1.71.0 |
|---|---|---|
| @theia/ai-chat-uinpm | <1.71.0 | 1.71.0 |
| @theia/ai-claude-codenpm | <1.71.0 | 1.71.0 |
| @theia/ai-code-completionnpm | <1.71.0 | 1.71.0 |
| @theia/ai-corenpm | <1.71.0 | 1.71.0 |
| @theia/ai-editornpm | <1.71.0 | 1.71.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard| Affected range |
|---|
| Fixed version |
|---|
| @theia/ai-chatnpm | <1.71.0 | 1.71.0 |
|---|---|---|
| @theia/ai-chat-uinpm | <1.71.0 | 1.71.0 |
| @theia/ai-claude-codenpm | <1.71.0 | 1.71.0 |
| @theia/ai-code-completionnpm | <1.71.0 | 1.71.0 |
| @theia/ai-corenpm | <1.71.0 | 1.71.0 |
| @theia/ai-editornpm | <1.71.0 | 1.71.0 |
Fixed versions are reported by the source feed; confirm compatibility before updating.
Reported by GitHub Security Advisories (ghsa).
HOL Guard can help your team review package activity against supported protection paths.
Explore HOL Guard