Skip to content

MAL-2026-11465 Malicious code in hazmat-cfr (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

Source: amazon-inspector (670ac0a193b6b9a6afb01457c68700468026e76943f07cdf100d2d85601be2b3)

lib/report.js reads local files (fs.readFileSync at lines 31 and 72), collects host and account identifiers via os.hostname() and os.userInfo() (lines 160, 168), and executes shell commands via child_process.execSync (line 20). The collected data is POSTed over HTTPS (https.request at line 118, POST at line 121) to a hardcoded webhook at https://hooks.zapier.com referenced at line 12. The destination is an author-controlled webhook endpoint that is not a documented service backend for this package, and the code path collects installer-side data (hostname, user info, filesystem contents, command output) and ships it off-host.

Source: ghsa-malware (1d2d599c1ab0aeeeee36cccef36e04b2e89220aa8078c379df1b9aef50f55aee)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
npm hazmat-cfr(npm) = 1.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm hazmat-cfr(npm) = 1.0.0 No fix listed

References