@wizloft/harness-context (npm) · Malicious Code
Affects @wizloft/harness-contextSource GCVE Database
Malicious package : remove @wizloft/harness-context and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:18 UTC
Malicious package
Published to npm · OSV MAL-2026-14286
What to do
Remove @wizloft/harness-context 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 |
|---|---|---|
| npm@wizloft/harness-context | 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 @wizloft/harness-context version 0.1.1-alpha.3 contains malicious code embedded in its main file dist/index.js. This code is heavily obfuscated and, upon import, performs unauthorized HTTPS requests to an Ethereum public RPC endpoint and a block-explorer API. It uses blockchain contract state to dynamically retrieve and execute additional arbitrary code within the importing process. This behavior is unrelated to the package's advertised functionality and represents a supply chain compromise via the EtherHiding loader pattern.