Skip to main content
MalwarePublished

sui-gql-rpc (npm) · Malicious Code

Affects sui-gql-rpcSource GCVE Database

0

Malicious package : remove sui-gql-rpc and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:39 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14209

What to do

Remove sui-gql-rpc from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmsui-gql-rpcAffected
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package sui-gql-rpc version 1.0.1 contains malicious code that executes arbitrary JavaScript on the installer's machine if the installer's git identity matches targeted developer profiles. This code decrypts attacker-controlled payloads using a key derived from the installer's git config email and username, then executes the decrypted code with the installer's Node.js privileges. The malicious payload is designed to avoid execution in CI environments and sandboxes by checking environment variables and silently swallowing errors. The package name impersonates the Sui GraphQL RPC namespace to deceive developers in that ecosystem.

References

Community reviews

Loading reviews…