Re:Malicious software libraries found in PyPI posing as well...
by nariinano on Friday September 15, 2017 @07:38AM
(#15256249)
I believe urllib3 is built-in. So if you have installed it from PyPI you've gotten a malicious version.
[ Parent
| on HN ]
Re:Malicious software libraries found in PyPI posing as well...
by cpburns2009 on Friday September 15, 2017 @07:53AM
(#15256321)
urllib and urllib2 are built-in for Python 2, and were merged and reorganized as just urllib in Python 3. urllib3 is a third-party module.
Re:Malicious software libraries found in PyPI posing as well...
by haikuginger on Friday September 15, 2017 @09:11AM
(#15256826)
This is correct. In general, though, most packages don't rely on urllib3 directly, but on `requests`, which uses urllib3 but provides a friendlier API and built-in SSL cert verification.
Re:Malicious software libraries found in PyPI posing as well...
by wyldfire on Friday September 15, 2017 @07:56AM
(#15256336)
It's not generally true that built-in packages which also appear on PyPI are malicious.
Many batteries-included packages are also maintained outside of CPython. This is because: (1) in many cases they existed outside prior to being included in CPython, (2) they can experiment with new features before they're included in the CPython version of their package.
Re:Malicious software libraries found in PyPI posing as well...
by rantanplan on Friday September 15, 2017 @07:45AM
(#15256280)