OpenSSF/OSV advisory MAL-2026-11131 confirms this npm version as malicious. 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...
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in basic-vite (npm)
Details
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.
Decision reason
OpenSSF Malicious Packages via OSV confirms basic-vite@1.0.0 as malicious (MAL-2026-11131): Malicious code in basic-vite (npm)