MAL-2026-11066
Dashboard / Malicious Package / MAL-2026-11066
MAL-2026-11066
Summary: Malicious code in @ks-radar/radar (npm)
Details: 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.
References: https://www.npmjs.com/package/@ks-radar/radar/v/22.0.0, https://www.npmjs.com/package/@ks-radar/radar/v/21.0.0, https://www.npmjs.com/package/@ks-radar/radar/v/20.0.0
Affected packages
Package
Name: @ks-radar/radar
Purl: pkg:npm/%40ks-radar/radar
Affected ranges
Type: N/A
Events:
