...
首页> 外文期刊>Automated software engineering >Prioritizing refactorings for security-critical code
【24h】

Prioritizing refactorings for security-critical code

机译:用于安全关键代码的优先级排序

获取原文
获取原文并翻译 | 示例
           

摘要

It is vitally important to fix quality issues in security-critical code as they may be sources of vulnerabilities in the future. These quality issues may increase the attack surface if they are not quickly refactored. In this paper, we use the history of vulnerabilities and security bug reports along with a set of keywords to automatically identify a project's security-critical files based on its source code, bug reports, pull-request descriptions and commit messages. After identifying these security-related files, we estimate their risks using static analysis to check their coupling with other project components. Then, our approach recommends refactorings to prioritize fixing quality issues in these security-critical files to improve quality attributes and remove identified code smells. To find a trade-off between the quality issues and security-critical files, we adopted a multi-objective search strategy. We evaluated our approach on six open source projects and one industrial system to check the correctness and relevance of the refactorings targeting security critical code. The results of our survey with practitioners supports our hypothesis that quality and security need to be considered together to provide relevant refactoring recommendations.
机译:在安全关键代码中修复质量问题是至关重要的,因为他们将来可能是漏洞的来源。如果它们不快速重构,这些质量问题可能会增加攻击面。在本文中,我们使用漏洞和安全错误报告的历史以及一组关键字,以基于其源代码,错误报告,提取请求描述和提交消息自动识别项目的安全性关键文件。在识别出这些安全相关文件之后,我们使用静态分析估计其风险,以检查其与其他项目组件的耦合。然后,我们的方法建议重构在这些安全性关键文件中优先考虑修复质量问题,以提高质量属性并删除所识别的代码气味。要在质量问题和安全关键文件之间找到权衡,我们采用了多目标搜索策略。我们在六个开源项目和一个工业系统中评估了我们的方法,以检查重构定位安全关键代码的重构的正确性和相关性。我们与从业者的调查结果支持我们的假设,以至于,需要审议质量和安全性以提供相关的重构建议。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号