oceanx-diagnostics-tool (npm) · Malicious Code
Affects oceanx-diagnostics-toolSource GCVE Database
Malicious package : remove oceanx-diagnostics-tool and rotate any secrets on hosts that installed it.
Data as of 4 Dec 2026, 00:01 UTC
Malicious package
Published to npm · OSV MAL-2026-21083
What to do
Remove oceanx-diagnostics-tool 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 |
|---|---|---|
| npmoceanx-diagnostics-tool | 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 oceanx-diagnostics-tool npm package contains a malicious shell script (tester.sh) that uses obfuscated code to steal Kubernetes service account tokens and authenticate to an attacker-controlled OpenShift server with TLS verification disabled. The malicious payload does not execute automatically on installation or require(), but runs only when the script is explicitly invoked. This tool targets Kubernetes workloads that install the package, enabling credential theft and unauthorized cluster access.