VYPR

npm · Malicious package advisory

Malware

string-tools-be6c

MAL-2026-6100

Malicious code in string-tools-be6c (npm)

Details


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

## Source: amazon-inspector (c725b56cc7e80c178e8d0fca3eceb069e811b979427b6ec99deab6b6f6cab8f7)
Package ships a `postinstall` lifecycle hook (`node run.js`) that runs automatically on `npm install`. The executed script imports `os`, `https`, `http`, and `child_process`, reads host identifiers via `os.hostname()` and `os.platform()`, and issues outbound HTTP/HTTPS POST requests. This combination — install-time auto-execution + host-identity collection + outbound POSTs + child_process — is the canonical install-time host-beacon / dropper shape. The package name (`string-tools-be6c`) is a generic-name + random-hex-suffix pattern characteristic of throwaway supply-chain attack publications with no legitimate utility matching the observed runtime behavior.

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