MAL-2026-18636

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kvarzo-8f3a2-testmetest/MAL-2026-18636.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18636
Aliases
  • GHSA-cfr8-88wx-3j9g
Published
2026-11-04T18:01:21Z
Modified
2026-11-13T03:45:12Z
Summary
Malicious code in kvarzo-8f3a2-testmetest (npm)
Details

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

Source: amazon-inspector (7901219714947e0995a049f9c26620fa8586f9c41bff2c3ed141168f008c0bae)

kvarzo-8f3a2-testmetest@1.0.1 ships as a 'test package' whose index.js has no exported API: on require() it platform-dispatches to one of three bundled native N-API addons (native.napi.node, native_mac.node, native_win.node) inside a try/catch and prints 'hello'. The native addons read a shipped 1.3MB opaque.napi_cache blob, decrypt it, write the decrypted payload to /tmp/. on POSIX (via fork + setsid + execlp) or %TEMP%...nc.js on Windows (via CreateProcessA with SetFileAttributesA to hide the file), and execute it detached. The payload content is non-auditable from source and runs on every import of the package. The native code additionally enumerates CI environment variables (GITHUB_ACTIONS, GITLAB_CI, CIRCLECI, JENKINS_URL, BUILDKITE, CODEBUILD_BUILD_ID, APPVEYOR, SEMAPHORE, TEAMCITY_VERSION, BITBUCKET_BUILD_NUMBER, NOW_GITHUB_DEPLOYMENT, CF_BUILD_ID, SCREWDRIVER), inspects /proc/1/cgroup, /proc/self/status TracerPid, /proc/self/maps and /proc/1/cmdline, and on Windows calls IsDebuggerPresent, CheckRemoteDebuggerPresent, and Process32First/Next scanning for 'wireshark' and 'httpdebug' to suppress behavior in analysis environments. The combination of an encrypted dropper, hidden-file execution, environment evasion, and a placeholder library surface gives the author arbitrary code execution on any machine that installs and loads the package.

Source: ghsa-malware (585289d80a705650a586dbdc453c0d5a6ed2399a338bf1309dfff7e41a804472)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-cfr8-88wx-3j9g",
            "import_time": "2026-11-04T18:20:09.211345824Z",
            "modified_time": "2026-11-04T18:02:25Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "585289d80a705650a586dbdc453c0d5a6ed2399a338bf1309dfff7e41a804472",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-022713",
            "import_time": "2026-11-13T03:36:36.251243688Z",
            "modified_time": "2026-11-13T03:36:00Z",
            "sha256": "7901219714947e0995a049f9c26620fa8586f9c41bff2c3ed141168f008c0bae",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / kvarzo-8f3a2-testmetest

Package

Name
kvarzo-8f3a2-testmetest
View open source insights on deps.dev
Purl
pkg:npm/kvarzo-8f3a2-testmetest

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "native.napi.node",
            "sha256": "c2caf5d3ae8b7f69493754cb5b50a9c80aa483efec18ae8191aec633a97a7690",
            "tlsh": "ef72854bd2a0ed3ec4d86235598b527253a2d070ef30172f0f54a2fb2d973586e7ae52"
        },
        {
            "path": "index.js",
            "sha256": "f6fa35d3f8c5bb6f269ba47e8b02efbcbe286baa7d0f102438a446dfb35c73fb",
            "tlsh": "f2c0c0c837d8402c3a7403d410f803012083c900448c174e4ec9a1330ec0cc05f04c77"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/kvarzo-8f3a2-testmetest/MAL-2026-18636.json"