# MAL-2026-3921: Malicious code in @antv/g-lite (npm)


- **Type:** Malicious package
- **Package:** `@antv/g-lite` (npm)
- **Published:** 19 May 2026
- **Also known as:** GHSA-7px4-955f-q8p5

## What is MAL-2026-3921?

MAL-2026-3921 is a malicious package in @antv/g-lite, published on 19 May 2026. 

### Official description

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/g-lite`) was modified to include a malicious `preinstall` hook executing the obfuscated Bun payload.

The package @antv/g-lite was found to contain malicious code.

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

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.

## What should I do about MAL-2026-3921?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-3921 is a malicious package: @antv/g-lite (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-3921/ (Markdown: https://insights.sbomify.com/MAL-2026-3921/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-3921

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-3921/
Summaries are generated and may contain mistakes; the official description above is the record.
