MAL-2026-14210 Malicious code in sui-graphql-rpc (npm)
Malicious package
Published
MAL-2026-14210 is a malicious package: sui-graphql-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-14210/ (Markdown: https://insights.sbomify.com/MAL-2026-14210/index.md)
- Package
- sui-graphql-rpc
- Registry
- npm
What is MAL-2026-14210?
MAL-2026-14210 is a malicious package in sui-graphql-rpc, published on 19 Aug 2026.
Official description
On require('sui-graphql-rpc'), index.js loads lib/telemetry.js which reads ~/.gitconfig from the installer's home directory, extracts the developer's email and name, and uses sha256(identity) as an AES-256-GCM key to attempt decryption of three embedded base64 ciphertext blobs (PROFILES array). Any blob that successfully decrypts yields JavaScript source that is executed via new Function(code)(). Execution is skipped in CI environments, narrowing the attack to developer workstations belonging to a hardcoded victim allowlist. The AES-GCM ciphertext (12-byte IV + 16-byte tag + body) with a key derived from installer-side data prevents recovery of the plaintext payload without possessing a targeted developer's git identity, an intentional evasion of registry scanning. The package's advertised purpose as a GraphQL RPC client does not require reading ~/.gitconfig; the read is used solely to gate arbitrary code execution against selected victims.
What should I do about MAL-2026-14210?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.