{"id":"MAL-2026-13631","revision":"5e758949fdf847deb1a7d4ef98dd06bf","records":[{"revision":"5e758949fdf847deb1a7d4ef98dd06bf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13631","aliases":[],"title":"Malicious code in localization-fixer (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (72446c1307e81047c64d819d3485fa77062061c8c9d4d0b38b42e311137c8701)\nOn require of the package's main entry, a top-level `if (isServer) syncLanguageSystem()` fetches a JSON payload from https://api.jsonbin.io/v3/b/6a764665da38895dfec7cd5d and executes the returned `record.value` field as JavaScript, both by writing it to a temp file and running it via `child_process.fork` and via `new Function('require', payload)(require)` in a separate module-load IIFE that pulls https://api.jsonbin.io/v3/b/6a718a58da38895dfeb6e2ed. Both sinks pass the Node `require` to the constructed function, granting full Node capabilities to whatever the mutable jsonbin.io bin currently serves. Function and variable names (`syncLanguageSystem`, `LANG_SOURCE`, `lang_pass_key`) frame the fetch-and-exec as a localization-sync feature, but the advertised purpose of the package has no need to evaluate remote bytes. The jsonbin.io bins are attacker-mutable, so the payload delivered to any installer is arbitrary and can change at any moment.\n","state":0,"publishedAt":"2026-08-08T00:51:34+00:00","modifiedAt":"2026-08-08T01:05:00.0236166+00:00","affected":[{"ecosystem":"npm","name":"localization-fixer","ranges":[],"versions":["1.1.1","1.0.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/localization-fixer/v/1.1.1","https://www.npmjs.com/package/localization-fixer/v/1.0.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13631","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13631","identifiers":["MAL-2026-13631"]},"retained":false,"historicalAffected":[]}],"coverage":[]}