NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

native-stream-parsernpm

Advisory published Updated

native-stream-parser is a confirmed malicious npm package (MAL-2026-20554) that steals credentials and exfiltrates sensitive data (malicious version 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in native-stream-parser (npm)

MAL-2026-20554
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall native-stream-parser

What this malware does

On any require('native-stream-parser'), index.js platform-dispatches to one of three bundled N-API addons (native.napi.node, native_mac.node, native_win.node). Each addon reads the shipped ~1.3MB opaque high-entropy.napi_cache file, decrypts it, writes it to a hidden temp path (/tmp/.<pid> on Unix, %TEMP%<name>.nc<pid>.js on Windows), and launches it as a detached child process (fork+setsid+execlp on Unix; CreateProcessA with 'node "%s"' on Windows). The payload bytes are opaque and not derivable from any declared source, so the author controls arbitrary code executing on the installer's host at import time. Prior to execution, the addons probe for analysis environments: Linux reads /proc/1/cgroup, /proc/self/status (TracerPid), and /proc/self/maps; Windows calls IsDebuggerPresent, CheckRemoteDebuggerPresent, and enumerates processes via Toolhelp32 looking for wireshark/httpdebug; both check CI env vars including GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, TRAVIS, SANDBOX, APPVEYOR, SEMAPHORE, and TEAMCITY_VERSION to gate execution. The JS 'parse' export is a one-line buf.toString() cover function unrelated to the native work; the package ships no README, no repository, no files/scripts manifest entries, and uses a generic name under a disposable-looking author. The combination of an encrypted bundled payload executed at import, debugger/CI/container evasion co-located with the decrypt-and-exec primitive, and a thin cover API matches a hostile dropper rather than the advertised stream-parsing utility.

Malicious versions

1 flagged
1.0.1

Indicators of compromise (SHA-256)

d4fb217d81e79be4844f58b4467338645a739063a28f3b80009d5aad00cc3b58

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for native-stream-parser (version 1.0.1).

  2. If you installed it — respond

    native-stream-parser is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If native-stream-parser was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. native-stream-parser on npm has been identified as a malicious package (version 1.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023100

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks native-stream-parser-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

native-stream-parser (npm) malicious package — MAL-2026-20554 | O3 Security