Re:Malicious software libraries found in PyPI posing as well...
by zapt02 on Friday September 15, 2017 @04:50PM
(#15260658)
To be fair you can do a lot with simple heurestics. New package + large number of downloads || new package || new package author = show users a warning message before installing the package.
The best way to handle this is whitelists of trusted package maintainers and/or code authors.