MAL-2026-11066 Malicious code in @ks-radar/radar (npm)
- Package
- @ks-radar/radar
- Registry
- npm
What is MAL-2026-11066?
MAL-2026-11066 is a malicious package in @ks-radar/radar, published on 25 Jul 2026.
Official description
On npm install, the package's preinstall lifecycle script (preinstall.js) reads a hex-encoded command string from preinstall.json, decodes it via Buffer.from(hexCommand, 'hex'), and passes the decoded string to child_process.exec. The decoded command invokes curl against https://eobdzec83knbura.m.pipedream.net and POSTs installer-side reconnaissance data including the output of whoami, the current working directory, the hostname, and the contents of /etc/passwd and /etc/hosts. The hex encoding of the command serves no legitimate build purpose and hides the exfiltration target and payload from casual inspection of package.json. The destination pipedream.net endpoint is an attacker-controlled request-collection URL, unrelated to any documented publisher infrastructure.
The OpenSSF Package Analysis project identified '@ks-radar/radar' @ 22.0.0 (npm) as malicious.
It is considered malicious because:
The package communicates with a domain associated with malicious activity.
The package executes one or more commands associated with malicious behavior.
What should I do about MAL-2026-11066?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.