npm · Malicious package advisory
Malwarecom.epi.e2e_test
GHSA-76w7-xhq5-w327
Malicious code in com.epi.e2e_test (npm)
Details
**Severity:** Critical **Affected versions:** `= 1.2.2` ## Source: amazon-inspector (5a0c1068af335818f2b9d905f2d39ebe594f84a6c63e470877692554bc95103b) package.json declares a preinstall script that runs index.js on npm install. index.js collects host identifiers (os.homedir(), os.hostname(), os.userInfo().username, dns.getServers(), current working directory) along with the contents of the package.json and POSTs them over HTTPS to the hardcoded external host meta.brs.cx. This behavior fires automatically on install with no user interaction, and the collected data is characteristic of dependency-confusion / internal-name reconnaissance beacons used to identify targets for follow-on attacks. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/0cd2dfee4b47f0c1db51b1cd87be27bd03eb7f9b/osv/malicious/npm/com.epi.e2e_test/MAL-2026-17415.json)) **References:** - https://github.com/ossf/malicious-packages/blob/0cd2dfee4b47f0c1db51b1cd87be27bd03eb7f9b/osv/malicious/npm/com.epi.e2e_test/MAL-2026-17415.json - https://www.npmjs.com/package/com.epi.e2e_test/v/1.2.2 - https://github.com/advisories/GHSA-76w7-xhq5-w327
Compromised versions (1)
- = 1.2.2
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.