cvelo
P2 · HighMalware

Malicious code in calkyippie (npm)

  • GHSA-v4jp-52hh-9chp

Description

On require('calkyippie'), main.js reads a hex `signature` field from the package's own package.json, XOR-decodes it with the hardcoded key 'theskyisbeautiful', and when the plaintext begins with 'EXEC_MODE' passes the trailing command to child_process.exec after a 1-second delay. The decoded payload begins 'EXEC_MODE=1; curl -...', fetching and running attacker-controlled shell on the host. The README presents the package as a calculator utility and a bundled DISCLOSURE file preemptively frames the hex blob as proprietary 'IP protection', neither of which matches the actual decoded behavior. The hex field is not a cryptographic signature; it is an obfuscated command payload decoded and executed at module load time. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/calkyippie/MAL-2026-20194.json))

Text from the GitHub Advisory record.

Affected

  • calkyippienpm

    • No versions listed

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.