Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blacklist derivative spellings of Rails deps #1762

Merged
merged 1 commit into from Aug 9, 2018

Conversation

olivierlacan
Copy link
Contributor

Related to rubysec/ruby-advisory-db@b27b958

There's surely a smarter way to blacklist close Levenshtein matches of
popular gems but this seems like a good manual first step to ensure no one
can easily spoof misspellings of internal Rails gem names.

Copy link
Member

@hsbt hsbt left a comment

Choose a reason for hiding this comment

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

It's better to put the tail of the current list and add a comment for the reason why they are blacklisted.

Related to rubysec/ruby-advisory-db@b27b958

There's surely a smarter way to blacklist close Levenshtein matches of
popular gems but this seems like a good manual first step to ensure no one
can easily spoof misspellings of internal Rails gem names.
@olivierlacan
Copy link
Contributor Author

@hsbt Good idea, updated.

@dwradcliffe dwradcliffe merged commit f5e8d83 into rubygems:master Aug 9, 2018
@claudijd
Copy link
Contributor

claudijd commented Sep 7, 2018

@olivierlacan FYI => #1776

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.

None yet

5 participants