Malicious code in calcurender (npm)
- GHSA-9599-44wr-v635
Description
On load of the package's main entry (main.js), the module reads a hex blob stored in a field named `integrity` within package.json, XOR-decodes it with the key 'theskyisbeautiful' sourced from config.json, and after a randomized 0-5 second delay passes the decoded string to child_process.exec. The decoded content begins with 'EXEC_MODE=1; curl -fSL http://...', fetching and executing remote shell content on the host that requires the package. The `integrity` field name impersonates npm package-lock metadata to disguise the embedded payload; a Mandelbrot computation and a DISCLOSURE file framing the obfuscation as proprietary-algorithm protection serve as cover stories. The README identifies the package as 'calculatoropenerapp' while the actual published name is 'calcurender', a further name-mismatch indicator. Any consumer that `require()`s or runs this module triggers remote code execution on the installer's machine. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/calcurender/MAL-2026-20193.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
calcurendernpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.