-= Per source details. Do not edit below this line.=-
The package declares a postinstall lifecycle hook (postinstall.js) that runs automatically on npm install. The script shells out via curl to the EC2 IMDSv2 metadata endpoint to obtain IAM role credentials, exports them, then iterates AWS Secrets Manager across multiple regions calling aws secretsmanager list-secrets and get-secret-value, and additionally dumps any process environment variable matching FLAG|HTB|SECRET|AWS_. The captured blob is chunked and HTTP PUT to a hardcoded bare-IP destination (http://154.57.164.71:30782) framed as a fake 'manifest' JSON. Execution is gated by an isAppWorker() check (hostname matches a 12-hex Docker-style ID and cwd contains /app/node_modules), which narrows the victim profile to containerized CI/build workers but does not change the nature of the attack. Additional behavior includes scanning /app for HackTheBox flag patterns (/HTB\{[^}]+\}/) and reading /app/src/main.rs, /app/main.rs, /app/flag.txt. This is unambiguous install-time credential theft plus remote exfiltration: any installer whose container matches the gate has IAM role credentials, secrets, and environment-variable secrets sent to attacker-controlled infrastructure.
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-005718",
"versions": [
"1.0.2"
],
"sha256": "16a40e224921cfaf321cd960d7ef642dc70eef6188751c1fdd56835d9e92cf9d",
"source": "amazon-inspector",
"modified_time": "2026-06-11T12:40:48Z",
"import_time": "2026-06-11T13:27:19.937232188Z"
},
{
"id": "IN-MAL-2026-005716",
"import_time": "2026-06-11T13:27:19.84866968Z",
"sha256": "c4a0788a8447c0cc7ef6abd8bc0726849d50c6238ed90b0642e658f8cc20ead8",
"source": "amazon-inspector",
"modified_time": "2026-06-11T12:40:47Z",
"versions": [
"1.0.1"
]
},
{
"id": "IN-MAL-2026-005720",
"import_time": "2026-06-11T13:27:20.112537134Z",
"sha256": "d85578fd137cc54fbc2c6e754c37ae144583e70218b0c5a8cfae067913f7bf97",
"source": "amazon-inspector",
"modified_time": "2026-06-11T12:40:49Z",
"versions": [
"1.0.2"
]
},
{
"id": "IN-MAL-2026-005717",
"import_time": "2026-06-11T13:27:19.877595363Z",
"sha256": "7c87e10b0742e18e2989fabe0b2f60cb66a91a4d3627c906fa4a5b3b8b0e45cc",
"source": "amazon-inspector",
"modified_time": "2026-06-11T12:40:48Z",
"versions": [
"1.0.3"
]
},
{
"id": "IN-MAL-2026-005721",
"versions": [
"1.0.0"
],
"sha256": "95eb09ee95ea5d17e74c51b4c20e16845423a6fdf6510e4c5c16599798173711",
"source": "amazon-inspector",
"modified_time": "2026-06-11T12:40:53Z",
"import_time": "2026-06-11T13:27:20.143420238Z"
},
{
"id": "IN-MAL-2026-005719",
"import_time": "2026-06-11T13:27:19.987553242Z",
"sha256": "b1c72eb911f4421cc9dd9163e7b130433eb8d92c6a5b1eb3070bc5e2fe8d9348",
"source": "amazon-inspector",
"modified_time": "2026-06-11T12:40:49Z",
"versions": [
"1.0.3"
]
},
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"id": "GHSA-5wjv-qgmc-8w9m",
"import_time": "2026-06-12T15:23:25.123667321Z",
"sha256": "d0ca45bd5ff9251df7ade64227231b9db2164ed9c61735808e83cb5626c3505a",
"source": "ghsa-malware",
"modified_time": "2026-06-12T14:32:52Z"
},
{
"id": "IN-MAL-2026-006112",
"versions": [
"1.0.22"
],
"sha256": "0de0e6d4d16a4cb0e2a17b2eb3d84b088a36521a6478e820ed6996fda7ed767c",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:09Z",
"import_time": "2026-06-12T19:44:09.373859414Z"
},
{
"id": "IN-MAL-2026-006111",
"import_time": "2026-06-12T19:44:09.270215162Z",
"sha256": "4ec73624a6aabaf449254883df0d9d38a6f9fb68874a59401f6288613165c300",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:08Z",
"versions": [
"1.0.21"
]
},
{
"id": "IN-MAL-2026-006104",
"versions": [
"1.0.14"
],
"sha256": "70cfbc715c5d5cc9cf86917c1654e2b6048c104611c7215221a26e3aeb45e3fe",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:56Z",
"import_time": "2026-06-12T19:44:08.483981705Z"
},
{
"id": "IN-MAL-2026-006107",
"import_time": "2026-06-12T19:44:08.817113188Z",
"sha256": "c8d2f0097456a01571eab4838ed9684ef3fd7614951939497fa5abecba09777b",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:01Z",
"versions": [
"1.0.17"
]
},
{
"id": "IN-MAL-2026-006106",
"import_time": "2026-06-12T19:44:08.730789303Z",
"sha256": "2948bc334e7dc23fc69f89b4e0e7fca944712cc6560dfab1689f105537d86efa",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:59Z",
"versions": [
"1.0.16"
]
},
{
"id": "IN-MAL-2026-006108",
"versions": [
"1.0.18"
],
"sha256": "35626d2b2dc625f9c3a6b85bba36f3e6d317a41597792855902a86c29012cd3b",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:03Z",
"import_time": "2026-06-12T19:44:08.915310754Z"
},
{
"id": "IN-MAL-2026-006116",
"import_time": "2026-06-12T19:44:09.75811228Z",
"sha256": "63428613030c9e1819ae82934291ef5fe78b1715d051ae51472ab6914fe6f5bc",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:16Z",
"versions": [
"1.0.4"
]
},
{
"id": "IN-MAL-2026-006117",
"import_time": "2026-06-12T19:44:09.923070198Z",
"sha256": "65773de50b3ef227f7552ce80c74286241413fc553ec977fb2f24d57a12ef770",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:18Z",
"versions": [
"1.0.5"
]
},
{
"id": "IN-MAL-2026-006101",
"import_time": "2026-06-12T19:44:08.150918133Z",
"sha256": "7ee8af4662a39b67c536008b9fefde8c52045b8808e9ef9f8a6e1c822bef9331",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:51Z",
"versions": [
"1.0.11"
]
},
{
"id": "IN-MAL-2026-006119",
"versions": [
"1.0.8"
],
"sha256": "9d98b8fcc095cfd927e7d0bd6d12981e4500ec6427f3413beed123d00cab8a73",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:21Z",
"import_time": "2026-06-12T19:44:10.247390506Z"
},
{
"id": "IN-MAL-2026-006114",
"import_time": "2026-06-12T19:44:09.569091323Z",
"sha256": "d8b33ca630e39024f4651337f5dcf84c4ea9ed72c974abae3f70e7bb6a64e448",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:13Z",
"versions": [
"1.0.24"
]
},
{
"id": "IN-MAL-2026-006110",
"versions": [
"1.0.20"
],
"sha256": "e0ae63eadc5655133ada7d2277af52bb5eae0b487f2419492b9b2722f1a88ba4",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:06Z",
"import_time": "2026-06-12T19:44:09.164135087Z"
},
{
"id": "IN-MAL-2026-006113",
"import_time": "2026-06-12T19:44:09.468047786Z",
"sha256": "0eb3ad7576c76528f6a0b203e3bbe863cf4e63f1596683d483d144209b095c7e",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:11Z",
"versions": [
"1.0.23"
]
},
{
"id": "IN-MAL-2026-006109",
"versions": [
"1.0.19"
],
"sha256": "660c8b388b9e3c06b2b4d0b996b3132e7c90d0c4af8bd4ecac456f6bfedf1a50",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:04Z",
"import_time": "2026-06-12T19:44:09.068364062Z"
},
{
"id": "IN-MAL-2026-006115",
"import_time": "2026-06-12T19:44:09.665511894Z",
"sha256": "8695ea17273c804f1a58e6c0b877de280f7472622065964245deb85cc62dae20",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:14Z",
"versions": [
"1.0.25"
]
},
{
"id": "IN-MAL-2026-006105",
"versions": [
"1.0.15"
],
"sha256": "e8af64bb36c381437e5e8f807521383a5a6cf2326d22ad7dbc29b84af825f4d9",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:58Z",
"import_time": "2026-06-12T19:44:08.644892912Z"
},
{
"id": "IN-MAL-2026-006118",
"versions": [
"1.0.7"
],
"sha256": "e8d806b4db07a82b0112d86bc066c0a55243cc0f0783cdd986a1168a7c2a6e11",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:09:19Z",
"import_time": "2026-06-12T19:44:10.118507378Z"
},
{
"id": "IN-MAL-2026-006102",
"import_time": "2026-06-12T19:44:08.276985734Z",
"sha256": "eae638cd408e82d172c0dad32f8f286811209476a07c7179df26ba2a33fc1689",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:53Z",
"versions": [
"1.0.12"
]
},
{
"id": "IN-MAL-2026-006100",
"import_time": "2026-06-12T19:44:08.054854314Z",
"sha256": "0164e4f56c23040ae9a0a1971cc90b3aa09240000653a83e01a670b6196fb3fe",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:49Z",
"versions": [
"1.0.10"
]
},
{
"id": "IN-MAL-2026-006103",
"versions": [
"1.0.13"
],
"sha256": "2dc06c4b3e617a0ab4c9e39fd8aa056bf098e50c2f67998c046b607d898166f2",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:08:54Z",
"import_time": "2026-06-12T19:44:08.377270381Z"
}
]
}{
"evidence_files": [
{
"path": "postinstall.js",
"sha256": "c5fcd08b064803fdd3b4cd5587b07284372a7b5cbef6c1ee4ad342e4e8772a5c",
"tlsh": "a1d195d086f2642913f3b4b9aa4f550bbf5788033109fa80f78c06696f8d46c45b66ed"
},
{
"path": "package.json",
"sha256": "7d8d7164cbe59c231fb5ff73cfc374a647d0801c9bb5e8d8b31fafcc45e84bf5",
"tlsh": "15d023106c50576338c91f594433c60536f24d3f1501940c13f71064c696ef79ceb75d"
}
],
"package_integrity": [
{
"filename": "ecto-corsair-whisper-6f3b9-1.0.2.tgz",
"hashes": {
"sha512_sri": "sha512-ciFxk61GEgpWlHR/5IBuq2tgNg6HUtAv6vjH6nJkfLDGFffpNDGd38oKr/0PFxEUDcRcFJh2Rft2SndZ1HOdPg==",
"sha1": "11bd6b0ab70700542e2ceb309f3dfa08772efc4d"
}
}
],
"domains": [
"bdyec-159-153-180-200.run.pinggy-free.link"
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ecto-corsair-whisper-6f3b9/MAL-2026-5640.json"
[
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"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"
},
{
"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"
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"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"
},
{
"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"
},
{
"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"
},
{
"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"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code",
"cweId": "CWE-506"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"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"
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
},
{
"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"
}
]