MAL-2026-20304

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/qzi2v-tttf1-testmetest/MAL-2026-20304.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20304
Published
2026-11-20T18:59:13Z
Modified
2026-11-20T19:15:08Z
Summary
Malicious code in qzi2v-tttf1-testmetest (npm)
Details

-= 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 (native_win.node, native_mac.node, native.napi.node) alongside a 1,192,296-byte opaque .napi_cache blob with zero printable strings and no native source. Strings in the binaries show the addon reads .napi_cache, 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 (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, 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 + __IS_DAEMON). 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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-022954",
            "import_time": "2026-11-20T19:10:12.235144262Z",
            "modified_time": "2026-11-20T18:59:13Z",
            "sha256": "b99ca6a65bd9e71ec0333a05a272ad0b11773ca20630f9d02ad79345a64b8fdc",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / qzi2v-tttf1-testmetest

Package

Name
qzi2v-tttf1-testmetest
View open source insights on deps.dev
Purl
pkg:npm/qzi2v-tttf1-testmetest

Affected ranges

Affected versions

1.*
1.0.1

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "f884b0e36f4c914c3d91f7d2280d2ac2242ddcfb6ee39a776f03da976553d845",
            "tlsh": "a0c080c437a8544d7b6413d431f98b4165c3d05044cc575d4dc996b51e848815f44cb7"
        },
        {
            "path": ".napi_cache",
            "sha256": "798d15f91dd883eb39abe2f212fb768a2ae30cf4e76344a87294ba378e3bc7e0",
            "tlsh": "22456c0fca18931d3c2419ed2c8b18d530ccbd996468df52f9ac8967e2649f9314f6eb"
        },
        {
            "path": "package.json",
            "sha256": "612547a3016aa2f70613323586d85e5266f8a1a4876bf8461888ab4673b05d58",
            "tlsh": "b9c02b300f12d03300d407b50e624a0a07120c1f0404b4047317300c00e97f764f530d"
        }
    ],
    "package_integrity": [
        {
            "filename": "qzi2v-tttf1-testmetest-1.0.1.tgz",
            "hashes": {
                "sha1": "426ace341befac946a1a2e173ba8a81408218467",
                "sha512_sri": "sha512-8YlwW3GIUBH/g0k6/STxPhzot8iC81SHNEttOIP6GtTqdazkm+slnIRMxzLrw4eW3+TeS6fK8lwh7OsKTfZhpw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/qzi2v-tttf1-testmetest/MAL-2026-20304.json"