← Back to Pull requests

Promote scanned build images with scoped kernel-header findings #241

Closed
unknown closed this pull request without merging on Sep 30, 2026 15:49 UTC
View on GitHub
unknown unknown commented on Sep 27, 2026 17:25 UTC
Author

ECR Basic Scanning completes on the Debian 13 build images but attributes 136 runtime-kernel CVEs to the installed userspace header package linux-libc-dev. Two other critical findings come from Debian stable’s curl package.

Install curl 8.21 from Trixie backports and verify every installed curl-source package meets that version floor. Verify linux-libc-dev is the only installed binary from Debian’s linux source both after package installation and in the final unpruned and pruned images. Keep incremental image seeds on the configured Debian release.

Promotion still requires complete scans and matching summary/list counts. It reports the runtime-kernel header findings and refuses every other critical finding, including unknown packages or malformed records.

Validated package installation in a Trixie container, compatibility checks against Trixie and unstable images, local CI policy/image tests, and a live fail-closed probe against the current ECR scan: 136 header-only Linux findings were recognized, while the two remaining curl findings blocked promotion. The full rebuilt image and its new ECR scan remain to be validated by CI.

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

Summary by CodeRabbit

Build Environment
Build images now use Debian Trixie and verify required Linux and curl packages, including minimum curl versions.
Reused build images are selected only when their Debian release matches the configured base.

Bug Fixes
Image promotion now rejects incomplete or inconsistent vulnerability scan reports and blocks non-exempt critical findings. Eligible Linux kernel findings are reported separately.
AWS runner workflows validate repository details before constructing image locations.

Tests
Expanded checks cover package verification, scan report validation, and AWS image repository handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Diff: 246 lines (+184 / -62) across 3 files Reviewer: griwes Review duration: 4224m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 246 lines diff across 3 files
0.39
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
60%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.330
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #241"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 38.9% (MEDIUM) · Higher = larger blast radius
38.9%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 60.5% · Lower = rushed or shallow review
60.5%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 15.4% · Safe to merge
15.4%