<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap" -->

---
title: Shai-Hulud Attack Nips Cyber-Firm CrowdSec's GitHub Data
description: CrowdSec, a French security firm, disclosed that attackers stole about 170 private GitHub repositories in May after a former employee's machine was compromised...
canonical: https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Shai-Hulud Attack Nips Cyber-Firm CrowdSec's GitHub Data | daily.dev
og:description: CrowdSec, a French security firm, disclosed that attackers stole about 170 private GitHub repositories in May after a former employee's machine was compromised...
og:url: https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap
og:image: https://api.daily.dev/og/posts/DFJomMRAP.png
og:image:alt: Shai-Hulud Attack Nips Cyber-Firm CrowdSec's GitHub Data
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Shai-Hulud Attack Nips Cyber-Firm CrowdSec's GitHub Data

**[Dark Reading](https://daily.dev/sources/dr)** · 5 min read · 0 upvotes · 0 comments

## Summary

CrowdSec, a French security firm, disclosed that attackers stole about 170 private GitHub repositories in May after a former employee's machine was compromised via the Shai-Hulud worm through the TanStack npm supply chain attack. Attackers used a leaked OAuth token tied to the ex-employee's still-active GitHub account to download the repos within about 9 minutes. CrowdSec discovered the breach only in September when stolen source code surfaced on an underground marketplace. Experts note the incident stemmed from a basic security lapse—failing to revoke a departed employee's access—and highlight the need for EDR on developer machines and stricter offboarding practices.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.darkreading.com/cyberattacks-data-breaches/shai-hulud-attack-cyber-firm-crowdsec-github-data>

## Questions this post answers

### How did attackers steal CrowdSec's private GitHub repositories?

Attackers used an OAuth token stolen from a former CrowdSec employee's compromised machine to access and download about 170 private GitHub repositories. The employee's computer was infected via the TanStack npm supply chain attack tied to the Shai-Hulud worm, and his GitHub account still had valid organization access despite having left the company. The download took place on May 22 between 5:52 and 6:01 UTC.

_Teams hardening offboarding and access controls can track supply chain incidents like this one on daily.dev._

### What is the Shai-Hulud npm supply chain attack and how does it relate to the TanStack compromise?

Shai-Hulud is a worm-style supply chain attack that spreads through compromised npm packages, and it was the methodology used to compromise a former CrowdSec employee's machine via a TanStack package compromise. Once infected, the attacker obtained a valid OAuth token from that machine and used it to access CrowdSec's private GitHub repositories, stealing roughly 170 of them.

_Developers tracking npm supply chain risks like Shai-Hulud can follow ongoing incident coverage on daily.dev._

### What security mistake allowed the CrowdSec GitHub breach to happen?

CrowdSec failed to revoke a departed employee's GitHub access, leaving his account active within the organization so he could finish outstanding work. Attackers exploited this by stealing an OAuth token from his compromised machine and using the still-valid account to clone about 170 private repositories in roughly 9 minutes, despite CrowdSec having 2FA, privilege separation, and logging in place.

_Teams reviewing offboarding and access-revocation practices can follow similar security incident breakdowns on daily.dev._

## Similar posts on daily.dev

- [New Shai-Hulud malware wave compromises 600 npm packages](https://daily.dev/posts/new-shai-hulud-malware-wave-compromises-600-npm-packages-fc6izpxyv) · BleepingComputer · 5 upvotes · 1 comments
- [How we got hit by Shai-Hulud: A complete post-mortem](https://daily.dev/posts/how-we-got-hit-by-shai-hulud-a-complete-post-mortem-7ki0bejyp) · Hacker News · 1 upvotes · 0 comments
- [Shai-Hulud copycat worm infects yet another npm package](https://daily.dev/posts/shai-hulud-copycat-worm-infects-yet-another-npm-package-6qyti32ms) · The Register · 0 upvotes · 0 comments

---

Tags: [#cyber](https://daily.dev/tags/cyber), [#github](https://daily.dev/tags/github), [#npm](https://daily.dev/tags/npm), [#oauth](https://daily.dev/tags/oauth)

[View this post on daily.dev](https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Shai-Hulud Attack Nips Cyber-Firm CrowdSec's GitHub Data","url":"https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap"},"datePublished":"2026-09-22T17:49:59.734Z","dateModified":"2026-09-25T04:00:30.200Z","description":"CrowdSec, a French security firm, disclosed that attackers stole about 170 private GitHub repositories in May after a former employee's machine was compromised...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e45aca6dcc4dedbad4b064449f1272a4?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/e45aca6dcc4dedbad4b064449f1272a4?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Dark Reading","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Dark Reading","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/dr","url":"https://daily.dev/sources/dr"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"cyber,github,npm,oauth","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Dark Reading","item":"https://daily.dev/sources/dr"},{"@type":"ListItem","position":3,"name":"Shai-Hulud Attack Nips Cyber-Firm CrowdSec's GitHub Data"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/shai-hulud-attack-nips-cyber-firm-crowdsec-s-github-data-dfjommrap#faq","mainEntity":[{"@type":"Question","name":"How did attackers steal CrowdSec's private GitHub repositories?","acceptedAnswer":{"@type":"Answer","text":"Attackers used an OAuth token stolen from a former CrowdSec employee's compromised machine to access and download about 170 private GitHub repositories. The employee's computer was infected via the TanStack npm supply chain attack tied to the Shai-Hulud worm, and his GitHub account still had valid organization access despite having left the company. The download took place on May 22 between 5:52 and 6:01 UTC. Teams hardening offboarding and access controls can track supply chain incidents like this one on daily.dev."}},{"@type":"Question","name":"What is the Shai-Hulud npm supply chain attack and how does it relate to the TanStack compromise?","acceptedAnswer":{"@type":"Answer","text":"Shai-Hulud is a worm-style supply chain attack that spreads through compromised npm packages, and it was the methodology used to compromise a former CrowdSec employee's machine via a TanStack package compromise. Once infected, the attacker obtained a valid OAuth token from that machine and used it to access CrowdSec's private GitHub repositories, stealing roughly 170 of them. Developers tracking npm supply chain risks like Shai-Hulud can follow ongoing incident coverage on daily.dev."}},{"@type":"Question","name":"What security mistake allowed the CrowdSec GitHub breach to happen?","acceptedAnswer":{"@type":"Answer","text":"CrowdSec failed to revoke a departed employee's GitHub access, leaving his account active within the organization so he could finish outstanding work. Attackers exploited this by stealing an OAuth token from his compromised machine and using the still-valid account to clone about 170 private repositories in roughly 9 minutes, despite CrowdSec having 2FA, privilege separation, and logging in place. Teams reviewing offboarding and access-revocation practices can follow similar security incident breakdowns on daily.dev."}}]}
```

