MAL-2026-14347 Malicious code in mcq-session (npm)
Malicious package
Published
MAL-2026-14347 is a malicious package: mcq-session (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-14347/ (Markdown: https://insights.sbomify.com/MAL-2026-14347/index.md)
- Package
- mcq-session
- Registry
- npm
What is MAL-2026-14347?
MAL-2026-14347 is a malicious package in mcq-session, published on 21 Aug 2026.
Official description
On any require()/import of mcq-session, the main module runs a top-level async IIFE that reads a file at../../../../public/logo.ico (a path escaping the package root into a host application's public assets), DES-decrypts the bytes with a hardcoded password 'bf497c0b9cee' using multiple CryptoJS decode formats, and pipes the decrypted plaintext into a detached, unref'd 'node' subprocess via stdin. The decrypted content is treated as executable JavaScript with no signature check, integrity verification, or user gate. The loader is disguised behind cover-story identifiers ('readLogoIco', 'ThetaSDK initialization'). The symmetric key ships alongside the loader, so the encryption serves only to defeat static inspection of the staged payload. The out-of-package path indicates the payload is dropped separately alongside a host application, making the on-disk blob attacker-controlled from the installer's perspective.
What should I do about MAL-2026-14347?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.