MAL-2026-3979

    Dashboard / Malicious Package / MAL-2026-3979

    MAL-2026-3979

    Published: 19 May 2026Last Modified: 19 May 2026

    Summary: Malicious code in @antv/g2-ssr (npm)

    Details: Part of the **Mini Shai-Hulud** supply chain attack campaign in which a threat actor compromised the npm account `atool` and published 631 malicious versions across 314 npm packages in an automated 22-minute burst. Each malicious version injects a `preinstall` hook that executes a 498KB obfuscated Bun script, using the GitHub API as a covert exfiltration channel. Credentials are committed to attacker-controlled repositories following Dune-themed naming patterns (e.g., `harkonnen-melange-742`). Stolen data includes AWS keys, GitHub PATs, npm tokens, GCP service accounts, Azure credentials, Kubernetes service account tokens, SSH keys, Docker auth configs, database connection strings, Stripe keys, and Slack tokens. Malicious versions also establish persistence via CI/CD workflow injection (a GitHub Actions workflow named `Run Copilot` dumps all secrets via `toJSON(secrets)`), AI agent session hooks, and a system daemon named `kitty-monitor`. This specific package (`@antv/g2-ssr`) was modified to include a malicious `preinstall` hook executing the obfuscated Bun payload. Source: amazon-inspector (299e27f7c45d1e84a8f87fedab95fb6b84957234e40d452b13bdba61c74e7eab) The package @antv/g2-ssr was found to contain malicious code. Source: google-open-source-security (847ef6b381d410bf176f7414a6f0fbbcf46a5f39b6d9011e126b279bd2d781df) This package was compromised as part of the ongoing "Mini Shai-Hulud is back" worm by the TeamPCP threat actor. The package will steal credentials and then propogate it to every package it has access to. The package also attempts to remain persistent.

    Affected packages

    Package

    Name: @antv/g2-ssr

    Purl: pkg:npm/%40antv%2Fg2-ssr

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    0.3.0
    MAL-2026-3979 | CVE-DB