Friday, September 11, 2026

Grafana Confirms TanStack npm Supply Chain Attack Led to GitHub Repository Cloning

Grafana Labs has confirmed that a recent supply chain attack involving the TanStack npm ecosystem resulted in the cloning of its internal GitHub repositories. However, it did not compromise customer production systems or the Grafana Cloud platform.

This disclosure follows a thorough internal investigation completed on May 27, 2026, as well as an independent forensic review conducted by Mandiant, which found no evidence of code tampering, repository poisoning, or malicious modifications in publicly distributed software.

The incident is attributed to the “Mini Shai-Hulud” campaign. It highlights the increasing risks of credential leakage and abuse in modern CI/CD pipelines and open-source supply chains.

Grafana Confirms TanStack npm Supply Chain Attack

The attack began on May 11, when malicious code was executed on self-hosted GitHub runners, exposing sensitive credentials. Although the company initially rotated all credentials it believed were compromised, a single overlooked token allowed the threat actor to regain access several days later.

By May 14, the attackers had exploited this credential to commit unauthorized changes and to initiate large-scale repository cloning. Data exfiltration began shortly thereafter, culminating in a ransom demand issued on May 16, in which the attacker threatened to leak the stolen codebase.

Grafana Labs chose not to comply with the extortion attempt, in line with established law enforcement guidance discouraging ransomware payments. While most of Grafana’s codebase is open source, the exfiltrated data included private repositories containing internal tools, operational data, and limited business contact information, such as professional email addresses.

The company emphasized that this data was not sourced from production environments or customer systems, and no user data was accessed or impacted.

In response to the incident, Grafana initiated a comprehensive incident response process that included immediately suspending all GitHub applications, implementing a global code freeze, and rotating credentials across its infrastructure.

Security teams conducted a cross-platform audit of GitHub, Vault, Okta, Kubernetes, AWS, and GCP environments to validate system integrity and confirm containment. The company also reverted all unauthorized changes and identified the full attack chain within 48 hours of confirming the breach.

The scale of the remediation effort was significant, involving thousands of manual and automated security reviews. Engineering teams audited hundreds of GitHub applications, reduced excessive permissions, and scanned over a thousand repositories for indicators of compromise. Critical repositories underwent intensive pull request validation to detect unauthorized modifications.

At the same time, legacy systems were retired to minimize the attack surface. Grafana also implemented stricter access controls and initiated a broader audit of identity and access management policies.

As part of its long-term security improvements, Grafana introduced a token-broker system to enforce short-lived, fine-grained credentials, thereby reducing reliance on static secrets.

The company transitioned to more secure artifact management workflows, limiting direct integrations with external registries like Docker Hub in favor of controlled environments, such as Google Cloud Artifact Registry. Additional measures include enhanced alerting, static code analysis, and segmentation of GitHub organizations to isolate archived or inactive repositories.

This incident underscores a critical lesson in supply chain security: even a single missed credential can have significant downstream impacts.

While Grafana successfully contained the breach without any customer impact, the attack demonstrates how threat actors are increasingly targeting CI/CD pipelines and developer tooling to gain access to high-value environments.

With independent validation from Mandiant confirming the absence of code manipulation, this incident stands as a notable example of effective incident response, transparency, and post-incident hardening in the face of a modern supply chain threat.

Follow us on Google NewsLinkedIn, and X to Get Instant Updates and Set GBH as a Preferred Source in Google.

Divya
Divya
Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Hot this week

How To Access Dark Web Anonymously and know its Secretive and Mysterious Activities

What is Deep Web The deep web, invisible web, or...

How to Build and Run a Security Operations Center (SOC Guide) – 2023

Today’s Cyber security operations center (CSOC) should have everything...

Russian Hackers Bypass EDR to Deliver a Weaponized TeamViewer Component

TeamViewer's popularity and remote access capabilities make it an...

Web Server Penetration Testing Checklist – 2026

Web server pentesting is performed under three significant categories: identity,...

ATM Penetration Testing – Advanced Testing Methods to Find The Vulnerabilities

ATM Penetration testing, Hackers have found different approaches to...

Researchers Uncover 10,000+ Malware Loaders Behind YouTube and SEO Poisoning Campaign

A long-running pay-per-install (PPI) operation that used YouTube gaming...

VLC Media Player Flaws Let Attackers Corrupt Memory and Leak Sensitive Data

Two security vulnerabilities in VLC media player versions 3.0.0...

CISA Adds Exploited MikroTik RouterOS Flaws to Security Alert

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has...

cPanel Urges Users to Patch ConfigServer Firewall Remote Code Execution Flaw

A recently disclosed vulnerability in ConfigServer Security & Firewall...

Hackers Weaponize AI Safety Guardrails to Hide Malware From LLM-Powered Security Scanners

Threat actors are adapting malware not only for conventional...

Hackers Exploit JFrog Artifactory Flaws to Bypass Authentication and Gain Admin Access

Threat actors are actively exploiting three vulnerabilities in JFrog...

Related Articles

Recent News