Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
Connect with us

Hi, what are you looking for?


Application Security

GitHub Announces Mandatory 2FA for Code Contributors

Code hosting platform GitHub on Wednesday said it would make it mandatory for software developers to use at least one form of two-factor authentication (2FA) by the end of 2023.

Code hosting platform GitHub on Wednesday said it would make it mandatory for software developers to use at least one form of two-factor authentication (2FA) by the end of 2023.

The Microsoft-owned platform has been supporting 2FA for years and is allowing users to use physical and virtual security keys, Time-based One-Time Password (TOTP) authenticator apps, and SMS as a second form of authentication. .

Lately, GitHub made various steps toward further improving the security of user accounts, including by hunting for and invalidating known-compromised passwords, and by no longer accepting account passwords for authenticating Git operations.

“At GitHub, we believe that our unique position as the home for all developers means that we have both an opportunity and a responsibility to raise the bar for security across the software development ecosystem,” the company said.

[ READ: Why Are Users Ignoring Multi-Factor Authentication]

Given the recent increase in supply chain attacks, GitHub’s upcoming mandatory 2FA requirement is meant to keep all developer accounts on better secured, to prevent other repositories from being breached.

“As part of a platform-wide effort to secure the software ecosystem through improving account security, we’re announcing that GitHub will require all users who contribute code on to enable one or more forms of two-factor authentication (2FA) by the end of 2023,” the platform announced.

GitHub also says it will explore passwordless authentication and other ways of securely authenticating users to offer an optimized login experience. More authentication and account recovery options, as well as improved account compromise prevention and recovery are expected for all developers.

Advertisement. Scroll to continue reading.

Following the compromise of developer accounts for the takeover of npm packages in November 2021, GitHub introduced various account security improvements, such as the enrollment of top-100 npm package maintainers to 2FA, and the rollout of enhanced login verification for all npm accounts in March.

At the end of May 2022, mandatory 2FA will roll out for the top-500 npm packages and, during the third quarter of the year, all maintainers of high-impact packages – those that have over 500 dependents or 1 million weekly downloads – will be enrolled in 2FA, GitHub announced.

Related: GitHub Says Recent Attack Was Highly Targeted

Related: GitHub Encourages Users to Adopt Two-Factor Authentication

Related: Google Teams Up With GitHub for Supply Chain Security

Written By

Ionut Arghire is an international correspondent for SecurityWeek.

Click to comment


Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.


SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.


People on the Move

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

Professional services company Slalom has appointed Christopher Burger as its first CISO.

More People On The Move

Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Application Security

Cycode, a startup that provides solutions for protecting software source code, emerged from stealth mode on Tuesday with $4.6 million in seed funding.


A recently disclosed vBulletin vulnerability, which had a zero-day status for roughly two days last week, was exploited in a hacker attack targeting the...


The changing nature of what we still generally call ransomware will continue through 2023, driven by three primary conditions.

Identity & Access

Zero trust is not a replacement for identity and access management (IAM), but is the extension of IAM principles from people to everyone and...

Data Breaches

OpenAI has confirmed a ChatGPT data breach on the same day a security firm reported seeing the use of a component affected by an...


WASHINGTON - Cyberattacks are the most serious threat facing the United States, even more so than terrorism, according to American defense experts. Almost half...