Typosquatting programming language package managers
incolumitas.com
Typosquatting programming language package managers
1–10 of 148 posts
Re: Typosquatting programming language package managers
#2Re: Typosquatting programming language package managers
#3Re: Typosquatting programming language package managers
#4Probably the maintainers of the package managers know which typos their users do, because of the 404s in the logs or equivalent errors. A preventive action could be starting to blacklist any name resolving to 404. If somebody eventually tries to upload a package in the blacklist, a maintainer should check the code and whitelist the name. Obviously people can be very crative with typos and with squattinq and there is…
I see what you did.
Re: Typosquatting programming language package managers
#5It does raise the barrier to entry, but it would prevent typosquatting and regular namesquatting.
EDIT: Does any major package manager provide a "did you mean" functionality, offering a list of actual package names similar to what you typed?
Re: Typosquatting programming language package managers
#6So last week my client discovered there's a gem named bunlder... sigh
https://rubygems.org/gems/bundle Total downloads 1,800,600
Source (empty) at https://github.com/will/bundle and interesting README.
https://rubygems.org/gems/bundler Total downloads 92,116,090
It's almost the 2%.
Re: Typosquatting programming language package managers
#7I think that this clearly falls under the heading 'naming issue.' People know what they want, but do not enter it properly.
I can't think of a 100% off-hand, which isn't surprising, because it's a hard problem.
pmontra's suggestion to use typo blacklisting ain't a bad idea. Maybe some sort of reputation-per-name could help?
Re: Typosquatting programming language package managers
#8I wonder what kind of steps we can take to prevent this risk.
Re: Typosquatting programming language package managers
#9Probably the maintainers of the package managers know which typos their users do, because of the 404s in the logs or equivalent errors. A preventive action could be starting to blacklist any name resolving to 404. If somebody eventually tries to upload a package in the blacklist, a maintainer should check the code and whitelist the name. Obviously people can be very crative with typos and with squattinq and there is…
Re: Typosquatting programming language package managers
#10Probably the maintainers of the package managers know which typos their users do, because of the 404s in the logs or equivalent errors. A preventive action could be starting to blacklist any name resolving to 404. If somebody eventually tries to upload a package in the blacklist, a maintainer should check the code and whitelist the name. Obviously people can be very crative with typos and with squattinq and there is…