-= Per source details. Do not edit below this line.=-
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.
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.
{
"malicious-packages-origins": [
{
"import_time": "2026-08-15T14:41:48.071637983Z",
"sha256": "fff7c26e7d15d67157e1b61e4279a0441a9c09fe5c1ef5ad94a8c5ce1b320156",
"modified_time": "2026-08-15T14:12:26Z",
"source": "ossf-package-analysis",
"versions": [
"22.0.0"
]
},
{
"id": "IN-MAL-2026-017964",
"import_time": "2026-08-15T16:07:56.951593664Z",
"sha256": "7a4bf0c3cc6184dfada59b0a31a10acb6afa4784073b71cb19fddd3adf83bd82",
"versions": [
"21.0.0"
],
"source": "amazon-inspector",
"modified_time": "2026-08-15T15:58:25Z"
},
{
"id": "IN-MAL-2026-017963",
"import_time": "2026-08-15T16:07:56.896176544Z",
"sha256": "84c12fe64417829f19a3ad302001c909c0825b09e1c4a25c957eb8aa96997f49",
"modified_time": "2026-08-15T15:58:12Z",
"source": "amazon-inspector",
"versions": [
"22.0.0"
]
}
]
}[
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/harmony-app-toolkit/MAL-2026-14055.json"
{
"evidence_files": [
{
"path": "preinstall.js",
"tlsh": "edf07d052dfa1237403b20a54a47580b318ad901313edda2bbee5b516fc5c64cca36c9",
"sha256": "913112caf871d2cd2a23e6becb67ec28401cc294e424d6bf22985c4e1f404bc2"
}
],
"package_integrity": [
{
"filename": "harmony-app-toolkit-21.0.0.tgz",
"hashes": {
"sha1": "ec9061295e4d787f67558c50405788f6efcbf4dd",
"sha512_sri": "sha512-7ehnUS+iRrWiQGjwHkqljDb25NXYX392sRFvW7+5n3elZh6xztbVDa+MdJUV3FrVcO98QL6usqmd1zZyy6lLAQ=="
}
}
]
}