MAL-2026-20352

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/string-utils-assistant/MAL-2026-20352.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-20352
Published
2026-11-20T00:00:00Z
Modified
2026-11-23T10:45:05Z
Summary
Malicious code in string-utils-assistant (npm)
Details

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.

Database specific
{
    "iocs": {
        "files": [
            {
                "digests": {
                    "sha256": "86fb8b9ace8dc0431974ec7c797848dd7d0a236da58615f055e360a0400fb2d1"
                },
                "paths": [
                    "index.js"
                ]
            },
            {
                "digests": {
                    "sha256": "d7ec8c0c7bacb777768c746231e06c65fbd419bd370391d00bdfefd60704043f"
                },
                "paths": [
                    "postinstall.js"
                ]
            }
        ],
        "ips": [
            "47.251.102.182"
        ]
    }
}
Credits

Affected packages

npm / string-utils-assistant

Package

Name
string-utils-assistant
View open source insights on deps.dev
Purl
pkg:npm/string-utils-assistant

Affected ranges

Affected versions

1.*
1.0.0

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/string-utils-assistant/MAL-2026-20352.json"