News for hackers. Stuff that matters.
Re:Malicious software libraries found in PyPI posing as well... by zapt02 on Friday September 15, 2017 @08:52AM (#15256673)
> Do digitally signed certificates fit into this usage scenario??

No, because either the package author would have to sign them, in which case you have to choose to trust each package author, or the repository would sign them, in which case there would be no improvement for this current issue, since the repo would sign the fake packages as well.

Re:Malicious software libraries found in PyPI posing as well... by kumarvvr on Friday September 15, 2017 @09:17AM (#15256856)
Any way in which blockchain technology can be used? Like, the transaction becomes the act of the author uploading the code and the repo and user verify the transaction in some form?
Re:Malicious software libraries found in PyPI posing as well... by peterwwillis on Friday September 15, 2017 @09:54AM (#15257145)
Nope. You can't solve phishing with technological means. You have to curate either a whitelist or blacklist.

The best way to handle this is whitelists of trusted package maintainers and/or code authors.

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.
Re:Malicious software libraries found in PyPI posing as well... by kumarvvr on Friday September 15, 2017 @09:59AM (#15257183)
Ohh ok. Thanks. Great to know.
Re:Malicious software libraries found in PyPI posing as well... by thehardsphere on Friday September 15, 2017 @10:38AM (#15257503)
If you can't trust the package author at all then you shouldn't use their package.