-= Per source details. Do not edit below this line.=-
On npm install, postinstall.js executes shell commands that enumerate AWS Secrets Manager across regions (aws secretsmanager list-secrets followed by get-secret-value for each secret), captures STS caller identity and S3 listings, reads /app/.env and /app/flag.txt, and dumps the full environment via env | sort. The collected JSON payload is PUT to http://154.57.164.71:31289/api/modules/ECT-472839 (line 9, line 89). An isRealTarget() gate (lines 40-48) suppresses execution under /tmp/, EC2 internal hostnames, hetzner hosts, and the username nijin, only firing for docker-style 12-hex hostnames inside /app/ or registries containing nexus.local/verdaccio — targeted evasion of analysis sandboxes while triggering on real CI environments and internal registries. This is a supply-chain credential-theft attack: installing the package surrenders the installer's AWS secrets and CI environment 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": "GHSA-jmpq-jp85-ggf3",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"import_time": "2026-06-12T15:23:25.132388821Z",
"sha256": "6f396b303d6a615d7a5acae24c8ca0b351a7707b423a5e5e0be2a3a84f589577",
"source": "ghsa-malware",
"modified_time": "2026-06-12T14:32:52Z"
},
{
"id": "IN-MAL-2026-005867",
"versions": [
"1.0.2"
],
"sha256": "c1caf14c5b134a3549f53f9d15e15dcb0f3927921e95d2e38f7c0a83a529cb5b",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:03:41Z",
"import_time": "2026-06-12T19:43:41.788244707Z"
},
{
"id": "IN-MAL-2026-005865",
"import_time": "2026-06-12T19:43:41.547012225Z",
"sha256": "ed80e7979c97935537c82692c1be6aa9fa4880f76b412057e9d8ed7d66af999f",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:03:37Z",
"versions": [
"1.0.0"
]
},
{
"id": "IN-MAL-2026-005866",
"versions": [
"1.0.1"
],
"sha256": "7ef7ecfff5244b9fe85cd2688ffe0b741f59eab14dd41aecd57d0f703b9c1c96",
"source": "amazon-inspector",
"modified_time": "2026-06-12T19:03:39Z",
"import_time": "2026-06-12T19:43:41.63839678Z"
}
]
}[
{
"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"
}
]
{
"evidence_files": [
{
"path": "postinstall.js",
"sha256": "d9cf0780b557d1a1b732711d61d552e6e8ba904ccdcc06cb02faec7ecf11eb3f",
"tlsh": "677172d8a0fab07153e264ed5857e15ef52b98b7344ad9e0b60d00693f842ac02b31aa"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ecto-spectral-leak-8d4e2/MAL-2026-5690.json"