Skip to content
OpenAdvisories
Malicious MAL-2026-6100 GHSA-93cp-5ff7-p9m5

string-tools-be6c

npm package · versions 1.0.0

Reported Jun 18, 2026 · Updated Jun 18, 2026

If this package is installed

Remove it, treat the machine (or CI runner) as compromised, and rotate every secret, token and key it could access — from a different, clean machine.

Details

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.