Re:Malicious software libraries found in PyPI posing as well...
by mwerty on Friday September 15, 2017 @09:25AM
(#15256927)
How about a Levenshtein distance threshold for new package names to be accepted? I.e only allow names that are different enough from the existing set to avoid typos (or whatever errors we are trying to guard against)?
[ Parent
| on HN ]
Re:Malicious software libraries found in PyPI posing as well...
by andrewfong on Friday September 15, 2017 @02:12PM
(#15259336)
You don't need a strict ban for this to work either. Maybe just an end-user warning if distance < N and the relative popularity of the two modules is very high. You could also allow users or organizations to explicitly whitelist some names.