{"id":"MAL-2026-20558","aliases":[],"title":"Malicious code in qs-parse-native (npm)","originalDescription":" --- _-= Per source details. Do not edit below this line.=-_ ## 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/.<pid>, chmods it, and launches it as a detached daemon via fork+setsid+execlp. Before dropping, the addon enumerates CI indicators (GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NETLIFY, VERCEL, SCREWDRIVER), container runtimes (/proc/1/cgroup entries for docker/containerd/kubepod/podman, dockerinit in /proc/1/cmdline, SANDBOX env), and debugger presence (TracerPid in /proc/self/status, /proc/self/maps) and bails out if any are present, so execution is gated to real developer and production hosts. The stag","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/qs-parse-native/v/1.0.0","type":"package"}],"sources":[{"name":"osv","at":"2026-11-25T07:39:58.393Z","url":"https://osv.dev/vulnerability/MAL-2026-20558","license":"CC-BY 4.0","firstSeenAt":"2026-11-25T07:06:38.191Z"}],"firstSeenAt":"2026-11-25T07:06:38.191Z","publishedAt":"2026-11-25T06:28:14.000Z","modifiedAt":"2026-11-25T07:00:04.340Z"}