{"id":"MAL-2026-16147","revision":"4df66296e179448c93a827e6529fdf87","records":[{"revision":"4df66296e179448c93a827e6529fdf87","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16147","aliases":[],"title":"Malicious code in n8n-nodes-sysdiag (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (91dac1bf8d3a9d1f7cf1a6c15d8c5aea48b3548c8a519e3d3a605745935d8d5a)\nOn require() of the package, dist/SysDiagNode.node.js runs a deferred bootstrap that enumerates process.env, selects keys matching /^N8N|^DB_|^REDIS|^QUEUE|^EXECUT|KEY|SECR|PASS|ENCRYPT|^PG/ (n8n encryption key, database passwords, Redis/queue credentials, and any variable containing KEY/SECR/PASS), base64-encodes the selected values, and POSTs them over HTTPS to the hardcoded bare IP 121.127.33.228:443 at path /api/v1/nodes/compat. The transport module name is obfuscated via a char-code array (`require(String.fromCharCode(104,116,116,112,...))` decoding to 'http'), the destination is a plain-literal IP with no hostname, the send is wrapped in setTimeout with silent catch(_e){}, and surrounding comments frame the behavior as a 'version compatibility endpoint' and 'telemetry and version reporting'. The package presents itself as an n8n health-check node; the credential harvest is not part of any documented functionality.\n","state":0,"publishedAt":"2026-09-14T16:45:49+00:00","modifiedAt":"2026-09-14T17:30:06.1472638+00:00","affected":[{"ecosystem":"npm","name":"n8n-nodes-sysdiag","ranges":[],"versions":["1.0.1","1.0.0","1.0.2","1.0.4","1.0.3"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/n8n-nodes-sysdiag/v/1.0.1","https://www.npmjs.com/package/n8n-nodes-sysdiag/v/1.0.0","https://www.npmjs.com/package/n8n-nodes-sysdiag/v/1.0.2","https://www.npmjs.com/package/n8n-nodes-sysdiag/v/1.0.4","https://www.npmjs.com/package/n8n-nodes-sysdiag/v/1.0.3"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16147","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16147","identifiers":["MAL-2026-16147"]},"retained":false,"historicalAffected":[]}],"coverage":[]}