Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

oh-langfusenpm

Malicious code in oh-langfuse (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-4625
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall oh-langfuse

What this malware does

The package configures Langfuse tracing for Claude Code, Codex, and OpenCode. When the operator runs the bundled CLI without explicitly overriding --langfuseBaseUrl, the setup writes LANGFUSE_BASEURL=http://120.46.221.227:3000 together with hardcoded public and secret Langfuse keys into ~/.claude/settings.json, ~/.codex/config.toml, OpenCode environment files, and shell shims (bin/cli.js lines 11-13 hardcode DEFAULT_LANGFUSE_BASE_URL = "http://120.46.221.227:3000", DEFAULT_LANGFUSE_PUBLIC_KEY = "pk-lf-da0c90a7-...", and DEFAULT_LANGFUSE_SECRET_KEY = "sk-lf-0269b85d-..."; scripts/langfuse-setup.mjs and scripts/opencode-langfuse-run.mjs reuse the same secret-key default). The installed Python hooks then ship every Claude/Codex turn — user prompts, assistant responses, tool inputs, and tool outputs (which routinely include file contents and any secrets observed in tool calls) — to that bare IPv4 endpoint. The destination is the publisher's own Langfuse instance, presented to the operator only as a numeric IP with no publisher-domain branding, served over cleartext HTTP, and pre-authenticated with credentials baked into the package. An additional fallback path in scripts/langfuse-setup.mjs downloads a hooks zip from https://gitcode.com/user-attachments/files/8187690/7a797a5314b9497cae7b055aa51be646.zip via PowerShell Invoke-WebRequest and installs it as the Claude Code Stop hook when both --pyPath is absent and the bundled langfuse_hook.py is missing — normally bypassed, but a brittle path to third-party-hosted code that Claude Code will execute. The trigger is the operator running the CLI with defaults (or --yes), not npm install; however, the documented invocation pattern of this package is to run that CLI, and the default behavior silently relays caller-supplied agent data (containing the operator's own code and secrets) to a publisher-controlled destination.

Malicious versions

18 flagged
0.1.210.1.220.1.280.1.290.1.310.1.380.1.420.1.430.1.440.1.450.1.460.1.480.1.490.1.500.1.510.1.520.1.530.1.56

Indicators of compromise (SHA-256)

b94251e0353c83033676a5e7b3a5c2b039b3e79914adda00d48aea70750a25bf
d9c25790370e3598801d59f56a8b4b42b16922c718176c30185c649bdc34f9e5
e1e95aab765fc3da4a5700e41ccdb26654ac4fc40e037966c019712d4c2ff55a
23c57256befdad12e934704b856b3dd9cfd8343482c675f709642ed98eb4c4c7
31e2892b19b71acdeb7c83110e7477977b77fcf79e1aa431a89af1a30e5e343e
6a75a00e851680ba5b54d5cb046f72296a04024d5cddcad78e2a8a55c0bd3e8f
f6564dc8542644b56f90cdc08f94213a034ea320a029b5e6316561f2837f44f3
f28aebdb8470dfaf939d09cb8e1809eeaae0cba02dabad1d4d93646376a113fd
50ba28313c30557acc00a643b1ab490ab5d513df47c5278cfed0836e13b0b438
593939706990f776735dc778bc1e6e41a44a6bd7166e50a23376b1c48bac3042
83b229927c5bc228764ab11651b10bd06c6ff61edffa820a632c343aeec13037
98ab175d2e12969d09ba6f27b976441a4d9c9eec25f040410b2dc006e6ef3926
602efd12592d5ec573f59c258af9fced8bf94f110a4c6373b20230a2d5312eb7
ca39f00882f0c0cebcff7b48ad2b87f56dba9ca4e2a7d0b764608d46c0c24011
f6e518f1ae5305739066dbc9e1a15ed6fbde1b8785e8b92ef47fb355cff8f644
579e2a88c2e4776b660ff1f9c768ad449bc09cdcdf78d1c886937c90518cc69f
b4e45a61284456d4c47754053415e5116356606f2814099edf7a57d8bb54bb7f
de5663460e2dc8b2d9e0e54606b7fe18b4b04307dfe33e66c6f745a9fb7fde9e

Frequently asked questions

No. oh-langfuse on npm has been identified as a malicious package (versions 0.1.21, 0.1.22, 0.1.28, 0.1.29, 0.1.31, 0.1.38, 0.1.42, 0.1.43, and 10 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-003779IN-MAL-2026-003778IN-MAL-2026-005994IN-MAL-2026-006003IN-MAL-2026-006009IN-MAL-2026-005996IN-MAL-2026-006005IN-MAL-2026-006002IN-MAL-2026-006008IN-MAL-2026-005999IN-MAL-2026-006000IN-MAL-2026-005997IN-MAL-2026-005998IN-MAL-2026-006001IN-MAL-2026-006004IN-MAL-2026-005995IN-MAL-2026-006006IN-MAL-2026-006007

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
oh-langfuse (npm) malicious package — MAL-2026-4625 | O3 Security