首页> 外文会议>International Conference on Software Engineering >The Seven Sins: Security Smells in Infrastructure as Code Scripts
【24h】

The Seven Sins: Security Smells in Infrastructure as Code Scripts

机译:七个罪:作为代码脚本的基础设施中的安全气味

获取原文

摘要

Practitioners use infrastructure as code (IaC) scripts to provision servers and development environments. While developing IaC scripts, practitioners may inadvertently introduce security smells. Security smells are recurring coding patterns that are indicative of security weakness and can potentially lead to security breaches. The goal of this paper is to help practitioners avoid insecure coding practices while developing infrastructure as code (IaC) scripts through an empirical study of security smells in IaC scripts. We apply qualitative analysis on 1,726 IaC scripts to identify seven security smells. Next, we implement and validate a static analysis tool called Security Linter for Infrastructure as Code scripts (SLIC) to identify the occurrence of each smell in 15,232 IaC scripts collected from 293 open source repositories. We identify 21,201 occurrences of security smells that include 1,326 occurrences of hard-coded passwords. We submitted bug reports for 1,000 randomly-selected security smell occurrences. We obtain 212 responses to these bug reports, of which 148 occurrences were accepted by the development teams to be fixed. We observe security smells can have a long lifetime, e.g., a hard-coded secret can persist for as long as 98 months, with a median lifetime of 20 months.
机译:从业者使用基础架构作为代码(IAC)脚本来提供服务器和开发环境。在开发IAC脚本时,从业者可能会无意中引入安全气味。安全气味是具有指示安全弱点的重复编码模式,可能导致安全漏洞。本文的目标是帮助从业者避免不安全的编码实践,同时通过IAC脚本中的安全气味的实证研究发展基础设施作为代码(IAC)脚本。我们对1,726个IAC脚本进行定性分析,以确定七种安全气味。接下来,我们实现并验证称为Infrastructure的安全Linter的静态分析工具,作为代码脚本(SLIC),以确定从293个开源存储库收集的15,232个IAC脚本中的每个气味的发生。我们识别21,201个出现的安全气味,包括1,326个硬编码密码。我们为1,000个随机选择的安全气味出现提交错误报告。我们获得了212份对这些错误报告的回应,其中开发团队接受了148个出现的问题。我们观察安全气味可以长一生,例如,硬编码的秘密可以持续到98个月,中位数寿命为20个月。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号