Skip to content

Require MFA for gem pushes#1814

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

Require MFA for gem pushes#1814
neilvcarvalho 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/
Copy link
Copy Markdown
Member

@neilvcarvalho neilvcarvalho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@neilvcarvalho neilvcarvalho merged commit ab74525 into main Apr 8, 2026
28 checks passed
@neilvcarvalho neilvcarvalho deleted the require-mfa-for-gem-pushes branch April 8, 2026 14:27
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