MAL-2026-20194
Malicious code in calkyippie (npm)
Auswirkung
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.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| npm | calkyippie | unbekannt | nicht erfasst |