@inproceedings{10.1145/3832783.3834500,
author = {H{\"o}sl, Jessica and Hofmann, Benedikt and St{\"o}ckle, Patrick},
title = {Closing the Gap: Automated Discovery of Secure Dockerfile Reference Standards via Semantic Clustering in Enterprise Inner Source},
year = {2026},
isbn = {9798400728822},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3832783.3834500},
doi = {10.1145/3832783.3834500},
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&nbsp;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.},
booktitle = {Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering},
pages = {4104–4115},
numpages = {12},
keywords = {DevSecOps, Dockerfile security, LLM, container security, inner-source, mining software repositories, semantic clustering, technical debt},
location = {Munich, Germany},
series = {ASE '26}
}
