Closing the Gap: Automated Discovery of Secure Dockerfile Reference Standards via Semantic Clustering in Enterprise Inner Source

📅 2026-08-26
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出一种自动化六阶段流程,通过语义聚类等方法发现企业内部安全的Dockerfile参考标准,以解决容器镜像的安全配置错误问题。
📝 Abstract
Containerization dominates enterprise software delivery, yet Dockerfiles that assemble container images frequently harbor security misconfigurations and structural technical debt. This problem is poorly understood in corporate inner-source environments, where proprietary context and isolated governance prevent direct application of open-source findings. We present an automated, six-stage pipeline that: (1) crawls an enterprise GitLab instance, (2) enriches each Dockerfile with static security and quality metrics (Hadolint, ShellCheck, Trivy) and lifecycle data, (3) groups functionally identical workloads using LLM-generated semantic descriptions and HDBSCAN, and (4) quantifies the optimization gap against cluster-internal reference implementations. Applied to 11,470 Dockerfiles from over 6,200 repositories at a single large industrial company, we find a systemic deficit: 99\% of files contain at least one security misconfiguration, 80.8\% violate Dockerfile best practices, and the median artifact has not been revised for 838~days. Despite this, high-quality reference implementations already exist within 83\% of functional clusters. Adopting these internal standards would increase the average security posture score by 60.4\% without developing any new templates. These findings, grounded in one organization's inner-source ecosystem, provide a data-driven foundation for future automated, context-aware recommender systems targeting enterprise supply-chain security; whether the observed technical-debt distribution and optimization gap generalize to other enterprises remains an open question for future multi-organization study.
Problem

Research questions and friction points this paper is trying to address.

Dockerfile
security misconfigurations
technical debt
inner-source
enterprise
Innovation

Methods, ideas, or system contributions that make the work stand out.

Automated Pipeline
Semantic Clustering
Dockerfile Security
Inner Source
Reference Standards
🔎 Similar Papers
No similar papers found.
J
Jessica Hösl
Technical University of Munich
B
Benedikt Hofmann
Siemens AG
P
Patrick Stöckle
Siemens AG