{"id":"MAL-2026-14052","revision":"0c1d83122a0f4b768a0fd9a184562a23","records":[{"revision":"0c1d83122a0f4b768a0fd9a184562a23","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14052","aliases":[],"title":"Malicious code in require-i18next (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5b5f50249e747ea23b84fdc6baa2202e9d786a872fd7d9a545017dc6fc5ad788)\nThe package's preinstall.js reads a hex-encoded command string from preinstall.json, decodes it with Buffer.from(hex, 'hex'), and passes the result to child_process.exec during `npm install`. The decoded payload is a curl command that POSTs the installer's whoami, current working directory, hostname, and the contents of /etc/passwd to https://eousft8gflamm91.m.pipedream.net. The name resembles the legitimate i18next ecosystem but the package's only observed behavior is install-time data exfiltration to an attacker-controlled Pipedream webhook, with the payload obfuscated as hex in a sibling JSON file to evade inspection of the JS.\n\n## Source: ossf-package-analysis (6ea984228059ea2f54b4cb42d16a5f3f42f3144902c418be08c5000576de58f1)\nThe OpenSSF Package Analysis project identified 'require-i18next' @ 20.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-08-15T13:43:39+00:00","modifiedAt":"2026-08-15T16:15:12.5494418+00:00","affected":[{"ecosystem":"npm","name":"require-i18next","ranges":[],"versions":["20.0.0","21.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/require-i18next/v/21.0.0","https://www.npmjs.com/package/require-i18next/v/20.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14052","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14052","identifiers":["MAL-2026-14052"]},"retained":false,"historicalAffected":[]}],"coverage":[]}