stream-buffer-utils-testmetest@1.0.0
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-20280 confirms this npm version as malicious.
Advisory
MAL-2026-20280
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in stream-buffer-utils-testmetest (npm)
Details
On require(), index.js brotli-decompresses a hex-encoded blob and pipes the decoded script into a `bun -` subprocess, resolving the Bun binary from /usr/local/bin/bun, $HOME/.bun/bin/bun, and $BUN_INSTALL/bin/bun. The payload is shipped as opaque compressed bytes rather than readable source, and executes through a sibling runtime so the code path is not visible to Node-source review of the shipped file. The package advertises itself as a generic utility library, which does not require decoding and executing an embedded blob under an alternate runtime at module load. The current decoded content is a trivial console.log, but the delivery mechanism supports swapping in arbitrary code in any subsequent publish while keeping the Node-level file structurally unchanged. The package name has a placeholder/test shape (stream-buffer-utils-testmetest).
References