{"id":"MAL-2026-17228","revision":"ace768c20bbb47418c285d6e14e2b443","records":[{"revision":"ace768c20bbb47418c285d6e14e2b443","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-17228","aliases":[],"title":"Malicious code in nebulaai-sdk (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (dc906b81107141fbd85dcabf89fd2f5112c4e4a134045c90d6a35abb4b67d16e)\nThe package's `preinstall.js` contains a base64+zlib-encoded 257 KB Windows PE executable. On `npm install` on Windows, the script decodes the blob and writes it to `%LOCALAPPDATA%\\Microsoft\\Conhost\\conhost.exe` — a path and filename that impersonates a legitimate Windows console host binary — then spawns it via `child_process.spawn` with `detached: true`, `stdio: 'ignore'`, and `windowsHide: true`, so execution is silent and survives the npm process. The decoded PE contains a section named `.kntrat` and references the external host `65.87.7.132` and the repository `github.com/syskiel/kntrat-e`, indicating remote command-and-control functionality (RAT-shaped naming). The package has no legitimate SDK functionality visible; the preinstall hook exists solely to stage and run the embedded executable. Installing this package on a Windows host results in full arbitrary code execution under the installing user, with a masqueraded persistent binary staged under LOCALAPPDATA and a C2 endpoint reachable at 65.87.7.132.\n","state":0,"publishedAt":"2026-09-28T18:08:06+00:00","modifiedAt":"2026-09-28T18:30:06.67757+00:00","affected":[{"ecosystem":"npm","name":"nebulaai-sdk","ranges":[],"versions":["1.0.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/nebulaai-sdk/v/1.0.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-17228","license":"OSV · upstream source license applies","key":"osv:MAL-2026-17228","identifiers":["MAL-2026-17228"]},"retained":false,"historicalAffected":[]}],"coverage":[]}