Malicious code in qs-parse-native (npm)
MAL-2026-20558
Published · Modified
Dependency scanning
Check whether qs-parse-native is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
__
Source: amazon-inspector (7e6c49a67bd1c4eed10dd9883ea92ca62712ca4ffef424f70744832dc26eff84)
qs-parse-native advertises itself as a fast querystring parser, but index.js is a pure-JS parse/stringify implementation that additionally require()s a sibling native addon binding.node inside a swallow-all try/catch. The addon serves no parser role (it exports napi_register_module_v1 but no parse function wired to the JS surface); instead it reads a bundled opaque blob.napi_cache, decodes it, writes an executable to /tmp/.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes