Skip to content

MAL-2026-11066 Malicious code in @ks-radar/radar (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (4fe5f14a06be3c24f9b771e8bbe33139614129069d276962f0c7e019fd89cbce)

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.

Source: ossf-package-analysis (24bbd0f16f929682cd413abde1e40578db9fa5b2ad8cb7cdc9927c70f5f5f710)

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
ks-radar @ks-radar/radar(npm) = 20.0.0; = 21.0.0; = 22.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
ks-radar @ks-radar/radar(npm) = 22.0.0 No fix listed
ks-radar @ks-radar/radar(npm) = 21.0.0 No fix listed
ks-radar @ks-radar/radar(npm) = 20.0.0 No fix listed

References