MAL-2026-14209 Malicious code in sui-gql-rpc (npm)
Malicious package
Published
MAL-2026-14209 is a malicious package: sui-gql-rpc (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-14209/ (Markdown: https://insights.sbomify.com/MAL-2026-14209/index.md)
- Package
- sui-gql-rpc
- Registry
- npm
What is MAL-2026-14209?
MAL-2026-14209 is a malicious package in sui-gql-rpc, published on 19 Aug 2026.
Official description
On require, lib/telemetry.js runs a top-level IIFE that reads the installer's ~/.gitconfig, extracts the configured email addresses and user name, derives an AES-256-GCM key via sha256 over that identity, and attempts to decrypt three multi-kilobyte base64 ciphertext blobs stored in a PROFILES array. On successful decrypt (i.e., when the installer's git identity matches a targeted developer), the plaintext JavaScript is executed on the installer's machine via new Function(code)(). Execution is skipped when common CI environment variables are set (CI, GITHUB_ACTIONS, etc.) and when no git identity is present, and all errors are silently swallowed, ensuring the payload only fires on real developer workstations and remains inert in sandboxes. The package name misappropriates the Sui GraphQL RPC namespace to lure developers in that ecosystem. Because the executed plaintext is fully attacker-controlled JavaScript running in the installer's Node process with the installer's privileges, the effect is arbitrary remote-code execution against selected victims at import time.
What should I do about MAL-2026-14209?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.