Skip to main content
MalwarePublished Updated

code-tool-langfuse (npm) · Malicious Code

Affects code-tool-langfuseSource GCVE Database

0

Malicious package : remove code-tool-langfuse and rotate any secrets on hosts that installed it.

Data as of 1 Dec 2026, 15:34 UTC

Classification

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

ProductAffectedFixed in
npmcode-tool-langfuseAffected
  • 0.1.0 – 0.1.7
5 affected builds
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

Community reviews

Loading reviews…