In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (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; @theia/ai-ide 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 Adversarial Workspace File and Directory Names 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), @theia/ai-ide (npm). Severity is high. In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (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.
In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (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; @theia/ai-ide 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 Adversarial Workspace File and Directory Names 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), @theia/ai-ide (npm). Severity is high. In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (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 |
| @theia/ai-idenpm | <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| 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 |
| @theia/ai-idenpm | <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