paperbot · PL 论文追踪

全部论文 待读 收藏

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

弥合差距:在企业内源中通过语义聚类自动发现安全的 Dockerfile 参考标准
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 3/10 · 该论文聚焦企业内源 Dockerfile 的安全标准发现,使用静态检查工具与 LLM 语义聚类,并具备工业落地案例;但其分析对象是容器配置而非 ML/Agentic 程序,也未用 LLM/Agent 改进静态分析或形式化验证,与用户核心方向(PL↔AI、浮点/贝叶斯程序分析)相距较远。引用 0 inbox
Jessica Hösl, Benedikt Hofmann, Patrick Stöckle
crossref: 2026-10-09

AI 速览

一句话:提出六阶段流水线,用LLM语义聚类挖掘企业内源Dockerfile参考标准并量化安全优化差距。

企业内源 Dockerfile 的安全配置错误与技术债缺乏理解,开源发现难以直接适用。本文提出六阶段流水线:爬取企业 GitLab,用 Hadolint、ShellCheck、Trivy 补充静态安全/质量指标与生命周期数据,借助 LLM 语义描述和 HDBSCAN 聚类功能相同工作负载,并以簇内参考实现量化优化差距。对某工业企业 6,200 多仓库的 11,470 个 Dockerfile 分析发现:99% 至少含一项安全配置错误,80.8% 违反最佳实践,中位文件 838 天未修订;但 83% 功能簇内已有高质量参考实现,采用内部标准可使平均安全态势得分提高 60.4%,无需新模板。该结果仍限于单一企业,泛化性待多组织研究。

问题
企业内源环境中的 Dockerfile 安全配置错误与结构性技术债缺乏实证理解,且专有上下文使开源最佳实践难以直接迁移。
方法
构建六阶段自动化流水线,结合静态分析指标、生命周期数据、LLM 语义描述与 HDBSCAN 聚类,识别功能相同工作负载并以簇内参考实现量化优化差距。
评估
在某大型工业企业 11,470 个 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.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12475,
  title = {Closing the Gap: Automated Discovery of Secure Dockerfile Reference Standards via Semantic Clustering in Enterprise Inner Source},
  author = {Jessica Hösl and Benedikt Hofmann and Patrick Stöckle},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834500}
}