{"id":"MAL-2026-14183","revision":"9b64f8af6b6945c1892b575db1f1176f","records":[{"revision":"9b64f8af6b6945c1892b575db1f1176f","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14183","aliases":[],"title":"Malicious code in lodhash-cli (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (73ad64f6c3a93b504c64c10175e325463652fafd741c36cfad433bed93f24cc8)\nlodhash-cli is a lodash-typosquat whose main entry (index.js) exports an empty object; the package's only behavior is a postinstall dropper. scripts/postinstall.js XOR-decodes (key 'stf2026') a URL pointing at github.com/bebraz1/qPzM50V1AKG0rVlH/releases/.../main.exe, downloads the binary to %TEMP%\\main.exe, and spawns it detached with windowsHide. When running under WSL (detected via /proc/version, /proc/sys/kernel/osrelease, WSL_DISTRO_NAME), it XOR-decodes a powershell.exe command line and executes it via child_process.exec to run the same fetched binary on the Windows host from inside the Linux subsystem. In parallel, the script POSTs a platform label to http://193.70.34.101:20099/vote (host assembled by joining ['193','70','34','101'] to evade literal-string detection), a plain-HTTP install-success beacon. URLs and shell commands are stored as XOR-encoded byte arrays and reconstructed at runtime; no hash or signature verification is performed on the fetched executable. The download source is a personal GitHub account unrelated to any lodash publisher, and the package advertises no functionality other than the dropper.\n","state":0,"publishedAt":"2026-08-19T00:00:48+00:00","modifiedAt":"2026-08-19T00:30:13.2497019+00:00","affected":[{"ecosystem":"npm","name":"lodhash-cli","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/lodhash-cli/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14183","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14183","identifiers":["MAL-2026-14183"]},"retained":false,"historicalAffected":[]}],"coverage":[]}