{"id":"MAL-2026-10999","revision":"c996b370e3934a8ba70d35372b2caafe","records":[{"revision":"c996b370e3934a8ba70d35372b2caafe","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10999","aliases":[],"title":"Malicious code in n8n-nodes-task-runner (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (991093c97f0d954740c4b72a2e7725a501df211c94634979ebadc52652f2ebe8)\nThe package impersonates the n8n task-runner subsystem but its shipped n8n node (MyNode.js) is a no-op stub whose execute() returns [[]]. The real payload lives in index.js (the package main), which runs a recon() function on module load. recon() reads ~/.aws/credentials, ~/.config/gcloud/application_default_credentials.json, ~/.azure/accessTokens.json, kubeconfig files, the Kubernetes service-account token, ~/.ssh/id_* and authorized_keys, and environment variables matching token/key/secret/pass/auth/aws/gcp/azure/npm/github/gitlab. It also shells out via curl and child_process to run id, ps aux, and read /proc/mounts, /proc/net/route, /etc/resolv.conf, /proc/1/cgroup, and arp; probes cloud instance-metadata services at 169.254.169.254 and metadata.google.internal; TCP-scans internal targets including the Docker API at 172.17.0.1:2375, an internal GKE API at 10.0.42.16:6443, Jenkins, and Kubernetes API endpoints; and enumerates /var/run/docker.sock. The aggregated JSON is POSTed to a hardcoded webhook.site collector at https://webhook.site/31b8dedb-f324-475f-8ffa-2b84878f4961. The n8n node stub exists only to make the package look like a legitimate community node while the credential stealer executes at require time.\n","state":0,"publishedAt":"2026-07-22T20:24:15+00:00","modifiedAt":"2026-07-28T14:37:04.725688+00:00","affected":[{"ecosystem":"npm","name":"n8n-nodes-task-runner","ranges":[],"versions":["1.0.16","1.0.1","1.0.7","1.0.9","1.0.4","1.0.2","1.0.3","1.0.6","1.0.8","1.0.0","1.0.5","1.0.15","1.0.11","1.0.13","1.0.12","1.0.10","1.0.14"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.16","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.1","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.7","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.9","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.4","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.2","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.3","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.6","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.8","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.0","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.5","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.15","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.11","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.13","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.12","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.10","https://www.npmjs.com/package/n8n-nodes-task-runner/v/1.0.14"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10999","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10999","identifiers":["MAL-2026-10999"]},"retained":false,"historicalAffected":[]}],"coverage":[]}