MAL-2026-11131 Malicious code in basic-vite (npm)
Malicious package
Published
MAL-2026-11131 is a malicious package: basic-vite (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-11131/ (Markdown: https://insights.sbomify.com/MAL-2026-11131/index.md)
- Package
- basic-vite
- Registry
- npm
What is MAL-2026-11131?
MAL-2026-11131 is a malicious package in basic-vite, published on 28 Jul 2026.
Official description
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.What should I do about MAL-2026-11131?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.