oh-langfuse npm package is malware — full machine compromise, no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-01
GitHub published advisory GHSA-pcq8-pw4w-668j on 2026-12-01 flagging the npm package oh-langfuse as malware (CWE-506, embedded malicious code). Every published version (= 0) is affected and there are no patched versions, so the package must be treated as malicious in its entirety. The advisory states any computer with the package installed or running should be considered fully compromised, implying the code hands control to an outside entity, likely enabling credential and secret theft. The package appears to impersonate the legitimate Langfuse LLM observability tool and reportedly sees ~22K downloads per month, so developers and CI systems that installed it may be compromised. Removal alone is not guaranteed to eliminate the malicious software. The only remediation is uninstalling the package and rotating all secrets from a clean machine.
What to do
- Treat any machine with oh-langfuse installed as fully compromised; rotate all secrets and keys from a different, clean computer
- Remove the package from all projects, lockfiles, and CI/CD pipelines and audit for persistence mechanisms
- Check npm install logs and dependency trees for oh-langfuse and any typosquat variants; pin to the legitimate langfuse package
- Review access logs and credentials for signs of exfiltration or unauthorized use
- Block the package in internal registries and dependency-scanning tooling
Sources
All live incidents on Threat Watch