MAL-2026-20194
Malicious code in calkyippie (npm)
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | calkyippie | unknown | none recorded |