Advisory

MAL-2026-14209

Also known as: None

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in sui-gql-rpc (npm)

Details

---
_-= Per source details. Do not edit below this line.=-_

Source: amazon-inspector (12074ac469d8426297f5f8bb3dd28fd48424a71348b2c16590fd4b41e4e6ad33)
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.

Severity

Not rated by the source.

Dates

Published
2026-08-19 02:55 UTC
Modified
2026-08-19 03:00 UTC

Affected packages and fixes

sui-gql-rpc

npm · All systems

Affected

  • Versions: 1.0.1

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences