MAL-2026-14055
Dashboard / Malicious Package / MAL-2026-14055
MAL-2026-14055
Summary: Malicious code in harmony-app-toolkit (npm)
Details: Source: amazon-inspector (84c12fe64417829f19a3ad302001c909c0825b09e1c4a25c957eb8aa96997f49) The package declares a preinstall lifecycle script (preinstall.js) that reads a hex-encoded command from preinstall.json, decodes it with Buffer.from(hex,'hex'), and passes the result to child_process.exec. The decoded command shells out via curl to https://eousft8gflamm91.m.pipedream.net and POSTs the output of whoami, pwd, hostname, and the contents of /etc/passwd from the installing host. The behavior runs automatically on npm install, uses hex encoding to hide the payload string, and sends installer host identity and a system account file to an attacker-controlled Pipedream endpoint. Source: ossf-package-analysis (fff7c26e7d15d67157e1b61e4279a0441a9c09fe5c1ef5ad94a8c5ce1b320156) The OpenSSF Package Analysis project identified 'harmony-app-toolkit' @ 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/harmony-app-toolkit/v/21.0.0, https://www.npmjs.com/package/harmony-app-toolkit/v/22.0.0
Affected packages
Package
Name: harmony-app-toolkit
Purl: pkg:npm/harmony-app-toolkit
Affected ranges
Type: N/A
Events:
