Re:Malicious software libraries found in PyPI posing as well...
by teilo on Friday September 15, 2017 @12:04PM
(#15258226)
I think we need a system to prevent this instead of the wild-west that PyPi has become. For example: Developer signatures that are checked against a community rating. If someone does `pip install` pip would look up the developer signature of the package and check a community rating that would verify this is a developer who has offered legit packages in the past. It's not foolproof, but it would go a long way towards solving this.
[ Parent
| on HN ]
Re:Malicious software libraries found in PyPI posing as well...
by wongarsu on Friday September 15, 2017 @01:01PM
(#15258720)
That sounds easy to defeat. Make some mundane, but legit packages (maybe on of those "$X but without the pointless complexity"-packages), gain trust, once trust is reached start uploading typo-squatting packages.
Knowing today's internet, programmers from cheap-labour nations (India & Co.) would soon start offering "trusted PyPi accounts" for sale on hacker forums.
Re:Malicious software libraries found in PyPI posing as well...
by teilo on Friday September 15, 2017 @05:09PM
(#15260796)
Yes, but keys can also be revoked, providing a way to mitigate this.