Security Market Segment LS
Tuesday, 30 March 2021 06:21

PHP shifts to GitHub after malicious commits to own git server Featured

PHP shifts to GitHub after malicious commits to own git server Image by Dok Sev from Pixabay

The PHP project has been forced to move its operations from its own git server to the Microsoft-owned software code repository GitHub after two malicious commits were discovered in the php-srx repository in the name of founder Rasmus Lerdorf and developer Nikita Popov.

In a post to the project's php.doc and php.internals groups, Popov said the process whereby this happened was not known as yet.

"We don't yet know how exactly this happened, but everything points towards a compromise of the server (rather than a compromise of an individual git account)," he wrote.

The PHP project has always had source code on GitHub, but until now the repository served as a mirror. That will change from now on, according to Popov.

PHP is a general-purpose scripting language and the most widely used on the Web, with popular content management systems like WordPress, Drupal and Joomla! all being written using it.

Git is a source code management system developed by Linux creator Linus Torvalds in 2005, but now maintained by kernel developer Junio Hamano.

Torvalds had to ditch a proprietary code management system known as BitKeeper when its owner, Larry McVoy, took umbrage at the fact that well-known Australian free software developer Andrew Tridgell reverse-engineered the protocols used in BitKeeper and released the code for his own program, SourcePuller.

In retaliation, McVoy pulled the free version of BitKeeper which had been available until then which was being used by a number of Linux kernel developers. Which, in turn, led to Torvalds creating how own solution, git.

Popov wrote: "While investigation is still underway, we have decided that maintaining our own git infrastructure is an unnecessary security risk, and that we will discontinue the server.

"Instead, the repositories on GitHub, which were previously only mirrors, will become canonical. This means that changes should be pushed directly to GitHub rather than to

"While previously write access to repositories was handled through our home-grown karma system, you will now need to be part of the php organisation on GitHub.

"If you are not part of the organisation yet, or don't have access to a repository you should have access to, contact me at nikic @ with your and GitHub account names, as well as the permissions you're currently missing. Membership in the organisation requires 2FA to be enabled.

"This change also means that it is now possible to merge pull requests directly from the GitHub Web interface."

"We're reviewing the repositories for any corruption beyond the two referenced commits."

Please join our community here and become a VIP.

Subscribe to ITWIRE UPDATE Newsletter here
JOIN our iTWireTV our YouTube Community here


It's all about Webinars.

Marketing budgets are now focused on Webinars combined with Lead Generation.

If you wish to promote a Webinar we recommend at least a 3 to 4 week campaign prior to your event.

The iTWire campaign will include extensive adverts on our News Site and prominent Newsletter promotion and Promotional News & Editorial. Plus a video interview of the key speaker on iTWire TV which will be used in Promotional Posts on the iTWire Home Page.

Now we are coming out of Lockdown iTWire will be focussed to assisting with your webinatrs and campaigns and assassistance via part payments and extended terms, a Webinar Business Booster Pack and other supportive programs. We can also create your adverts and written content plus coordinate your video interview.

We look forward to discussing your campaign goals with you. Please click the button below.



iTWire TV offers a unique value to the Tech Sector by providing a range of video interviews, news, views and reviews, and also provides the opportunity for vendors to promote your company and your marketing messages.

We work with you to develop the message and conduct the interview or product review in a safe and collaborative way. Unlike other Tech YouTube channels, we create a story around your message and post that on the homepage of ITWire, linking to your message.

In addition, your interview post message can be displayed in up to 7 different post displays on our the site to drive traffic and readers to your video content and downloads. This can be a significant Lead Generation opportunity for your business.

We also provide 3 videos in one recording/sitting if you require so that you have a series of videos to promote to your customers. Your sales team can add your emails to sales collateral and to the footer of their sales and marketing emails.

See the latest in Tech News, Views, Interviews, Reviews, Product Promos and Events. Plus funny videos from our readers and customers.


Sam Varghese

Sam Varghese has been writing for iTWire since 2006, a year after the site came into existence. For nearly a decade thereafter, he wrote mostly about free and open source software, based on his own use of this genre of software. Since May 2016, he has been writing across many areas of technology. He has been a journalist for nearly 40 years in India (Indian Express and Deccan Herald), the UAE (Khaleej Times) and Australia (Daily Commercial News (now defunct) and The Age). His personal blog is titled Irregular Expression.

Share News tips for the iTWire Journalists? Your tip will be anonymous