Is @antv/g6 safe?
Versions 5.2.1 and 5.3.1 of @antv/g6 were compromised (maintainer token compromise). Other versions are not flagged as malicious.
Do not install @antv/g6 5.2.1 or 5.3.1
CRITICALanalyst verifiedMaintainer token compromise, part of the mini_shai_hulud_antv_2026_05_19 campaign. Confirmed 2026-05-19, verified by a CyberXYZ analyst.
Mini-Shai-Hulud: maintainer-token compromise in AntV ecosystem, 2026-05-19 disclosed by Endor Labs. Payload: credential exfil (GitHub/npm/GCP/AWS/Vault tokens) → filev2.getsession[.]org over TCP/443; persistence via .claude/settings.json + .vscode/tasks.json hooks; OIDC token minting + Sigstore provenance forgery.
- Malicious
- 5.2.1, 5.3.1
- Move to
- 5.1.1 newest 5.x release, no known advisory
If one of these versions was installed, remove it and treat the credentials, tokens and SSH keys on that machine as exposed: rotate them. Check CI runners and container images that installed it too.
npm install @antv/g6@5.1.1
Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.
Checked 2026-10-23 at 18:45 UTC. Updated continuously from NVD, GHSA, OSV and CNA feeds.