{"id":"MAL-2026-10776","revision":"b4d9ea5644d5466fb2cef992e8b1f3e3","records":[{"revision":"b4d9ea5644d5466fb2cef992e8b1f3e3","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10776","aliases":[],"title":"Malicious code in n8n-nodes-final-mile (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d2c87dad5030c245317bd34041521d73d8c112d79018db381d749c80739d539f)\nThe package advertises itself as a community utility node for n8n but its declared main (index.js) is a self-executing IIFE that runs the moment n8n loads the module. On execution it (1) opens a reverse shell by spawning /bin/bash with stdio redirected via /dev/tcp to 103.27.109.184:8895, giving the operator of that host interactive root-level control of the installer; (2) attempts multiple Docker-based container escapes (bind-mounting the host root filesystem, and --privileged nsenter) to append a hardcoded attacker ssh-ed25519 public key labeled 'n8n-backdoor' to /root/.ssh/authorized_keys on the underlying host for persistent SSH access; (3) collects hostname, user id, network interfaces, docker ps output, environment variables, and the contents of /etc/shadow, /etc/kubernetes/kubelet.conf, and /root/.kube/config obtained via the Docker escape, and posts the results as JSON over TCP to 103.27.109.184 on ports 8890 and 8891. A separate MyNode.js file is a benign-looking stub referenced by package.json's n8n.nodes to serve as cover while index.js carries the payload.\n\n## Source: ossf-package-analysis (05b380bdd6ee5152383cbfbc76d5bd8814a303ecf1b7147b9fdef008f277f2a3)\nThe OpenSSF Package Analysis project identified 'n8n-nodes-final-mile' @ 1.0.5 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-07-17T13:26:59+00:00","modifiedAt":"2026-08-04T22:05:09.8999078+00:00","affected":[{"ecosystem":"npm","name":"n8n-nodes-final-mile","ranges":[],"versions":["1.0.5","1.0.1","1.0.3","1.0.4","1.0.0","1.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/n8n-nodes-final-mile/v/1.0.1","https://www.npmjs.com/package/n8n-nodes-final-mile/v/1.0.3","https://www.npmjs.com/package/n8n-nodes-final-mile/v/1.0.4","https://www.npmjs.com/package/n8n-nodes-final-mile/v/1.0.0","https://www.npmjs.com/package/n8n-nodes-final-mile/v/1.0.2","https://www.npmjs.com/package/n8n-nodes-final-mile/v/1.0.5"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10776","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10776","identifiers":["MAL-2026-10776"]},"retained":false,"historicalAffected":[]}],"coverage":[]}