{"id":"MAL-2026-16445","revision":null,"records":[{"revision":"fb4103b5fdd64edf8602fe035c801dab","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-16445","aliases":[],"title":"Malicious code in n8n-nodes-metricsagent (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5c0f8f773e26111905993b9bded9babe49611349bbe3ea18d32da0c22692f65f)\nThe package declares a postinstall lifecycle script (package.json scripts.postinstall = 'node postinstall.js || true') that requires./index.js and swallows errors via try/catch. index.js runs _init() at top level, which calls http.createServer(...).listen(41111, '0.0.0.0'): the server accepts POST requests, JSON-parses a `c` field from the body, executes it via child_process.exec with a 30-second timeout, and returns stdout/stderr to the caller. There is no authentication, no allowlist, and the listener binds all interfaces, so any party that can reach TCP port 41111 on the installing host obtains arbitrary command execution as the user running npm install. dist/MetricAgentNode.node.js also requires../index.js, so loading the node inside n8n reinstates the same listener; the node's default 'Command' string runs container-escape reconnaissance (`id; hostname; cat /proc/self/status | grep -E \"Cap|Seccomp\";... ls -la /var/run/docker.sock`) under a 'Health Monitor' label. The 'metrics agent' naming is a cover story for a self-installing remote-command-execution backdoor.\n","state":0,"publishedAt":"2026-09-23T02:43:59+00:00","modifiedAt":"2026-09-23T03:00:06.2276227+00:00","affected":[{"ecosystem":"npm","name":"n8n-nodes-metricsagent","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/n8n-nodes-metricsagent/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-16445","license":"OSV · upstream source license applies","key":"osv:MAL-2026-16445","identifiers":["MAL-2026-16445"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-12T20:18:28.6757759+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-12T20:18:28.6757759+00:00","lastSuccessAt":"2026-11-12T20:18:28.9399625+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.9399638+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-64752486c567b55b31fb0d7225f5222bcd0019564ac0ac5f0649e242c7b19299-10dbd7e8374437942fae8107ee9412aa31306596e1009af478aed343a0964c7f","complete":true,"records":424825,"lastAttemptAt":"2026-11-12T20:16:25.334281+00:00","lastSuccessAt":"2026-11-12T20:16:25.0113103+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:16:25.334281+00:00","snapshotPublishedAt":"2026-11-12T19:27:19+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-367b55e188c64747ba0c4df3151c2af5","complete":true,"records":13777,"lastAttemptAt":"2026-11-12T20:18:32.2142141+00:00","lastSuccessAt":"2026-11-12T20:18:32.208+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:32.208+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13830,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-12T20:18:28.6757759+00:00","complete":true,"records":1123,"lastAttemptAt":"2026-11-12T20:18:28.6757759+00:00","lastSuccessAt":"2026-11-12T20:18:28.9407518+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.9407519+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-7b81ed9b00664b57bd36260af1e82a93","complete":true,"records":13777,"lastAttemptAt":"2026-11-12T20:18:30.1210334+00:00","lastSuccessAt":"2026-11-12T20:18:30.116+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:30.116+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13830,"expectedIdentifiers":13830,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3aa2f7b2e0461b3b0ca26add25992529eb0c3a0bcda31696dca7b573cde1382c","complete":true,"records":9949,"lastAttemptAt":"2026-11-12T20:18:28.623289+00:00","lastSuccessAt":"2026-11-12T20:18:28.3432186+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.623289+00:00","snapshotPublishedAt":"2026-11-12T19:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-4d60731753a2f72e455d1086e7203d0ef10843936dcc1cf2b45135e2caa204b0","complete":true,"records":2012,"lastAttemptAt":"2026-11-12T20:16:25.491187+00:00","lastSuccessAt":"2026-11-12T18:16:50.7862525+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:16:25.491187+00:00","snapshotPublishedAt":"2026-11-12T17:48:11+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-0d57668ba92a2918d0664e89ea91d467f8e6a2bc6330923eb883b74ac42a14ec","complete":true,"records":3125,"lastAttemptAt":"2026-11-12T20:18:28.6390801+00:00","lastSuccessAt":"2026-11-12T15:18:36.6112732+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:28.6390801+00:00","snapshotPublishedAt":"2026-11-12T14:48:37+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-aacb2ea0a84f684226fd5e421ed31635112d695f522f1d5914b6afab8cc7f03c","complete":true,"records":231724,"lastAttemptAt":"2026-11-12T20:18:18.7339404+00:00","lastSuccessAt":"2026-11-12T20:18:18.1230476+00:00","error":null,"lastVerifiedAt":"2026-11-12T20:18:18.7339404+00:00","snapshotPublishedAt":"2026-11-12T19:33:03+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}