VYPR

npm · Malicious package advisory

Malware

npm-sandbox-research-9c4e

MAL-2026-5759

Malicious code in npm-sandbox-research-9c4e (npm)

Details


---
_-= Per source details. Do not edit below this line.=-_

## Source: amazon-inspector (24c86d7d2179375f642423fc8c38f58f5740b543bacab149ba8d4cbdcd7dc4cf)
On install, package.json runs `node run.js` via a postinstall lifecycle hook. The package ships beacon scripts (beacon9.js, beacon_linux.js) that import child_process, os, and http, collect host identity (os.hostname(), os.platform()) and issue outbound HTTP POST/GET requests. This is the canonical install-time host beacon / command-execution shape: arbitrary code runs on the installer's machine via `npm install`, host fingerprints are emitted over the network, and child_process is available to execute received instructions. The package name (`npm-sandbox-research-*`) and shipped contents are inconsistent with any legitimate library purpose.

## Source: ghsa-malware (81b3f813b66758d1e9a2183a6e990aa04eea83d2ce40095b36c73b2e28e077c2)
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.

Compromised versions (1)

  • 1.0.0

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.