MAL-2026-5718
Malicious code in ect-472839-ctf (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (a67248cb7373817da18e0edf4a019e2e6c9ded239e93a2e477ac168f7f45eeaa) package.json declares a preinstall hook (`"preinstall": "node index.js"`) that auto-executes on `npm install`. index.js issues an HTTP GET to the hardcoded bare IP `10.107.121.85:8000` at path `/ping_472839_ctf`. The unique token in the URL path makes the request itself the exfiltrated signal — it confirms to the operator of that endpoint that the package executed inside the installer's environment, leaking the installer's source IP and the fact that code execution succeeded. The package advertises no functionality that would justify a phone-home, and the destination is a private-range IP rather than any documented service. This is the canonical dependency-confusion / CTF probe shape, and the same mechanism would deliver any payload an attacker placed in index.js.
Are you affected?
Enter the version of the package you're using.
Affected packages
No fixed version published yet for ect-472839-ctf (npm). Pin to a known-safe version or switch to an alternative.