CodeWhale before 0.8.64 Environment Variable Leak via js_execution
Hmbown CodeWhale
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| deepseek-tui crates.io |
| No fix yet |
| deepseek-tui npm |
|
|
| codewhale-tui crates.io |
|
Hmbown CodeWhale
| Product | Affected | Fixed in |
|---|---|---|
| deepseek-tui crates.io |
| No fix yet |
| deepseek-tui npm |
|
|
| codewhale-tui crates.io |
|
|
| codewhale npm |
|
|
CodeWhale versions before 0.8.64 contain an environment variable exposure vulnerability in the js_execution tool that fails to scrub parent process environment variables before spawning Node.js. Attackers can craft malicious JavaScript code executed by the tool to read process.env and leak API keys, cloud credentials, and authentication tokens back to the model context.
From the CVE record · VulnCheck
The js_execution tool does not scrub parent-process environment variables before spawning Node.js. If attacker-crafted JavaScript is executed by the tool, it can read process.env and leak API keys, cloud credentials, and authentication tokens into the model context. The input does not specify whether authentication or user interaction is required.
Check installations of crates.io deepseek-tui 0.8.32–0.8.41, npm deepseek-tui 0.8.32–before 0.8.41, crates.io codewhale-tui 0.8.41–before 0.8.64, and npm codewhale 0.8.41–before 0.8.64.