3 ms·
Whoa urlib & urllib3. Those are pretty popular packages, especially to newbies. Hundreds of websites that teach web-scraping use those libraries. Wonder what i
by kumarvvr 9y ago
Whoa urlib & urllib3. Those are pretty popular packages, especially to newbies. Hundreds of websites that teach web-scraping use those libraries.
Wonder what is an effective form of protection against such attack vectors?
Do digitally signed certificates fit into this usage scenario??
- zapt02 9y ago> 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.
- kumarvvr 9y agoAny 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?
- peterwwillis 9y agoNope. 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.
- thehardsphere 9y agoIf you can't trust the package author at all then you shouldn't use their package.