Hackers Compromise 65 GitHub Repositories and Poison npm Package With Hidden Backdoor
Hackers compromised 65 GitHub repositories and used a trusted publishing account to distribute a backdoor through a legitimate npm package.
Overview
HackersA person who explores and manipulates computer systems, either as a criminal intruder or a security researcher took control of 65 public GitHub repositories to distribute a hidden backdoorA hidden way into a computer or program that skips the normal login check through a legitimate software package. They abused a trusted publishingA package registry feature that lets automated build pipelines publish releases without storing long-lived passwords system to release a malicious version that stayed live for 35 minutes and 38 seconds. The attack targeted the software supply chainAll the open-source libraries, build tools, code repositories, and update servers that go into making a program, which is the process of building and distributing code that other developers rely on. The malicious code did not run immediately when the package was installed, but only when a specific server was started. This delayed action made it harder for automated security tools to detect the threat during the initial download. The compromised package carried a valid provenanceThe verifiable record of where software, data, or media came from and how it was built attestationCryptographic proof from hardware or a build server that a device or package was not tampered with, which confirmed the build location but not the honesty of the source code.
Terms in this story
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- Backdoor
- A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
- trusted publishing
- A package registry feature that lets automated build pipelines publish releases without storing long-lived passwords. Public registries encourage maintainers to switch to trusted publishing so a stolen developer laptop does not contain permanent tokens that could push malicious updates.
- provenance
- The verifiable record of where software, data, or media came from and how it was built. In software supply chain stories, provenance records prove which source repository and build server produced a package so users know it was not swapped by an attacker.
- attestation
- Cryptographic proof from hardware or a build server that a device or package was not tampered with. Before granting access to sensitive data, a server can require hardware attestation from a laptop or confidential cloud machine to verify that its boot code was not altered. Security+ objective 4.6 lists the term
- npm Package
- 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
- Threat actors
- A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 lists the term
- software supply-chain
- All the open-source libraries, build tools, code repositories, and update servers that go into making a program. Protecting the software supply chain means making sure no attacker has tampered with the third-party packages, build pipelines, or signing keys used to ship an application.
- MCP
- An open standard for connecting AI assistants to external data sources, files, and software tools. Software teams use the Model Context Protocol so an AI coding tool or chatbot can query databases and run local commands, which makes securing those tool connections a major concern.
- maintainer
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
- loader
- A stage of malware that runs first on an infected machine to fetch, decrypt, and launch other payloads. Criminal groups specialize in spreading a stealthy loader through spam or fake downloads and then charge ransomware and infostealer operators to deliver their malware onto those infected PCs. Security+ objective 2.4 lists the term
- malware
- Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
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 GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (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: Research and reports
"Threat actors have compromised at least 65 public GitHub repositories..." Found by reading the article; these exact words are in it - Who is affected: "...public GitHub repositories..." Organizations using the product
Copied word for word from the article - Security+ 2.1 Compare and contrast common threat actors and motivations.
"Threat actors have compromised at least 65 public GitHub..." Found in the opening sentences - Security+ 2.2 Explain common threat vectors and attack surfaces.
"Hackers Compromise 65 GitHub Repositories and Poison npm Package With Hidden Backdoor..." Found in the headline - Security+ 2.3 Explain various types of vulnerabilities.
"......65 public GitHub repositories in a software supply-chain campaign that abused npm trusted publishing to..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Repositories and Poison npm Package With Hidden Backdoor..." Found in the headline - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"......65 public GitHub repositories in a software supply-chain campaign that abused npm trusted publishing to..." Found in the opening sentences - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"Threat actors have compromised at least 65 public GitHub..." Found in the opening sentences - CYBR 101 week 9: malware, indicators and how detection works
"......Repositories and Poison npm Package With Hidden Backdoor..." Found in the headline
How a story is connected to the course, and every objective, week and job role