{"id":"MAL-2026-13909","revision":"3bdcdf99135147228fd5ac846eb41d50","records":[{"revision":"3bdcdf99135147228fd5ac846eb41d50","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13909","aliases":[],"title":"Malicious code in @years20/n8n-nodes-utils-helper-a (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (53efd1db4158ab9b9fbc01983ff03019e4938eb54329876135b5eb4a0ba927bc)\nThe package's postinstall script (callback.js) and its main module (index.js, byte-identical to callback.js) execute on both `npm install` and `require()`. They shell out to collect `id`, `hostname`, WSL indicators, and the local SSH host-key fingerprint, base64-encode the recon output, and send it to a hardcoded endpoint at `https://jasabersama.id/portfolio-data.php` with `rejectUnauthorized: false`. The payload also decodes an embedded base64 OpenSSH ed25519 private key to `/tmp/pk` (chmod 600) and iterates common local account names (`devuser`, `ubuntu`, `runner`, `node`, `root`, `chris`, `user`) attempting SSH into `127.0.0.1:22495` and `127.0.0.1:22`, reporting successful logins back to the same external host. The exfil query string carries a URL-encoded shell command that the receiving PHP handler is expected to execute, indicating a server-side command channel. The trigger fires automatically at install time via `scripts.postinstall` and again whenever a consumer (e.g. n8n loading this custom node) imports the module.\n","state":0,"publishedAt":"2026-08-12T15:10:14+00:00","modifiedAt":"2026-08-12T15:30:12.1854212+00:00","affected":[{"ecosystem":"npm","name":"@years20/n8n-nodes-utils-helper-a","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@years20/n8n-nodes-utils-helper-a/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13909","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13909","identifiers":["MAL-2026-13909"]},"retained":false,"historicalAffected":[]}],"coverage":[]}