Security

@antv npm Attack Hits CI/CD Secrets and Tokens

3 min read

Summary

Microsoft has disclosed an active supply chain attack involving compromised @antv npm packages that used malicious preinstall scripts to steal credentials from GitHub Actions and other CI/CD environments. The campaign matters because it spread through popular downstream dependencies, putting developer pipelines, cloud secrets, and software supply chains at risk.

Need help with Security?Talk to an Expert

Introduction

Microsoft has uncovered a significant npm supply chain attack affecting the @antv package ecosystem. Because these packages are widely used directly and transitively, the compromise can reach far beyond a single project and into CI/CD pipelines, cloud environments, and downstream software builds.

For IT and security teams, this is a reminder that package ecosystem compromises can quickly become credential theft and cloud access incidents.

What happened

A threat actor compromised an @antv maintainer account and published malicious package versions. The malicious code executed during npm install through a preinstall hook and targeted GitHub Actions runners on Linux.

Key technical findings

  • Malicious @antv packages propagated through dependency chains into widely used libraries such as echarts-for-react
  • The payload was heavily obfuscated and designed to evade analysis
  • It executed silently during package installation
  • It focused on CI/CD environments, especially GitHub Actions
  • It installed Bun if needed and launched a second-stage payload

Credentials and secrets targeted

Microsoft says the malware attempted to steal credentials from multiple platforms, including:

  • GitHub tokens and repository secrets
  • AWS credentials and Secrets Manager data
  • HashiCorp Vault tokens
  • npm tokens
  • Kubernetes service account secrets
  • 1Password CLI data

The payload also scraped GitHub Actions runner process memory to extract secrets directly, potentially bypassing normal secret masking protections.

Why this matters for administrators

This is more than a developer issue. If affected packages were installed in enterprise build systems, attackers may have gained access to:

  • Source code repositories
  • CI/CD secrets and pipelines
  • Cloud workloads and infrastructure
  • Package publishing credentials

Microsoft also notes the malware attempted privilege escalation, dual-channel exfiltration, and even SLSA provenance forgery, which undermines trust in software supply chain attestations.

What GitHub did

GitHub responded by:

  • Removing 640 malicious packages
  • Invalidating 61,274 npm granular access tokens with write permissions and 2FA bypass
  • Publishing advisories and issuing Dependabot and npm audit alerts

Administrators should act quickly:

  • Review dependency trees for direct or transitive use of affected @antv packages
  • Identify systems that installed or built these packages during the exposure window
  • Rotate GitHub, npm, AWS, Vault, Kubernetes, and other potentially exposed credentials
  • Audit GitHub Actions workflows, runner logs, and repository changes for suspicious activity
  • Check for unauthorized repos, commits, secrets access, or package publication events
  • Pin known-good package versions and strengthen dependency controls

Bottom line

The @antv compromise shows how a single npm maintainer account takeover can cascade into widespread CI/CD credential theft. Security and DevOps teams should treat any exposure as a potential pipeline and cloud credential incident, not just a package hygiene issue.

Need help with Security?

Our experts can help you implement and optimize your Microsoft solutions.

Talk to an Expert

Stay updated on Microsoft technologies

npmsupply chain securityGitHub ActionsCI/CDcredential theft

Related Posts

Security

Microsoft Digital Defense Report 2026: Key Security Insights

Microsoft's 2026 Digital Defense Report highlights how AI and growing system interconnectedness are reshaping both cyberattacks and defense strategies. The report emphasizes that organizations must secure AI, identities, data, and cloud environments together while improving signal correlation across tools to detect modern threats faster.

Security

Government Cyber Risk in 2026: Microsoft’s 5 Priorities

Microsoft says government agencies were the most targeted sector in 2026, accounting for 27% of observed cyber threat activity. The company urges public-sector leaders to focus on five resilience priorities, including faster response, AI security, bidirectional information sharing, and planning for incidents that spread across suppliers and essential services.

Security

Microsoft Ignite 2026 Security Guide: Key Sessions

Microsoft has published its security guide for Microsoft Ignite 2026, highlighting AI-first security themes, a dedicated Security Pre-Day, and technical sessions focused on securing identities, data, devices, clouds, and AI agents. For IT and security teams, the event offers an early look at Microsoft’s roadmap and practical guidance for building an AI-ready security strategy.

Security

CVE-2026-73570: Zimbra Mail Server Exploitation

Microsoft is tracking active exploitation of CVE-2026-73570, an unauthenticated command injection flaw affecting internet-facing Zimbra mail servers with the optional zimbra-snmp package installed and SNMP notifications enabled. The issue can lead to web shell deployment, privilege escalation, mailbox data theft, and persistent remote access, making immediate patching and configuration review critical for administrators.

Security

Phishing Abuses RMM Tools for Persistent Access

Microsoft security researchers observed phishing campaigns in July 2026 that used a legitimate MSP360 RMM installer disguised as meeting invites, PDF updates, and other lures to gain remote access. Attackers then deployed ConnectWise ScreenConnect for redundant persistence, highlighting the need for tighter controls on remote management tools and better detection of unapproved RMM activity.

Security

Azure DevOps Attack Path Exposed in New DART Report

Microsoft’s latest DART cyberattack report shows how a single compromised identity was used to access Azure DevOps, alter pipelines, and harvest Kubernetes credentials. The case highlights how tightly connected identity, DevOps, and cloud environments can let attackers move far beyond source code, making stronger identity and pipeline controls essential.