CryptoExplorer:一个支持安全使用密码API的交互式Web平台
CryptoExplorer: An Interactive Web Platform Supporting Secure Use of Cryptography APIs
摘要:
研究表明,加密API很难使用。因此,开发人员求助于使用在线信息源中可用的代码示例,而这些信息源通常并不安全。我们已经开发了一个名为CryptoExplorer的Web平台,其中包含许多真实世界的安全和不安全示例,开发人员可以探索这些示例以学习如何正确使用加密API。该平台目前提供了3,263种安全使用和5,897种不安全的Java加密架构使用,这些使用来自GitHub上的2,324个Java项目。初步研究表明,CryptoExplorer为开发人员提供了安全的加密API使用示例,与在互联网上搜索此类示例相比,开发人员可以节省时间,并且他们通过研究误用的API示例来学习避免在API中使用某些算法。我们有一个管道,定期挖掘更多的项目,并根据要求,我们提供我们的数据集给研究人员。
英文摘要:
Research has shown that cryptographic APIs are hard to use. Consequently, developers resort to using code examples available in online information sources that are often not secure. We have developed a web platform, named CryptoExplorer, stocked with numerous real-world secure and insecure examples that developers can explore to learn how to use cryptographic APIs properly. This platform currently provides 3,263 secure uses, and 5,897 insecure uses of Java Cryptography Architecture mined from 2,324 Java projects on GitHub. A preliminary study shows that CryptoExplorer provides developers with secure crypto API use examples instantly, developers can save time compared to searching on the internet for such examples, and they learn to avoid using certain algorithms in APIs by studying misused API examples. We have a pipeline to regularly mine more projects, and, on request, we offer our dataset to researchers.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。