native-stream-parser (npm) · Malicious Code
Affects native-stream-parserSource GCVE Database
Malicious package : remove native-stream-parser and rotate any secrets on hosts that installed it.
Data as of 25 Nov 2026, 08:47 UTC
Malicious package
Published to npm · OSV MAL-2026-20554
What to do
Remove native-stream-parser 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 |
|---|---|---|
| npmnative-stream-parser | 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 native-stream-parser npm package version 1.0.1 contains malicious code that executes an encrypted payload at import time. This payload is decrypted and launched as a detached child process, allowing arbitrary code execution on the host. The package includes anti-analysis techniques to evade detection in debugging, CI, and container environments. The package's public API is minimal and unrelated to the malicious behavior, and it lacks standard metadata and documentation, indicating it is a hostile dropper rather than a legitimate utility.