Malicious code in basic-vite (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-11131
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ab736217e52ecd2e4aa966da6192e434d69f7d34cc5b7a1ce72c6c6ece6aff56) package.json declares `preinstall: node index.js`, so `npm install basic-vite` auto-executes index.js. The script collects host identity data (hostname, username, home directory, DNS servers, current working directory, package.json contents) and reads /etc/passwd and /etc/hosts, then POSTs the collected payload over HTTPS to the hardcoded Burp Collaborator subdomain md3wko7hlcmvfsq16xh2higublhc53ts.oastify.com. The package name suggests a Vite-related utility, but no such functionality is present; the sole behavior is install-time data exfiltration to an attacker-controlled out-of-band interaction host.
- Source published
- 28 Jul 2026 13:32:35 UTC
- Source modified
- 28 Jul 2026 14:37:23 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.