MAL-2026-10404 Malicious code in @ica-gaming/slot-engine (npm)
Malicious package
Published
MAL-2026-10404 is a malicious package: @ica-gaming/slot-engine (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-10404/ (Markdown: https://insights.sbomify.com/MAL-2026-10404/index.md)
- Package
- @ica-gaming/slot-engine
- Registry
- npm
What is MAL-2026-10404?
MAL-2026-10404 is a malicious package in @ica-gaming/slot-engine, published on 13 Jul 2026.
Official description
The package presents itself as a deterministic WASM slot-math engine, but slot_engine.wasm embeds obfuscated Node.js modules and Emscripten JS shim helpers that implement a full remote-access and credential-theft toolkit against the consumer host. On invocation, an embedded module opens a Node
require/createRequire context, POSTs an installer-identifying id to a remote HTTPS endpoint on a jittered polling loop, and executes the returned code via new Function(code)(require) — giving the operator arbitrary code execution on every poll. WASM-imported helpers additionally: download a Windows .exe installer over HTTPS (following redirects) to a temp path and spawn it detached with the silent-install flag /S; fetch and extract a macOS .pkg via xar -x; and write #!/bin/sh + exec node polyglot wrapper scripts with mode 0755. Separate helpers enumerate Chromium-family and Firefox-family browser profile directories (Chrome, Brave, Edge, Opera, Vivaldi, Chromium, Firefox, Waterfox, LibreWolf, Pale Moon) for Login Data / logins.json / Cookies / Local Storage / IndexedDB / extension wallet stores, walk the home directory for wallet/keystore/.dat files, and read shell-history dotfiles, then package matching content for exfiltration through the C2 channel. The Emscripten shim and both embedded ES modules are obfuscator.io-transformed (rotated base64 string arrays, dispatchers, arithmetic-noise constants, self-defending IIFE); legitimate Emscripten output is not obfuscated. Cover strings such as 'Compiling engine dependencies. This may take a while on initial startup…' are embedded to disguise payload staging as normal engine initialization.What should I do about MAL-2026-10404?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.