论文标题
CryptoExplorer:一个交互式Web平台,支持加密API的安全使用
CryptoExplorer: An Interactive Web Platform Supporting Secure Use of Cryptography APIs
论文作者
论文摘要
研究表明,密码API很难使用。因此,开发人员求助于通常不安全的在线信息源中可用的代码示例。我们已经开发了一个名为CryptoPlorer的Web平台,其中包含许多真实的安全和不安全的示例,开发人员可以探索这些示例,以学习如何正确使用加密API。该平台目前提供3,263个安全用途,以及从GitHub上2,324个Java项目开采的Java密码架构的5,897个不安全用途。一项初步研究表明,CryptoExplorer为开发人员提供了安全的加密API使用示例,与在Internet上搜索此类示例相比,开发人员可以节省时间,并且他们学会避免通过研究滥用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.