Stop trusting compromised eMudhra roots in the Alpine build image #163
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.23) × (1 − Review Confidence (0.85)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.23 · 15 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.78 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
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.166
Real PR Conversation Timeline
5 items
build.yml has its own asan job without this suppression, and main has been red there since
August. Could you add the same step there?
Done in af8659c: build.yml's asan job now sets the same LSAN_OPTIONS suppression before test:js-asan.
@CarlesDD the build.yml suppression is in (af8659c) and every check is green, including all asan jobs. Ready for another look when you have a moment.
Approved
LGTM
CarlesDD
eliottness
What does this PR do?
Stops the Alpine build image from trusting emSign ECC Root CA - G3 and AAA Certificate Services. The APPSEC-71273 ledger lists 3 impacted image references in this repository: 3 fixed here, 0 fixed at their in-repo image source (clean once that image is republished), 0 follow-ups.
docker/alpine.Dockerfile: removes both roots from the CA stores for everyTAGit is built with. Alpine 3.18 is the musl compatibility target in.github/workflows/build.yml, so the base tag stays; the same patch was proven clean on the Alpine 3.8 build of this file, and PR CI builds the 3.18 variant.Motivation
Incident IR-62343: the compromised eMudhra intermediates chain to emSign ECC Root CA - G3 and AAA Certificate Services, and every CI image whose CA stores still trust them keeps the exposure. Jira: APPSEC-71289 (parent APPSEC-71273).
Additional Notes
Every new image reference was pulled and every changed Dockerfile was built, then scanned with the eMudhra scanner (it checks every file in the image for the two roots' public keys); all returned empty hits. Images that CI never builds or pulls are left alone.
CI fix included:
asan (24)failed on every PR with the same LeakSanitizer report (24 bytes fromCRYPTO_mallocinossl_load_builtin_compressions, inside the runner's Node.js 24.21.0).suppressions/node-lsan.suppalready suppresses exactly that frame but was applied only to Node 26; the second commit applies it to every Node version in the asan job.Checklist