Skip to content

[TEST DO NOT MERGE] image-scan gate live test: vulnerable wolfi base - #31176

Closed
yucheng-berri wants to merge 4 commits into
litellm_internal_stagingfrom
litellm_imagescan_livetest
Closed

[TEST DO NOT MERGE] image-scan gate live test: vulnerable wolfi base#31176
yucheng-berri wants to merge 4 commits into
litellm_internal_stagingfrom
litellm_imagescan_livetest

Conversation

@yucheng-berri

Copy link
Copy Markdown
Contributor

Live test of the image-scan gate added in PR #31151. Reverts the wolfi-base digest to the pre-#31133 vulnerable 31da6565 (openssl 3.6.2-r3) to confirm the matrix image-scan job fails on all 6 variants. Will close and delete the branch once the gate has demonstrably caught the regression.

Builds the runtime image and scans it with Grype (pinned v0.114.0, sha256
verified), failing the build on fixable HIGH/CRITICAL across both OS/apk
packages and language packages baked into the image. This catches the layer
osv-scan is structurally blind to (Wolfi/apk OS packages and vendored deps
like prisma's node engine), which is the structural reason the openssl CVE
slipped past CI and a customer's image scanner flagged it.

Grype runs as a pinned binary with a verified checksum, so there is no
mutable-tag GitHub Action in the dependency chain and no vendor credentials
in the scan job. The job uses read-only contents permissions and an empty
top-level permissions block.
Previously the workflow's paths filter listed all 6 Dockerfile variants but
the build step always targeted only the root Dockerfile, so a PR editing one
of the other variants would have passed this check on an unchanged image it
did not actually rebuild. Matrix-scan each variant so the gate covers what
the trigger advertises. fail-fast is off so one variant's failure does not
mask others.
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@codecov

codecov Bot commented Jun 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

Live test complete: gate caught the regression. All 6 matrix image-scan jobs failed with the expected openssl findings (CVE-2026-45447 / -34183 / -34180 / -42764 in libcrypto3/libssl3 3.6.2-r3, fixed in 3.6.3-r0). Closing and deleting the test branch. The grype image-scan gate (PR #31151) is verified end-to-end.

@yucheng-berri

Copy link
Copy Markdown
Contributor Author

Closed as DO NOT MERGE; live-test complete.

@yucheng-berri
yucheng-berri deleted the litellm_imagescan_livetest branch June 24, 2026 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants