Malicious code in @years19/n8n-nodes-utils-helper-u (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13904
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c82adb424b76ab7db887024cb8608a8e7aa3b942797ba38a3eef74fa36c249e5) The package's postinstall hook (callback.js) and its declared main entry (index.js, byte-identical to callback.js) both write a Python script to /tmp/attack.py and spawn it via `nohup python3 /tmp/attack.py... &`. The script launches hundreds of UDP/TCP flood threads against the hardcoded target 103.118.252.21 for 600 seconds, turning the installer's host into a DDoS source against a third party. After launching the flood, the code collects host identifiers (`id`, `hostname`, running process count, /proc/loadavg), base64-encodes them, and issues an HTTPS GET to jasabersama.id/portfolio-data.php with query parameters `k=S7k9xQ2mZj&c=<base64>`, with TLS certificate verification disabled (`rejectUnauthorized: false`). Because index.js is the module's main entry, the same dropper also fires whenever the package is `require`d — for example when loaded as an n8n community node — in addition to firing on `npm install` via the postinstall lifecycle hook.
- Source published
- 12 Aug 2026 15:08:06 UTC
- Source modified
- 12 Aug 2026 15:30:15 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.