MAL-2026-20305

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

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

Source: amazon-inspector (fd8b0671f1c77b8c7d843dce49845750fd043f50f20c92a4677d1c117b98c00c)

On require(), index.js loads a platform-specific native N-API addon (native.napi.node / native_win.node). The addon reads a 1.19 MB sibling file .napi_cache at the package root — a file with no printable strings consistent with encrypted/packed executable content — writes derived bytes to a hidden temp path, and spawns them as a detached process: on Linux via fork/setsid/execlp staging to /tmp/.<uid> with chmod and an __IS_DAEMON marker, and on Windows via CreateProcessA invoking node "%TEMP%\...nc<pid>.js" using GetTempPathA. The dropper is gated by extensive anti-analysis evasion: enumeration of CI env vars (GITHUB_ACTIONS, GITLAB_CI, TRAVIS, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NETLIFY, VERCEL, CF_BUILD_ID, SCREWDRIVER, SANDBOX), container markers (/proc/1/cgroup for docker/containerd/kubepod/podman, /proc/1/cmdline dockerinit), ptrace detection (/proc/self/status TracerPid, /proc/self/maps), and Windows debugger/analysis tool checks (IsDebuggerPresent, CheckRemoteDebuggerPresent, Process32First, wireshark, x64dbg, procmon). Package metadata is disposable (name vreqtx-b5w3n-testmetest, description "test", no repository/author/homepage), consistent with a staging artifact. The .napi_cache naming disguises the primary executable payload as a build cache; the entire JS-visible surface is a thin loader for the opaque blob.

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

Affected packages

npm / vreqtx-b5w3n-testmetest

Package

Name
vreqtx-b5w3n-testmetest
View open source insights on deps.dev
Purl
pkg:npm/vreqtx-b5w3n-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": "63c3577827dd0c0d2d3756604ed5c1e24f3ecc95ddfd27572b892186c520253d",
            "tlsh": "82c080c437a8544d7b6513d431f98b4165c3d05044cc575d4dc996b51e848815f44cb7"
        },
        {
            "path": "native.napi.node",
            "sha256": "51562712446cf1c93c82b381070582ec33baa149c815ce9c4114036f96568c0c",
            "tlsh": "9572854bd2a0ed3ec4d86231598b527152a2d070ef30172f0f54a6fb2d97358ae7ae12"
        },
        {
            "path": ".napi_cache",
            "sha256": "31dccb22283697ac619441541e3329dd179dde2336b783e3a626308410f7e81f",
            "tlsh": "09456c0fca09935d3c2819ed2c8f18d530ccadd86469df52f9ac8967e2549b9304f6eb"
        },
        {
            "path": "package.json",
            "sha256": "881f7df4e509f9af63a1ceb43d3b92996f840e3fb9a06ccb37d3ba16fd201c4a",
            "tlsh": "15b092211a63a02700d95a740eb3860b1f66ce2f1184b509a71b601844ebbf768f631e"
        }
    ],
    "package_integrity": [
        {
            "filename": "vreqtx-b5w3n-testmetest-1.0.1.tgz",
            "hashes": {
                "sha1": "ff5ba2cbe5d0a0cf43a7fb1282ba7625003e2ff0",
                "sha512_sri": "sha512-vf25WG570cBdJIz+hExCWFy4/BkFkCO4dlM4nmEY7Udee2UITfG2QskvChdr+2mSI7JGX5lew4gVR022I1uvvQ=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/vreqtx-b5w3n-testmetest/MAL-2026-20305.json"