Add live CA-certificate mitigation tools for COS and GKE #79
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 344 lines diff across 4 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
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.350
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #79"
general
weight: 0.35
SergeyKanzhelev
Summary
Adds
cos-ca-cert-mitigation/providing live mitigation tools to distrust the compromised eMudhra (emSign) root CAs and the cross-signingAAA Certificate Services(Comodo_AAA_Services_root.crt) root CA on running Container-Optimized OS (COS) instances and GKE Standard (COS_CONTAINERD) nodes before upgrading to patched OS images.What's Included
| File | Description |
| :--- | :--- |
|
cos-ca-cert-mitigation/cos/mitigate_cos_ca_certs.sh| Standalone, idempotent live-VM mitigation script for COS GCE instances. ||
cos-ca-cert-mitigation/gke/cos-ca-cert-mitigation.yaml| Privileged KubernetesDaemonSet(kube-system/cos-ca-cert-mitigator) that applies the mitigation across all existing and newly autoscaled COS nodes in a GKE Standard cluster without rebooting nodes or disrupting running pods. ||
cos-ca-cert-mitigation/README.md| Deployment, verification, and cleanup instructions for GKE Standard clusters and standalone COS GCE VMs. |How the Mitigation Works
1. System CA Store (
/etc/ca-certificates.conf&/etc/ssl/certs):- Deselects
mozilla/emSign_.crtandmozilla/Comodo_AAA_Services_root.crtin/etc/ca-certificates.confand runsupdate-ca-certificates --fresh.- Mitigates host OpenSSL/C/C++ consumers (
curl,wget,git,oslogin,systemd,chrony), host Python (certifi,urllib3,requests,cloud-init), and Gocrypto/x509CLIs (kubectl,crictl,ctr,docker).2. Read-Only
/usrTrust Stores (dm-verity):- Masks
/usr/share/chromeos-ca-certificates/Comodo_AAA_Services_root.pemwith/dev/null(mitigatingupdate_engine,libbrillo, andcrash_sender).- Bind-mounts the regenerated
/etc/ssl/certs/ca-certificates.crtover/usr/share/grpc/roots.pemif present.3. Built-In Container Utilities (
toolbox&cos-extensions):- Updates
TOOLBOX_DOCKER_TAG="v20261020"in/etc/default/toolbox.- Wraps
/usr/bin/cos-extensionsvia/run/cos-mitigationsocos-extensions install gpudefaults togcr.io/cos-cloud/cos-gpu-installer:v2.7.11.4. Active Host Daemons:
- Restarts active host services (
containerd,docker,kubelet,fluent-bit,update-engine,node-problem-detector,google-guest-agent,google-osconfig-agent,device_policy_manager) so long-running Go and C/C++ processes reload/etc/ssl/certs/ca-certificates.crtin-place.Testing
Verified end-to-end (pre-mitigation, post-mitigation, idempotency re-run, and post-reboot) across:
cos-117-lts,cos-121-lts,cos-125-lts,cos-129-lts,cos-133-lts, andcos-dev(M138)COS_CONTAINERDnode pool (verifiedDaemonSetrollout and zero workload pod restarts)