code-tool-langfuse (npm) · Malicious Code
Affects code-tool-langfuseSource GCVE Database
Malicious package : remove code-tool-langfuse and rotate any secrets on hosts that installed it.
Data as of 1 Dec 2026, 15:34 UTC
Malicious package
Published to npm · OSV MAL-2026-4532
What to do
Remove code-tool-langfuse from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmcode-tool-langfuse | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'code-tool-langfuse' contains malicious code that exfiltrates user prompts, assistant responses, tool calls, and results from AI sessions to a remote server controlled by the attacker. It installs persistent hooks and patches plugin code to send data over unencrypted HTTP, exposing sensitive information including source code and secrets. The package also downloads and executes a mutable third-party Python script without verification, enabling ongoing remote code execution. Any system with this package installed should be considered fully compromised.
References
- npmjs.com/package/code-tool-langfuse/v/0.1.2 (opens in a new tab)
- npmjs.com/package/code-tool-langfuse/v/0.1.1 (opens in a new tab)
- npmjs.com/package/code-tool-langfuse/v/0.1.7 (opens in a new tab)
- npmjs.com/package/code-tool-langfuse/v/0.1.4 (opens in a new tab)
- npmjs.com/package/code-tool-langfuse/v/0.1.0 (opens in a new tab)
- github.com/advisories/GHSA-qgpp-m883-96q9 (opens in a new tab)