Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons

Social Media

Hackers News Hackers News
  • CyberSecurity News
  • Threats
  • Attacks
  • Vulnerabilities
  • Breaches
  • Comparisons
Search the Site
Popular Searches:
technology Amazon AI
Recent Posts
Critical ClamAV Vulnerabilities Let Attackers Trigger DoS
August 11, 2026
Phishing Attack Uses SSL/TLS Certificates to Target WhatsApp Users
August 11, 2026
OpenAI Daybreak Cyber Adds GPT-5.6 for Exploit Validation and Pentesting
August 11, 2026
Home/Threats/Critical antv npm Vulnerability Steals CI/CD Credentials
Threats

Critical antv npm Vulnerability Steals CI/CD Credentials

Key Takeaways A sophisticated supply chain attack, dubbed “Mini Shai-Hulud,” compromised the @antv npm package ecosystem, impacting widely used data visualization libraries. Threat actors...

Jennifer sherman
Jennifer sherman
May 21, 2026 4 Min Read
65 0

Key Takeaways

  • A sophisticated supply chain attack, dubbed “Mini Shai-Hulud,” compromised the @antv npm package ecosystem, impacting widely used data visualization libraries.
  • Threat actors gained access to a maintainer account, publishing malicious versions of packages that automatically executed a payload upon npm install.
  • The malware was designed to steal credentials from GitHub Actions environments and connected cloud services, including AWS, HashiCorp Vault, Kubernetes, npm, and 1Password.
  • Microsoft security researchers identified the campaign, leading to GitHub’s swift action, including the removal of 640 malicious packages and invalidation of over 61,000 npm tokens.
  • The situation has been resolved by @antv account authors, and mitigation steps have been recommended for affected developers.

A highly advanced supply chain attack, dubbed “Mini Shai-Hulud,” has been uncovered, targeting a critical segment of the open-source software landscape. This campaign specifically compromised the @antv npm package ecosystem, a suite of popular data visualization libraries relied upon by developers globally for dashboards and applications.

Table Of Content

  • Key Takeaways
  • Mini Shai-Hulud Compromises @antv npm Packages
  • Credential Theft Across Cloud and CI/CD Environments
  • What You Should Do

The attack was characterized by its stealth and precision, designed to maximize damage before detection. It leveraged a compromised maintainer account within the @antv organization to distribute malicious versions of widely used packages. This strategic compromise allowed the malicious code to propagate downstream into dependent libraries, notably echarts-for-react, which alone boasts over one million weekly downloads. Consequently, a single compromised package could silently infect thousands of developer pipelines almost instantaneously.

Microsoft security researchers were instrumental in identifying and reporting this elaborate campaign, detailing the full extent of the malware’s capabilities. According to a Microsoft report, the malicious payload was an approximately 499 KB obfuscated JavaScript file. It was engineered to execute immediately upon a developer typing npm install, with its primary objective being the exfiltration of credentials from GitHub Actions environments and associated cloud services.

The payload systematically targeted secrets across six distinct platforms: Amazon Web Services, HashiCorp Vault, Kubernetes, npm, and 1Password. It achieved this by directly scraping process memory from the GitHub Actions runner, effectively circumventing standard secret masking protocols. The sophisticated nature of the malware, evident in every layer, indicated a calculated effort to harvest credentials and then vanish without triggering alerts.

Upon notification, GitHub responded decisively, removing 640 malicious packages and invalidating more than 61,000 npm tokens with write permissions. Dependabot alerts and npm audit warnings were subsequently issued to assist developers in identifying and addressing the compromise. The authors of the @antv account have since confirmed that the situation has been fully resolved.

Mini Shai-Hulud Compromises @antv npm Packages

The attack vector was meticulously planned and executed. After successfully gaining unauthorized access to a maintainer account, the threat actor proceeded to publish tainted versions of crucial charting packages. A preinstall hook embedded within these packages ensured that the malicious payload automatically triggered during the npm install process, eliminating the need for developers to execute any additional commands for the infection to commence.

The JavaScript payload employed a dual-layer obfuscation strategy. The initial layer involved 1,732 Base64-encoded strings, randomly shuffled within a rotated array. The second layer utilized a custom cipher, based on PBKDF2 and SHA-256, which only decoded critical strings during runtime. To further evade detection during routine testing, the malware incorporated environment gating, causing it to terminate immediately if not operating within a GitHub Actions Linux environment.

Once activated, the malware utilized two distinct channels for data exfiltration. Its primary method involved an encrypted HTTPS connection to a command-and-control domain on port 443. As a fallback mechanism, it exploited GitHub’s Git Data API to create commits in victim repositories on non-protected branches. At the time of reporting, researchers had identified over 2,200 public repositories created under compromised accounts, serving as a distinct signature of the campaign.

