Skip to content

Security: Harden gemspec with MFA requirement and metadata - #79

Merged
kanejamison merged 1 commit into
mainfrom
claude/github-issue-67-6clhs6
Jul 23, 2026
Merged

Security: Harden gemspec with MFA requirement and metadata#79
kanejamison merged 1 commit into
mainfrom
claude/github-issue-67-6clhs6

Conversation

@kanejamison

Copy link
Copy Markdown
Owner

Summary

Hardens the gem's security posture by requiring MFA for RubyGems pushes and adding important metadata URIs to the gemspec.

Changes

  • MFA Requirement: Added rubygems_mfa_required = "true" to gemspec to enforce multi-factor authentication for all gem pushes
  • Metadata URIs: Added source_code_uri (pointing to homepage) and bug_tracker_uri (pointing to /issues) for better discoverability
  • Changelog: Updated CHANGELOG.md with security improvements note

Implementation Details

These changes follow RubyGems best practices:

  • MFA requirement prevents unauthorized gem releases even if credentials are compromised
  • Source code and bug tracker URIs are displayed on rubygems.org, improving user experience and security transparency
  • All metadata uses the existing spec.homepage variable for consistency and maintainability

https://claude.ai/code/session_01Rbmv18Gwr12r5CYH9SUvcn

Add supply-chain hardening metadata to bunko.gemspec ahead of the public
RubyGems release:

- rubygems_mfa_required: require MFA to push the gem to rubygems.org
- source_code_uri: link to the source repository
- bug_tracker_uri: link to the issue tracker

Closes #67

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rbmv18Gwr12r5CYH9SUvcn
@kanejamison
kanejamison force-pushed the claude/github-issue-67-6clhs6 branch from 2df7f3c to 6e1724a Compare July 23, 2026 05:55
@kanejamison
kanejamison merged commit bcee6cc into main Jul 23, 2026
4 checks passed
@kanejamison
kanejamison deleted the claude/github-issue-67-6clhs6 branch July 23, 2026 05:57
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