CrowdSec Says TanStack npm Attack Led to Copy of 170 Private GitHub Repositories
A security company lost access to its private code after a former employee's compromised laptop was infected by a malicious software update.
Overview
A French security company named CrowdSec lost access to about 170 of its private code repositories after a former employee's laptop was compromised. The breach occurred on May 22 using a GitHub token from the employee's account, which the company had left active for a short period. The initial compromise happened on May 11 when malicious versions of 42 TanStack npm packagesA reusable web code library published to the public npm registry for developers to install were published and installed on developer machines. These bad packages stole credentialsThe login details, such as a username and password or key, that prove who an account belongs to, including GitHub tokens and SSH keysA cryptographic key pair used to sign in to remote servers over SSH without a password, from the devices where they were run. The stolen code, along with the email addresses of 83 users and details on 51 potential investors, appeared on an online forum on September 16. Other organizations, including Mistral AI and OpenAI, also reported that their employee devices were affected by the same attack.
Terms in this story
- npm packages
- A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- SSH keys
- A cryptographic key pair used to sign in to remote servers over SSH without a password. Software engineers store a private SSH key on their laptop and place the matching public key on cloud servers, making stolen SSH keys a prime target for infostealers.
- supply chain attack
- Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
- source code
- The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
- databases
- An organized digital store of structured records, such as customer accounts, orders, or messages, queried by software. Behind almost every website and mobile app sits a database, and attackers target misconfigured or unpatched databases to copy millions of user records at once.
- CVE
- The public tracking code assigned to a specific known security flaw in software or hardware. Every cataloged software flaw gets a unique CVE label so security teams, vendors, and news reports can talk about the exact same bug without confusion. Security+ objective 2.3 lists the term
- cloud credentials
- Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
- advisory
- An official bulletin from a vendor or agency warning users about a flaw and its fix. When a bug is patched, the vendor publishes a security advisory listing affected versions, the CVE code, the severity rating, and instructions for updating.
- OAuth token
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- logs
- Timestamped records that servers and apps write whenever someone signs in, changes a setting, or makes a request. During an investigation, responders examine security logs to trace when an attacker first logged in and which internal machines they accessed. Security+ objective 4.4 lists the term
- unauthorized access
- Signing in to or viewing a computer system, account, or database without permission. Breach notifications often report unauthorized access when an intruder uses stolen credentials or an unpatched flaw to enter an internal network.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the The Hacker News website. Cite the article, not this page.
Read the full article on The Hacker News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Breach or attack
"...an attacker copied about 170 of crowdsecs private github repositories..." Found by reading the article; these exact words are in it - Who is affected: "...crowdsecs private github repositories..." Organizations using the product
Copied word for word from the article - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of cyber attackers (e.g., script kiddies, insider threat, non-nation state sponsored, and nation sponsored).
"...the account was used only to copy code..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- Hackers Exploit TanStack Supply Chain Attack to Steal 170 Private CrowdSec Repositories
- TanStack Supply Chain Attack Lets Hackers Steal 170 Private CrowdSec GitHub Repositories