Skip to content

Require MFA for gem pushes#3028

Merged
nickcharlton merged 1 commit intomainfrom
require-mfa-for-gem-pushes
Apr 8, 2026
Merged

Require MFA for gem pushes#3028
nickcharlton merged 1 commit intomainfrom
require-mfa-for-gem-pushes

Conversation

@MatheusRich
Copy link
Copy Markdown
Contributor

This adds the rubygems_mfa_required metadata to the gemspec, requiring multi-factor authentication for privileged operations on RubyGems.org.

This is a protection against supply chain attacks like the recent NPM Axios compromise: https://socket.dev/blog/axios-npm-package-compromised

Reference: https://guides.rubygems.org/mfa-requirement-opt-in/

This adds the `rubygems_mfa_required` metadata to the gemspec,
requiring multi-factor authentication for privileged operations
on RubyGems.org.

This is a protection against supply chain attacks like the recent
NPM Axios compromise: https://socket.dev/blog/axios-npm-package-compromised

Reference: https://guides.rubygems.org/mfa-requirement-opt-in/
@nickcharlton
Copy link
Copy Markdown
Member

Thanks!

@nickcharlton nickcharlton merged commit 0ceef11 into main Apr 8, 2026
31 of 32 checks passed
@nickcharlton nickcharlton deleted the require-mfa-for-gem-pushes branch April 8, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants