-= Per source details. Do not edit below this line.=-
On npm install, the package's postinstall hook runs sec_check.js, which enumerates the host's network interfaces and proceeds only if an IPv4 address begins with 18.175. — a subnet-based targeting gate that hides the behavior on most developer/CI machines. When the gate passes, the script reads <INIT_CWD>/myfile.txt from the installer's working directory and uses curl -X POST to upload its contents to a hardcoded plaintext C2 at http://18.175.63.47:8080/collect. The combination of a lifecycle-script auto-execute path, network-identity targeting to evade scanners, hardcoded bare-IP exfiltration endpoint, and reading installer-side files matches a targeted supply-chain attack against a specific environment (likely an AWS/lab subnet).
{
"malicious-packages-origins": [
{
"id": "IN-MAL-2026-006719",
"import_time": "2026-06-15T21:33:35.606871201Z",
"source": "amazon-inspector",
"versions": [
"0.0.3"
],
"modified_time": "2026-06-15T21:03:46Z",
"sha256": "9bbde4e4075983db0c5aba255bc29f84fb2536681b13e8289412cce5c3ee7a2e"
}
]
}[
{
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature.",
"cweId": "CWE-506"
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lab-helper/MAL-2026-5835.json"
{
"package_integrity": [
{
"filename": "lab-helper-0.0.3.tgz",
"hashes": {
"sha1": "d10b5958ebce48d6205e430edd749c2ae4c4f74c",
"sha512_sri": "sha512-T92J8g9+0hIxUoa1uYrS01KtMNQkWwU64hRANqDgGjCvHlhtm3V4RHfgALlBdvgoouYHVli1qb/ae3qyZ0QdbQ=="
}
}
],
"evidence_files": [
{
"path": "sec_check.js",
"sha256": "d3c046a0459772dc6e6566817eb50799ae2ca7f068a1d01c625ec2d4f00eb3ba",
"tlsh": "c31112a6458821b49cf15fe0b9351065f5b655533242ead4bcae85c60f0335043a3ff6"
}
]
}