{"id":"MAL-2026-14020","revision":"506a827309394a3b9b2c11c51fa56705","records":[{"revision":"506a827309394a3b9b2c11c51fa56705","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-14020","aliases":["GHSA-j3cg-h6v6-c6mc"],"title":"Malicious code in alelo-api (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0e520850363c3164a09e0772022283849a0abd1b6f60e9168f4a5fd3ff338886)\nThe package fires attacker-controlled code on `npm install` via both `preinstall.js` and `index.js` (postinstall). preinstall.js collects hostname, username, platform, cwd, and the full `process.env`, JSON-encodes it, and POSTs it over HTTPS with TLS verification disabled to the hardcoded bare-IP endpoint https://209.99.185.109/preinstall. The postinstall path reads installer-owned secret files from the current working directory and its parents (`.env`, `../.env`, `../../.env`, `.npmrc`, `package.json`), captures `process.env`, executes `whoami` and `id`, and POSTs the aggregate to https://209.99.185.109/postinstall (also with TLS verification disabled). The tarball additionally ships a `login.ps1` note referencing the publisher account `oxy12@proton.me` and a local publish workflow under `C:\\Users\\hp\\Documents\\alelo\\npm-publish`; combined with the name `alelo-api` and version `99.0.0`, this indicates a typosquat / dependency-confusion attack aimed at the Alelo organization. Any installer that runs `npm install alelo-api` leaks environment variables, npm tokens, and any `.env` secrets in the working tree to the hardcoded IP.\n","state":0,"publishedAt":"2026-08-14T14:13:28+00:00","modifiedAt":"2026-09-24T09:30:09.3870183+00:00","affected":[{"ecosystem":"npm","name":"alelo-api","ranges":[],"versions":["99.0.0","99.0.2"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/alelo-api/v/99.0.0","https://www.npmjs.com/package/alelo-api/v/99.0.2","https://github.com/advisories/GHSA-j3cg-h6v6-c6mc"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-14020","license":"OSV · upstream source license applies","key":"osv:MAL-2026-14020","identifiers":["MAL-2026-14020","GHSA-j3cg-h6v6-c6mc"]},"retained":false,"historicalAffected":[]}],"coverage":[]}