MAL-2026-20304: Malicious code in qzi2v-tttf1-testmetest (npm)

Published Nov 20, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (b99ca6a65bd9e71ec0333a05a272ad0b11773ca20630f9d02ad79345a64b8fdc) The package presents itself as a utility library but exports nothing (index.js is 188 bytes and only require()s a platform-specific native addon). Three precompiled native binaries are shipped (nativewin.node, nativemac.node, native.napi.node) alongside a 1,192,296-byte opaque .napicache blob with zero printable strings and no native source. Strings in the binaries show the addon reads .napicache, writes a staged JS file matching %s.nc%lu.js (Linux/mac also /tmp/.%u), and executes it via node "%s" using CreateProcessA on Windows and fork/execlp on Linux/mac. The loader is gated on CI environment variables (GITHUBACTIONS, GITLABCI, CIRCLECI, JENKINSURL, BUILDKITE, CODEBUILD) and includes anti-analysis checks (CheckRemoteDebuggerPresent, process enumeration via Process32First, strings referencing wireshark and httpdebug, container/daemon detection via /proc/1/cgroup and dockerinit, setsid + ISDAEMON). Any require() of this package on a matching CI host decrypts and executes attacker-controlled code from the shipped blob under the installer's build identity. The package metadata is a thin stub (random-looking name, no author, no repository, description utility library) consistent with a disposable build-system targeting dropper rather than a real library.

Affected Software

1 affected component
npm/qzi2v-tttf1-testmetest=1.0.1

Event History

Nov 20, 2026
Advisory Published
via OSV·06:59 PM
Data Sourced
via OSV·06:59 PM
DescriptionAffected Software

Frequently Asked Questions

1

Which environments are most likely to trigger the malicious behavior?

The loader is gated on CI-related environment variables, including GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, and CODEBUILD. A package import on a host where one of these variables is present can trigger execution.

2

What action causes the payload to run?

Requiring the package is sufficient on a matching CI host. Its small JavaScript entry point loads a platform-specific native addon, which reads the bundled cache, stages JavaScript, and executes it with Node.

3

Which platforms are covered by the included payload?

The package contains native binaries for Windows, macOS, and a N-API-targeted build. The observed execution paths use CreateProcessA on Windows and fork/exec on Linux or macOS.

4

How can I assess whether a CI runner may have executed it?

Check whether qzi2v-tttf1-testmetest was installed and required by builds running with the listed CI environment variables. Relevant artifacts include staged JavaScript files matching %s.nc%lu.js and, on Linux or macOS, files under /tmp/.%u.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203