The popularity of Python has risen rapidly over the past 15 years. It is a major language in some of the most exciting technologies today. This popularity has led to a large ecosystem of third-party packages available via the pip package registry which hosts more than 200,000 packages. These third-party packages can be reused by simply importing the package after installing using package managers like pip. The ease of reuse of third-party software comes with security risks putting millions of users in danger. In this project, we study the ecosystem to analyze this threat. The mature ecosystem of Python has multiple weak spots that we highlight in our project. First, we demonstrate how trivial it is to exploit the Python ecosystem. Then, we systematically analyze dependencies amongst packages, maintainers, and publicly reported security issues. Most attacks are possible only if users install malicious packages. We thus try to analyze and evaluate different methods used by attackers to force incorrect downloads. We quantify your ideas by estimating the potential threat that can be caused by exploiting a popular Python package. We also discuss methods used in the industry to defend against such attacks


翻译:Python的受欢迎程度在过去15年中迅速提高,这是当今一些最令人兴奋的技术中的一种主要语言。这种受欢迎程度导致通过拥有20万多个包的pip 软件登记册提供第三方包的大型生态系统。这些第三方软件包可以在安装像pip这样的软件包管理员之后简单地进口软件包来再利用。第三方软件的容易再利用带来安全风险,使数百万用户面临危险。在这个项目中,我们研究生态系统来分析这一威胁。Python的成熟生态系统有许多弱点,我们在项目中强调这些弱点。首先,我们证明利用Python生态系统是多么微不足道。然后,我们系统地分析包、维护者和公开报道的安全问题之间的依赖性。大多数攻击只有在用户安装恶意软件包时才有可能。因此,我们试图分析和评估攻击者用来强迫错误下载的不同方法。我们通过估计利用流行的Python软件包可能带来的潜在威胁来量化你的想法。我们还讨论工业中用来防范这种攻击的方法。

0
下载
关闭预览

相关内容

Python是一种面向对象的解释型计算机程序设计语言,在设计中注重代码的可读性,同时也是一种功能强大的通用型语言。
专知会员服务
17+阅读 · 2020年9月6日
100+篇《自监督学习(Self-Supervised Learning)》论文最新合集
专知会员服务
161+阅读 · 2020年3月18日
强化学习最新教程,17页pdf
专知会员服务
169+阅读 · 2019年10月11日
[综述]深度学习下的场景文本检测与识别
专知会员服务
77+阅读 · 2019年10月10日
机器学习入门的经验与建议
专知会员服务
90+阅读 · 2019年10月10日
【SIGGRAPH2019】TensorFlow 2.0深度学习计算机图形学应用
专知会员服务
39+阅读 · 2019年10月9日
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
Python机器学习教程资料/代码
机器学习研究会
8+阅读 · 2018年2月22日
已删除
将门创投
5+阅读 · 2017年10月20日
Arxiv
1+阅读 · 2021年4月6日
Arxiv
0+阅读 · 2021年4月6日
The Measure of Intelligence
Arxiv
6+阅读 · 2019年11月5日
VIP会员
相关VIP内容
相关资讯
A Technical Overview of AI & ML in 2018 & Trends for 2019
待字闺中
16+阅读 · 2018年12月24日
Python机器学习教程资料/代码
机器学习研究会
8+阅读 · 2018年2月22日
已删除
将门创投
5+阅读 · 2017年10月20日
Top
微信扫码咨询专知VIP会员