The images in this article were generated with artificial intelligence. How we publish
A single GitHub workflow token failed in the rotation and opened the door. This is the central conclusion of the incident in Grafana Labs following the recent wave of malicious packages published in npm that affected the supply chain of the developer ecosystem. According to the company's public investigation, a robust module of a committed package for TanStack executed in its pipelines exfiltered secrets and allowed attackers to access private repositories when a token was not revoked in time.
The incident shows cruelly that the attack surface is not only in production but in the tools we use to build and publish software: continuous integration and package managers. When a flow of CI consumes a malicious dependence, that dependence runs with the privileges of the runner and can filter what it finds in the environment, including tokens that allow side movements to other assets of the organization.

The consequences confirmed by Grafana combine code theft and exfiltration of operational information, but, for now, there is no evidence of client data commitment in production. The company claims that it did not pay rescue, that the code repository was not altered and that the downloaded information included professional names and emails used in business relations; however, the event reduces confidence in the supply chain and forces to review the CI / CD controls.
This case repeats a recent pattern in supply chain attacks: open source package engagement (in this case packages associated with TanStack), execution in development or CI environments and exfiltration of credentials that point to internal infrastructure. Mitigation requires immediate technical actions and organizational changes in how software and its secrets are managed.
For technical equipment and security officers, urgent action is clear: rotate and limit the scope of all the tokens and credentials used by pipelines, forensically audit which repositories and artifacts were accessed or downloaded, and add controls so that a single committed secret does not allow movements to other critical resources. GitHub's documentation on action hardening and good practice for secrets is a good starting point for implementing concrete mitigation: https: / / docs.github.com / en / actions / security-guides / security-hardening-for-github-actions and https: / / docs.github.com / en / actions / security-guides / using-encrypted-secrets-in-workflows.
Beyond the reactive response, organizations should incorporate controls that reduce the probability and impact of this type of intrusions: minimize tokens scopes, use fast and short-lived credentials, segment runners access (e.g., self-hosted runners isolated per project), restrict the use of tokens in workflows that do not require it and apply approval policies for external units in CI.
In the layer of dependencies and development it is essential to apply in-depth defence: set versions and hashes of packages (package- lock or integrity verifiers), use automatic unit scanning with early alerts, use blocking policies for unknown packages or new authors and consider supply chain verification measures such as package signatures and SLSA. It also helps to keep an updated inventory (SBOM) that makes it easier to identify which pipelines consumed which bookstores in each building.
From the point of view of detection, it is appropriate to implement telemetry for exfiltration from runners and alerts on abnormal behaviors in GitHub (mass downloads of repositories, creation of forks or clones repeated by non-regular actors). Regular permits reviews in GitHub organizations and the implementation of role-based access policies are measures that reduce the exploitable area by a committed token.

For the open source community there is also a collective lesson: projects and maintainers should educate users about dependency risks, collaborate with records for faster responses when malicious packages appear and support security initiatives that allow them to veto suspicious packages before they reach massively automated pipelines.
Grafana has published her updates and the status of the research on her blog, where she details the measures taken and the scope known so far: https: / / grafana.com / blog / grafana-labs-security-updatate-latest-on-tanstack-npm-supply-chain-ransomware-incident /. Those who manage platforms and pipelines should review these reports to extract commitment indicators and verify whether their environments shared similar vectors.
In short, the incident is a call to strengthen control over CI secrets, to treat the supply chain as a strategic priority and to apply combined solutions: better access policies, in-depth defense over dependencies and proactive detection so that a single lost token will no longer be a back door to critical assets.
Related
More news on the same subject.

GhostAction Expands Attack: phishing to steal credentials and persistence in VS Code
A group behind the GhostAction campaign - already known for infiltrating GitHub Actions workflows into open source projects - has expanded its arsenal: in addition to installing...

OpenCode: possible exposure of AI suppliers in Console affects 1.4% of users
On the night of October 16 there was an unauthorized access to a system inherited from OpenCode which, according to the company, could have exposed keys from IA suppliers that u...

ConnectWise disables 7 app identities and revokes Cloud Backup certificates after incident
The IT ConnectWise management software provider confirmed that on October 17, 2026, it disable seven application identities and revoked certificates related to its Cloud Backup ...

Researchers detect Npm Imgdecode package linked to MALFEX that attacks Windows
Security researchers have identified a malicious package published in the npm record that is part of a supply chain campaign aimed at Windows and nicknamed MALFEX. The package, ...

OpenBSD 7.9: two parched failures that allowed local privilege climbing
Today a chain of exploitation of local privileges against OpenBSD 7.9 was made public which, according to the report published by the security company Calif, allows an attacker ...

OpenAI reveals unaligned IA incidents; a GPT-5.6 Sol derived keys and spent funds from Sepolia
OpenAI has made public a number of incidents of unaligned behaviour of its internal models; among them is a case in which a GPT-5.6 family research model Sol derived private key...