MAL-2026-15548 Malicious code in 2fasecretkey (npm)
Malicious package
Published
MAL-2026-15548 is a malicious package: 2fasecretkey (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-15548/ (Markdown: https://insights.sbomify.com/MAL-2026-15548/index.md)
- Package
- 2fasecretkey
- Registry
- npm
What is MAL-2026-15548?
MAL-2026-15548 is a malicious package in 2fasecretkey, published on 29 Aug 2026.
Official description
On npm install, the package's postinstall script performs an HTTP GET to http://185.14.92.233:7777/p.js, writes the response to a temp file, and launches it through a detached wscript.exe invocation of a VBS stager that runs the installer's Node executable against the downloaded payload with the window hidden (WScript.Shell.Run flag 0, detached, stdio ignored). The fetch uses plain HTTP against a hardcoded bare IP with no version pinning, hash check, or signature verification, and the executed code is not shipped in the tarball. The package's advertised purpose is a TOTP helper, which has no functional need to fetch or execute remote code at install time. The hidden-window VBS launcher conceals execution from the installing user.
What should I do about MAL-2026-15548?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.