跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2109.01109 (cs)
[提交于 2021年9月3日]

标题:Python Crypto Misuses in the Wild

作者:Anna-Katharina Wickert, Lars Baumgärtner, Florian Breitfelder, Mira Mezini
查看论文《Python Crypto Misuses in the Wild》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Background: Previous studies have shown that up to 99.59 % of the Java apps using crypto APIs misuse the API at least once. However, these studies have been conducted on Java and C, while empirical studies for other languages are missing. For example, a controlled user study with crypto tasks in Python has shown that 68.5 % of the professional developers write a secure solution for a crypto task. Aims: To understand if this observation holds for real-world code, we conducted a study of crypto misuses in Python. Method: We developed a static analysis tool that covers common misuses of 5 different Python crypto APIs. With this analysis, we analyzed 895 popular Python projects from GitHub and 51 MicroPython projects for embedded devices. Further, we compared our results with the findings of previous studies. Results: Our analysis reveals that 52.26 % of the Python projects have at least one misuse. Further, some Python crypto libraries API design helps developers from misusing crypto functions, which were much more common in studies conducted with Java and C code. Conclusion: We conclude that we can see a positive impact of the good API design on crypto misuses for Python applications. Further, our analysis of MicroPython projects reveals the importance of hybrid analyses.
评论: 6 pages, to be published in the proceedings of the 15th ACM/IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM) (ESEM 21), October 11-15, 2021, Bari Italy
主题: 软件工程 (cs.SE); 密码学与安全 (cs.CR)
引用方式: arXiv:2109.01109 [cs.SE]
  (或者 arXiv:2109.01109v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2109.01109
期刊参考: ACM / IEEE International Symposium on Empirical Software Engineering and Measurement (ESEM 2021)
相关 DOI: https://doi.org/10.1145/3475716.3484195

提交历史

来自:Anna-Katharina Wickert
[v1] 2021年9月3日 星期五 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2021-09
切换浏览方式为:
cs
cs.CR

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站