微服务系统中安全讨论的自动识别:工业调查和实验
Automated Identification of Security Discussions in Microservices Systems: Industrial Surveys and Experiments
摘要:
缺乏对微服务特定安全挑战和解决方案的认识和了解,通常会导致微服务系统开发中的安全决策不明智。我们声称,识别和利用分散在现有微服务系统中的安全讨论可以部分弥补这一差距。我们将安全讨论定义为“开发人员讨论中的一段,其中包括与安全相关的设计决策、挑战或解决方案”。我们首先调查了67名从业者,发现保护微服务系统是一项独特的挑战,并且能够参与安全讨论对于做出安全决策非常有用。该调查还证实了可以自动识别此类安全讨论的潜在工具的实用性。我们开发了15个机器/深度学习模型来自动识别安全讨论。我们将这些模型应用于手动构建的数据集,该数据集包括4,813个安全讨论和12,464个非安全讨论。我们发现,所有的模型都可以有效地识别安全讨论:平均准确率为84.86%,召回率为72.80%,F1得分为77.89%,AUC为83.75%,G均值为82.77%。DeepM 1是一种深度学习模型,表现最好,在所有指标中均达到84%以上,并显著优于三个基线。最后,从验证调查中收集的从业者反馈显示,DeepM 1确定的安全讨论在实践中具有很好的应用前景。
英文摘要:
Lack of awareness and knowledge of microservices-specific security challenges and solutions often leads to ill-informed security decisions in microservices system development. We claim that identifying and leveraging security discussions scattered in existing microservices systems can partially close this gap. We define security discussion as "a paragraph from developer discussions that includes design decisions, challenges, or solutions relating to security". We first surveyed 67 practitioners and found that securing microservices systems is a unique challenge and that having access to security discussions is useful for making security decisions. The survey also confirms the usefulness of potential tools that can automatically identify such security discussions. We developed fifteen machine/deep learning models to automatically identify security discussions. We applied these models on a manually constructed dataset consisting of 4,813 security discussions and 12,464 non-security discussions. We found that all the models can effectively identify security discussions: an average precision of 84.86%, recall of 72.80%, F1-score of 77.89%, AUC of 83.75% and G-mean 82.77%. DeepM1, a deep learning model, performs the best, achieving above 84% in all metrics and significantly outperforms three baselines. Finally, the practitioners' feedback collected from a validation survey reveals that security discussions identified by DeepM1 have promising applications in practice.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。