SHARE
Facebook X Pinterest WhatsApp

Gentoo Linux Reports Hack of GitHub Mirror Site

thumbnail Gentoo Linux Reports Hack of GitHub Mirror Site

Gentoo Linux

Jun 29, 2018
eWeek content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More

Gentoo Linux reported on June 28 that its GitHub repository was breached, with attackers planting malicious code in the open-source Linux project’s account.

The malware that was found on the Gentoo Linux GitHub project site was designed to specifically remove all of the files on a victim’s system.

“Today 28 June at approximately 20:20 UTC unknown individuals have gained control of the Github Gentoo organization, and modified the content of repositories as well as pages there,” Gentoo warned in an advisory. “We are still working to determine the exact extent and to regain control of the organization and its repositories. All Gentoo code hosted on github should for the moment be considered compromised.”

Gentoo Linux is a popular open-source, community-based Linux distribution that works on a rolling release model that is continuously updated.

In a mailing list message, Gentoo developer Francisco Blas Izquierdo Riera wrote that the attackers “… replaced the portage and musl-dev trees with malicious versions of the ebuilds intended to try removing all of your files.” Portage is Gentoo’s package management system and is the way that software is distributed to Gentoo users.

In response to the attack, Gentoo developers have locked down the GitHub project to prevent further damage. The root cause of the attack appears to be a compromised account that has now been locked out. Gentoo is now going through the process of re-adding developers to its GitHub account and is requiring that all developers add two-factor authentication (2FA) to their GitHub accounts to be re-admitted.

The potential impact of the attack, however, is somewhat limited for the core development of the project, since development occurs on Gentoo Foundation-operated hardware and not on GitHub. The GitHub site was a mirror from which users may have downloaded, exposing an unknown number of users to risk. 

Prior Incidents

Gentoo is not the first Linux distribution to be the victim of an attack that aims to compromise developer code. 

Back in August 2008, attackers breached the servers of Red Hat’s Fedora community Linux distribution. In September 2011, the main Linux kernel development site, kernel.org, was breached via a compromised user credential. In the Linux kernel incident, development continued on GitHub, while the main kernel.org site was down. Attackers also took aim at Linux Mint in February 2016, planting a backdoor in the distribution forum that was quickly remediated.

Sean Michael Kerner is a senior editor at eWEEK and InternetNews.com. Follow him on Twitter @TechJournalist.

thumbnail Sean Michael Kerner

Sean Michael Kerner is an Internet consultant, strategist, and writer for several leading IT business web sites.

Recommended for you...

Veeam Buys Securiti AI for $1.73B to Bolster AI-Ready Data Protection
Llanor Alleyne
Oct 23, 2025
59% of Cyber Pros Fear AI Threats Most, ISACA Finds
Liz Ticong
Oct 21, 2025
California Enacts First-in-the-Nation Law to Shield Children from AI Chatbots
David Curry
Oct 14, 2025
Netherlands Seizes Control of China-Owned Chipmaker Nexperia, Citing Security Risks
Aminu Abdullahi
Oct 13, 2025
eWeek Logo

eWeek has the latest technology news and analysis, buying guides, and product reviews for IT professionals and technology buyers. The site's focus is on innovative solutions and covering in-depth technical content. eWeek stays on the cutting edge of technology news and IT trends through interviews and expert analysis. Gain insight from top innovators and thought leaders in the fields of IT, business, enterprise software, startups, and more.

Property of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.