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

qs-native-parsenpm

Advisory published Updated

qs-native-parse is a confirmed malicious npm package (MAL-2026-20557) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in qs-native-parse (npm)

MAL-2026-20557
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall qs-native-parse

What this malware does

[email protected] presents itself as a pure-JavaScript query-string parser (package.json main=index.js, keywords 'querystring,qs,parse,stringify,url') but silently bundles two prebuilt native addons (native.napi.node for Linux, native_win.node for Windows) and a 3.7MB opaque sibling file named.napi_cache. index.js loads the platform-appropriate.node binary on module load inside a try/catch that swallows any error, so failures are hidden from the caller. The native addons contain format strings and syscalls consistent with staging and executing a decrypted JavaScript payload from the.napi_cache blob (strings '%s/.napi_cache', '%s.nc%lu.js', '/tmp/.%u', 'node "%s"'; imports fork, setsid, chmod, execlp) — i.e., the addon writes a derived.js file to /tmp and spawns node on it outside the Node module loader, bypassing any JS-level inspection. Both addons additionally gate execution on anti-analysis checks: the Linux variant enumerates CI environment variables (GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NETLIFY, VERCEL, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER, SANDBOX), inspects /proc/1/cgroup for docker/containerd/kubepod/podman markers, reads /proc/self/status for TracerPid and /proc/self/maps; the Windows variant calls IsDebuggerPresent/CheckRemoteDebuggerPresent and checks for wireshark/httpdebug. No binding.gyp, C/C++/Rust sources, install script, or documentation of a native component is shipped, so there is no legitimate build artifact these binaries correspond to. The combination of undocumented native code, an opaque encrypted payload decrypted and exec'd via node on require(), swallowed load errors, and sandbox/CI/debugger evasion is the obfuscated-loader dropper shape and executes attacker-controlled code on the installer's host as soon as the module is required.

Malicious versions

2 flagged
1.0.01.0.1

Indicators of compromise (SHA-256)

38b791ae08dfb460f91bddfee42ff934772893ac4a690908d541ae9d150a946a
9d7a59ef9bedd72e64eb405d63a5037689bea25b38544a988f49ee1953d2d633

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for qs-native-parse (2 malicious versions).

  2. If you installed it — respond

    qs-native-parse 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 qs-native-parse 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. qs-native-parse on npm has been identified as a malicious package (versions 1.0.0, 1.0.1 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-023113IN-MAL-2026-023114

References

Credits

  • Amazon Inspector · finder

Detect & block this

O3 blocks qs-native-parse-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

qs-native-parse (npm) malicious package — MAL-2026-20557 | O3 Security