Credential Theft Across Cloud and CI/CD Environments

The breadth of credential theft capabilities exhibited by the malware was notable. For AWS, the payload queried the Instance Metadata Service and invoked SecretsManager across all regions. In the case of HashiCorp Vault, it systematically searched over twelve token paths. For Kubernetes, it was programmed to read service account tokens and enumerate namespace secrets. Furthermore, for 1Password, it even attempted to bypass two-factor authentication to extract master passwords.

Beyond credential exfiltration, the malware also established persistence mechanisms. It installed the Bun runtime to execute a second-stage payload, injected a passwordless sudo rule via a bind mount, and manipulated DNS settings by modifying the hosts file. Additionally, it forged software supply chain provenance attestations through Sigstore, a tactic aimed at lending legitimacy to the malicious packages.

What You Should Do

  • Review your project’s dependency trees for any use of affected @antv packages.
  • Run npm install with the --ignore-scripts flag to prevent automatic execution of malicious scripts.
  • Pin your dependencies to known-good versions of @antv packages, ensuring you are not using compromised releases.
  • Immediately rotate any credentials that may have been exposed, including those for AWS, HashiCorp Vault, Kubernetes, npm, and 1Password.
  • Audit your GitHub accounts for any unexpected public repositories created during the suspected compromise window, as these could indicate an ongoing breach.
  • Implement stricter access controls and multi-factor authentication for all CI/CD environments and package maintainer accounts.

Indicators of Compromise (IoCs):-

Type Indicator Description
Package Scope @antv (whole account) All packages maintained by the antv account were compromised; situation now resolved per account authors
Package Name echarts-for-react Major downstream package impacted by the @antv compromise; situation now resolved per repository authors
SHA-256 a68dd1e6a6e35ec3771e1f94fe796f55dfe65a2b94560516ff4ac189390dfa1c Malicious payload JavaScript file
SHA-256 fb5c97557230a27460fdab01fafcfabeaa49590bafd5b6ef30501aa9e0a51142 Malicious backdoor Python script
Domain t.m-kosche[.]com:443 Infrastructure associated with the Mini Shai-Hulud campaign
File Name Index.js Malicious script or dropped file
File Name cat.py Malicious script or dropped file

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Disclaimer: HackersRadar reports on cybersecurity threats and incidents for informational and awareness purposes only. We do not engage in hacking activities, data exfiltration, or the hosting or distribution of stolen or leaked information. All content is based on publicly available sources.

Tags:

AttackMalwareSecurityThreat

Share Article

Jennifer sherman

Jennifer sherman

Jennifer is a cybersecurity news reporter covering data breaches, ransomware campaigns, and dark web markets. With a background in incident response, Jennifer provides unique insights into how organizations respond to cyber attacks and the evolving tactics of threat actors. Her reporting has covered major breaches affecting millions of users and has helped organizations understand emerging threats. Jennifer combines technical knowledge with investigative journalism to deliver in-depth coverage of cybersecurity incidents.

Previous Post

Flipper Releases Flipper One, a Modular Linux Cyberdeck

Next Post

Law Enforcement Dismantles VPNLab.net, a VPN Service Used by Ransomware Gangs

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts
Critical Vulnerability Lets Attackers Bypass MFA in Windows 11 and Entra ID
August 10, 2026
Critical HP ThinPro TPM Flaw Exposes LUKS Disk Encryption Keys
August 10, 2026
Critical Windows WalletService Bug (CVE-2024-XXXX) Lets Attackers Escalate Privileges
August 10, 2026
Top Authors
Marcus Rodriguez
Marcus Rodriguez
Jennifer sherman
Jennifer sherman
Emy Elsamnoudy
Emy Elsamnoudy
Let's Connect
156k
2.25m
285k

Related Posts

Jennifer sherman
By Jennifer sherman
Threats

GlassWorm Attacks macOS via Malicious VS Code…

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Attacks

ClickFix Attack Hides Malicious Code via Stegan Security

January 1, 2026
Sarah simpson
By Sarah simpson
Vulnerabilities

MongoBleed Detector Tool Released to Detect MongoDB Vulnerability(CVE-2025-14847)

January 1, 2026
Emy Elsamnoudy
By Emy Elsamnoudy
Breaches

Conti Ransomware Gang Leaders & Infrastructure Exposed

January 1, 2026
Hackers News Hackers News
  • [email protected]

Quick Links

  • Contact Us
  • Privacy Policy
  • Terms of service

Categories

Attacks
Breaches
Comparisons
CyberSecurity News
Threats
Vulnerabilities

Let's keep in touch

receive fresh updates and breaking cyber news every day and week!

All Rights Reserved by HackersRadar ©2026

Follow Us