OpenSSF/OSV advisory MAL-2026-5761 confirms this npm version as malicious. Package declares a postinstall lifecycle hook ("postinstall": "node run.js") that auto-executes on install. The package ships beacon scripts (beacon12.js, beacon_linux.js) that import child_process, os, and http, collect host identifiers via os.hostname() and os.platform(), and issue outbound HTTP GET/POST requests via http.request() carrying that data off-host...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in npm-sandbox-research-d7e8 (npm)
Details
Package declares a postinstall lifecycle hook ("postinstall": "node run.js") that auto-executes on install. The package ships beacon scripts (beacon12.js, beacon_linux.js) that import child_process, os, and http, collect host identifiers via os.hostname() and os.platform(), and issue outbound HTTP GET/POST requests via http.request() carrying that data off-host. The combination of automatic install-time execution, host enumeration, and unconditional outbound HTTP to non-registry endpoints is a host-beacon / exfiltration pattern that runs on any developer or CI machine that runs `npm install` against this package.
## Source: ghsa-malware (849c084fc8d2bd176730397b69a83f4cb6b1558a994960056c5f4c2bf4990450) 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.
Decision reason
OpenSSF Malicious Packages via OSV confirms npm-sandbox-research-d7e8@1.0.0 as malicious (MAL-2026-5761): Malicious code in npm-sandbox-research-d7e8 (npm)