string-utils-assistantnpm
Advisory published Updated
string-utils-assistant is a confirmed malicious npm package (MAL-2026-20352) that opens a backdoor for remote access (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in string-utils-assistant (npm)
What this malware does
Malicious package. Advertised as string helpers (toUpperCase, reverseString, ...), but the postinstall hook spawns index.js as a detached background process. It opens a raw TCP connection to 47.251.102.182:8057, reports the OS type, and accepts commands from the server, including FILE_START/FILE_END framing that writes server-supplied content to an arbitrary server-chosen path on the host, and runs every other line it receives as a shell command via child_process.exec (prefixed with chcp 65001 on Windows), sending the output back: a reverse shell. In a sandboxed install the package connected to 47.251.102.182.
Malicious versions
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for string-utils-assistant (version 1.0.0).
If you installed it — respond
string-utils-assistant establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If string-utils-assistant was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Credits
- wormsign · finder
Detect & block this
O3 blocks string-utils-assistant-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.