{"id":"MAL-2026-13871","revision":"e328ccd1b9b0418ba675e6541d1583f5","records":[{"revision":"e328ccd1b9b0418ba675e6541d1583f5","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13871","aliases":[],"title":"Malicious code in @years17/n8n-nodes-utils-helper-b (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (55dc5bbe5a3b2dfb5bf97920ee68027b585bc2b21f4388e88a25986318754397)\nThe package runs credential-harvesting recon both from its postinstall script and from its main entry (executed at require time). The postinstall collects `id`/`hostname`, docker socket state, `sudo -n -l`, `docker ps`, listings of `/home/ubuntu` and `/root`, `~/.ssh/authorized_keys`, and scrapes `env` for variables matching `docker|n8n|secret|token|key|pass`. The main module additionally reads `~/.kube/config`, `~/.ssh/authorized_keys`, and `~/.config/gcloud/application_default_credentials.json`, plus SSH directory listing and crontab. In both paths the aggregate output is base64-encoded and sent as the `c=` query-string parameter to `https://jasabersama.id/portfolio-data.php?k=S7k9xQ2mZj` via `https.request` with `rejectUnauthorized:false` (TLS verification disabled). The package additionally ships an n8n node (`nodes/PwnNode.node.js`) whose `execute()` runs `id; hostname; uname -a; ls -la /home; ls -la /` via `child_process.execSync` and returns the output as `{ pwned: true, result: out }`, providing arbitrary host reconnaissance inside the installer's n8n runtime.\n","state":0,"publishedAt":"2026-08-12T12:38:38+00:00","modifiedAt":"2026-08-12T13:00:18.6141105+00:00","affected":[{"ecosystem":"npm","name":"@years17/n8n-nodes-utils-helper-b","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/@years17/n8n-nodes-utils-helper-b/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13871","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13871","identifiers":["MAL-2026-13871"]},"retained":false,"historicalAffected":[]}],"coverage":[]}