-= Per source details. Do not edit below this line.=-
On require/import, index.js executes top-level async code that harvests AWS EC2 instance metadata via IMDSv2 (including IAM role security credentials fetched from http://169.254.169.254/latest/meta-data/iam/security-credentials/), serializes the entire process.env, and recursively reads files under /var/run/secrets/ (Kubernetes service account tokens and mounted secrets). The collected data is POSTed as JSON to a hardcoded external endpoint at https://hrnmn.dd.h4x.tv/save_instance_info_from_pkge_hrmony_cdk-constructs. The package name uses the scope @hrmony, a one-character deletion of the @harmony scope, consistent with typosquat targeting of developers looking for AWS CDK constructs. package.json also declares a runtime dependency on @hrmony/kit-5 at ^1.0.0, an unpinned scoped package under the same attacker-controlled scope, resolved and installed alongside this package.
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.
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-020659",
"import_time": "2026-09-29T16:45:38.296064824Z",
"modified_time": "2026-09-29T16:33:26Z",
"sha256": "6601c44353f60d117ef4e1ea09f9d2c997cde4375af70c49c628b38db8f1b55a",
"source": "amazon-inspector",
"versions": [
"5.3.5"
]
},
{
"id": "GHSA-h9qw-wcm3-qrr8",
"import_time": "2026-09-29T17:25:03.741480424Z",
"modified_time": "2026-09-29T17:22:09Z",
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "SEMVER"
}
],
"sha256": "3c490fa0c0814182d310d12bf7b7313d624b6987127db6e216959fb0cb30db4a",
"source": "ghsa-malware"
}
]
}[
{
"cweId": "CWE-506",
"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"
}
]
{
"evidence_files": [
{
"path": "index.js",
"sha256": "44c9dfc3855f97dc63b83df0a9634c901d268be890a140c79d3dcb2f17ee9676",
"tlsh": "8bb1968642fb0421159f75ab8bbba0079036d1473848addc3f9c63842f4e4edea61bcd"
},
{
"path": "package.json",
"sha256": "11651d9edda3fceb2932283679e00f791976f352ba5993c2f63bbbe2b050a55c",
"tlsh": "c8e02620853495b349c561a21c9e84a7b7628e9b941c7c0c33df601cc69eeb354fe7aa"
}
],
"package_integrity": [
{
"filename": "cdk-constructs-5.3.5.tgz",
"hashes": {
"sha1": "0367f9019fee9d40927d3ac22ac2ac83ee86eb96",
"sha512_sri": "sha512-1EnHsVihNGkJ6n1GJnVYrx+MyyJjI9vqnOUvonqMyKezrEmiKrBcZt3NCQ0RVrpms1ULn9Rxq1m03i8yt7x/ZQ=="
}
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@hrmony/cdk-constructs/MAL-2026-17258.json"