diff --git a/devopsSecureDelivery.tex b/devopsSecureDelivery.tex index 18c177c..fe9099a 100644 --- a/devopsSecureDelivery.tex +++ b/devopsSecureDelivery.tex @@ -135,7 +135,7 @@ Docker CLI / buildx & 29.10.0 / 0.39.0 & Copied from \texttt{docker:29.10.0-cli} Trivy & 0.76.2 & Copied from \texttt{aquasec/trivy:0.76.2} (digest-pinned).\\ ansible-core / community.docker & 2.22.0 / 5.4.0 & Virtual environment \path{/opt/ansible-venv}.\\ pip-audit & 2.10.1 & Virtual environment \path{/opt/audit-venv}.\\ -Application base image & \texttt{python:3.13.18-slim-trixie} & Pinned by index digest \texttt{sha256:e48f59cd\ldots}; Linux amd64 selected.\\ +Application base image & \texttt{python:3.13.18-alpine} (Alpine 3.24) & Pinned by index digest \texttt{sha256:9ef1a599\ldots}; Linux amd64 selected. OpenSSL packages upgraded at build; pip removed after install. Replaces \texttt{python:3.13.18-slim-trixie} (\autoref{sec:del-security}).\\ Application packages & Flask 3.1.3, gunicorn 23.0.0, Werkzeug 3.1.9, Jinja2 3.1.6, MarkupSafe 3.0.4, click 8.5.1, itsdangerous 2.2.0, blinker 1.9.0, packaging 26.3 & Hashed lock \path{app/requirements.txt}, installed with \texttt{--require-hashes}.\\ \end{tabularx} @@ -195,6 +195,22 @@ made by updating the lock or base image and rebuilding; false positives are documented the same way as exceptions. A green badge alone is not accepted as evidence. +\paragraph{First image-scan result: base image replaced.} \StatusPass{} The +first branch build on the trusted agent (\texttt{feature/issue-7-secure-delivery} +build~2, commit \texttt{4ee9180}, December 2, 2026) passed the unit tests, +pip-audit and the secret scan, then failed the image gate: 55 HIGH findings in +the Debian 13.7 packages of \texttt{python:3.13.18-slim-trixie} (util-linux, +OpenSSL, SQLite, ncurses and others; almost none with a fixed version) and 5 +HIGH findings in \texttt{msgpack}, \texttt{urllib3} and \texttt{setuptools} +shipped with the base image's own pip; 0 CRITICAL, and none in the +application's locked packages. Rather than accept about 50 exceptions, the +team scanned \texttt{python:3.13.18-alpine}: its 4 OpenSSL findings and the same +5 pip findings all had fixes. A test image that upgrades \texttt{libssl3} and +\texttt{libcrypto3} and uninstalls pip after the application install scanned +0~HIGH and 0~CRITICAL and returned total 30 under the production container +restrictions, so the Dockerfile was changed to that base. \StatusPending{} +Confirming pipeline run. + \paragraph{Blocked pipeline demonstration.} \StatusPending{} A synthetic, scanner-recognized test secret will be committed on a branch, shown to fail the secret gate, then removed, with the rerun passing. No live secret or