Malicious code in lab-helper (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9bbde4e4075983db0c5aba255bc29f84fb2536681b13e8289412cce5c3ee7a2e) 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). ## Source: ghsa-malware (0c9cd86dc5e0a1f19dccb8ecd8517d78b22afc17007d0d72a05ea18911395578) 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 code in lab-helper (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (9bbde4e4075983db0c5aba255bc29f84fb2536681b13e8289412cce5c3ee7a2e) 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). ## Source: ghsa-malware (0c9cd86dc5e0a1f19dccb8ecd8517d78b22afc17007d0d72a05ea18911395578) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5835
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-gqf6-7j7q-9x94"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7f43f1bf8831d5395d7708
Added to database: 08/14/2026, 16:36:01 UTC
Last updated: 08/14/2026, 16:36:58 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.