ci: stop trusting compromised eMudhra roots in CI images #10912
Benchmarks
Benchmark execution time: 2026-10-26 11:20:32
Comparing candidate commit c2a44804cf8f6b605904ac35e673f15f5c3936db in PR branch eliottness/emudhra-ca-roots with baseline commit 375b304ff46498cd459717e18265d59ff5540b8c in branch master.
Found 0 performance improvements and 0 performance regressions! Performance is the same for 2448 metrics, 9 unstable metrics.
<details>
<summary><h3>Explanation</h3></summary>
This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:
🟩 = significantly better candidate vs. baseline
🟥 = significantly worse candidate vs. baseline
We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.
If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.
Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.
<details>
<summary><h4>More details about the CI and significant changes</h4></summary>
You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.
CIs of the difference of means are often centered around 0%, because often changes are not that big:
---------------------------------(------|---^--------)-------------------------------->
-0.6% 0% 0.3% +1.2%
| | |
lower bound of the CI --' | |
sample mean (center of the CI) -------------' |
upper bound of the CI ----------------------'
As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).
For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:
----------------------------------------|---------|---(---------^---------)---------->
0% 1% 1.3% 2.2% 3.1%
| | | |
significant impact threshold --------------' | | |
lower bound of CI --------------' | |
sample mean (center of the CI) --------------------------' |
upper bound of CI ----------------------------------'
</details>
</details>
<details>
<summary><h3>Unstable benchmarks</h3></summary>
These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.
scenario:appsec-appsec-enabled-20
max_rss_usage [-58.825MB; +39.692MB] or [-21.236%; +14.329%]scenario:appsec-iast-with-vulnerability-iast-enabled-default-config-26
max_rss_usage [-27.562MB; +14.765MB] or [-9.103%; +4.877%]scenario:openfeature-scale-full-24
max_rss_usage [-16.959MB; +24.086MB] or [-5.533%; +7.858%]scenario:openfeature-scale-full-26
max_rss_usage [-31.822MB; +28.967MB] or [-12.863%; +11.709%]scenario:plugin-elasticsearch-search-20
cpu_user_time [-146.419ms; +327.270ms] or [-3.962%; +8.855%]execution_time [-146.501ms; +327.663ms] or [-3.964%; +8.865%]throughput [-60001.985op/s; +27368.089op/s] or [-8.149%; +3.717%]scenario:test-optimization-wide-tags-24
cpu_user_time [-155.832ms; +225.278ms] or [-4.162%; +6.016%]execution_time [-152.891ms; +226.973ms] or [-4.048%; +6.010%]</details>
Overall package size
Self size: 9.69 MB
Deduped: 10.44 MB
No deduping: 10.44 MB
<details><summary>Dependency sizes</summary>
| name | version | self size | total size |
|------|---------|-----------|------------|
| import-in-the-middle | 3.5.1 | 127.66 kB | 528.28 kB |
| opentracing | 0.14.7 | 194.81 kB | 194.81 kB |
| dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |
</details>
<sub>🤖 This report was automatically generated by heaviest-objects-in-the-universe<sub>
<a target='_blank' href='https://app.datadoghq.com/ci/pipeline-executions?query=ci_level%3Ajob+%40git.commit.sha%3Ac2a44804cf8f6b605904ac35e673f15f5c3936db&referrer=pr-comment&start=1793010915000'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/pipelines-ok-light.svg" alt="Pipelines" align="center" /></picture></a> <a target='_blank' href='https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest+%40git.commit.sha%3A20c7c52e6aabcd890272bc184e8d44fd56701eb5&referrer=pr-comment&start=1793010915000'><picture><source media="(prefers-color-scheme: dark)" srcset="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/tests-ok.svg"/><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/badges_header/tests-ok-light.svg" alt="Tests" align="center" /></picture></a>
<details><summary><b>🎉 All green!</b></summary>
🧪 All tests passed
❄️ No new flaky tests detected
</details>
🔄 Datadog retried 2 tests - 2 passed on retry <a href="https://app.datadoghq.com/ci/test/runs?query=test_level%3Atest+%40git.commit.sha%3A20c7c52e6aabcd890272bc184e8d44fd56701eb5+%40test.is_retry%3Atrue+AND+%28%40test.retry_reason%3Aauto_test_retry+OR+%28-%40test.retry_reason%3A%2A+AND+-%40test.is_new%3Atrue%29%29&referrer=pr-comment" title="View in Datadog"><img src="https://static.datadoghq.com/static/images/pr_comments/software_delivery/datadog_icon.svg" alt="View in Datadog" align="center" /></a>
🎯 Code Coverage (<a target='_blank' href='https://app.datadoghq.com/ci/code-coverage/github.com%2Fdatadog%2Fdd-trace-js/pull-requests/10912'>details</a>)<br>• <strong><span title="Percentage of modified executable lines covered by tests in this PR">Patch Coverage</span></strong>: 100.00%<br>• <strong><span title="Percentage of all executable lines covered by tests in the entire codebase">Overall Coverage</span></strong>: 98.35% <span title="Change in overall coverage compared to the base branch">(-0.01%)</span><br>
<sub>
This comment will be updated automatically if new data arrives. <br />
🔗 Commit SHA: c2a4480 | <a href="https://docs.datadoghq.com/integrations/guide/source-code-integration/#pr-comments">Docs</a> | <a href="https://app.datadoghq.com/ci/pull-request/Z2l0aHViLmNvbS9kYXRhZG9nL2RkLXRyYWNlLWpzLzEwOTEy?referrer=pr-comment">View more details</a> | Give us <a href="https://dd.enterprise.slack.com/archives/C07E3U2QRMM">feedback</a>!
</sub>
Codecov Report
:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 98.96%. Comparing base (
375b304) to head (c2a4480).:warning: Report is 2 commits behind head on master.
<details><summary>Additional details and impacted files</summary>
@@ Coverage Diff @@
## master #10912 +/- ##
=======================================
Coverage 98.96% 98.96%
=======================================
Files 1069 1069
Lines 175303 175303
Branches 72 72
=======================================
Hits 173485 173485
Misses 1817 1817
Partials 1 1
| Flag | Coverage Δ | |
|---|---|---|
| ai-guard | 63.65% <ø> (-0.02%) | :arrow_down: |
| apm-capabilities | 54.77% <ø> (ø) | |
| apm-integrations | 80.89% <ø> (-0.02%) | :arrow_down: |
| appsec | 57.27% <ø> (-0.01%) | :arrow_down: |
| debugger | 70.86% <ø> (-0.02%) | :arrow_down: |
| instrumentation | 55.40% <ø> (-0.01%) | :arrow_down: |
| llmobs | 81.39% <ø> (-0.02%) | :arrow_down: |
| master-coverage | 98.96% <ø> (?) | |
| openfeature | 67.35% <ø> (-0.02%) | :arrow_down: |
| platform | 68.39% <ø> (-0.01%) | :arrow_down: |
| profiling | 65.88% <ø> (-0.03%) | :arrow_down: |
| serverless | 64.89% <ø> (-0.02%) | :arrow_down: |
| test-optimization | 82.05% <ø> (+0.02%) | :arrow_up: |
Flags with carried forward coverage won't be shown. Click here to find out more.
</details>
:umbrella: View full report in Codecov by Harness.
:loudspeaker: Have feedback on the report? Share it here.
<details><summary> :rocket: New features to boost your workflow: </summary>
</details>
<!-- codex-pull-request-review-summary -->
<!-- codex-review-state:v1 {"code_review":{"commit_sha":"c2a44804cf8f6b605904ac35e673f15f5c3936db","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"},"security_review":{"commit_sha":"c2a44804cf8f6b605904ac35e673f15f5c3936db","has_any_findings":false,"has_unresolved_findings":false,"status":"completed"}} -->
<!-- codex-security-review:v1 {"blockingSeverityThreshold":"P0","headSha":"c2a44804cf8f6b605904ac35e673f15f5c3936db","mergeGateEnabled":false,"pullRequestNumber":10912,"repository":"DataDog/dd-trace-js","status":"completed"} -->
Codex Review Summary
This comment shows the latest Codex review activity on this pull request.
| Review | Status | Commit | Review trigger |
| --- | --- | --- | --- |
| 📝 Code Review | ✅ Completed <relative-time datetime="2026-10-26T13:35:18.255856Z">2026-10-26T13:35:18.255856Z</relative-time> | c2a4480 | Draft marked ready |
| 🔒 Security Review | ✅ Completed <relative-time datetime="2026-10-26T13:38:29.003271Z">2026-10-26T13:38:29.003271Z</relative-time> | c2a4480 | Draft marked ready |
<details> <summary>ℹ️ About Codex in GitHub</summary>
<br/>
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.
</details>
<details>
<summary>More details</summary>
The updated pins provide partial remediation: browser and NSS stores remain affected pending upstream releases, as explicitly documented. Rebuilt-image certificate contents were not independently verified.
</details>
Was this helpful? React 👍 or 👎
<sub>Open Bits AI session</sub>
<sub>🤖 Bits Code Review · Commit c2a4480</sub>
<!-- autotest-meta model=gpt-6.1-sol engine=codex reasoning_effort=high verdict=PASS ddrs_bucket=unknown session_id=94c088ef-b86a-4e65-95bd-e6977dd62321 -->
<!-- datadog-code-review reviewer-id=bad90057-5c12-4101-ad47-d91c9dff0f90 -->
<!-- datadog-autotest:v1:prod -->
<!-- datadog-autotest-delivery:v1:prod:4a4e63ff7d11973a6f662d5ebd88b4036125290afaae7e14ea6361edf6f18048:bundle -->
Approved these changes.
bengl
eliottness
What does this PR do?
Images used by this repository's CI still ship CA stores that trust emSign ECC Root CA - G3 and/or AAA Certificate Services, the roots behind the compromised eMudhra intermediates (incident IR-62343). The APPSEC-71273 ledger lists 38 impacted image references here. Images that CI never builds or pulls are left alone.
Changes
.github/playwright/Dockerfile-
node:24.14.1-bookworm-slim@sha256:e484ae3f1e3c378021c967fd42254f343c302a9263e412280eac32bf5bca7008->node:24.22.1-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205: base scans clean; CI build passes but final browser image still hits (below).-
oven/bun:1.3.1@sha256:c1526bc496336087e5bdfaf519746c12ac4d5ebdda6d8a99d27ebd5d9ad7304c->oven/bun:1.4.4@sha256:1d22548f177f4ff38e0c15baa3c2c46c6c2060ba2d1bc573bb4720b407548f1d: base scans clean; CI build passes but final browser image still hits (below)..github/browser-tools/Dockerfile(renamed from.github/selenium/Dockerfileby #10893 on master)-
node:24.14.1-bookworm-slim@sha256:e484ae3f1e3c378021c967fd42254f343c302a9263e412280eac32bf5bca7008->node:24.22.1-bookworm-slim@sha256:55fb5f5a527ea2c5c4a95f963e48ef90aa38c7b346054fdc8ee9957a2b55d205: base scans clean; CI build passes but final browser image still hits (below)..github/workflows/apm-integrations.yml-
memcached@sha256:6627e971255440a1bd789ca709d8c6c767b98ad4ba0b29d49c7949ba3275cbf9->memcached@sha256:6d687bc26426d092694743054fc674fc54d3c161fefa1ad20b54192f8580a8c1 # 1.6-alpine: Upgraded the memcached service from EOL 1.5-alpine to the newest clean 1.6-alpine (= alpine). No test depends on the 1.5 server version.-
redis@sha256:a0bb2f95a4672c5bbf3a01fcc2eb6dfb8fd898d83fc71cbf012c6b9479ab1607->redis@sha256:592b215e9287182f11ba9d7c229dc0ba312bb900a016ea65ae378b0127567319 # 6.2-alpine: Re-pinned the redis and ioredis job services to the current clean digest of the same 6.2-alpine tag. Kept the major version per the large-jump rule.-
redis@sha256:c9d92d840fd011c908f040592857c724ae6d877f2aba5c40ad963276507386b2->redis@sha256:57e4255cc971b1c8d6f8a6ca283ac01bc3ecdd914273ef6bfaede87aaecd6541 # 7-alpine: Moved the bullmq service from 7.0-alpine to the newest clean release in the same major, redis 7-alpine. Kept the major version per the large-jump rule (7.0-alpine is also pinned in docker-compose.yml).-
valkey/valkey@sha256:1cb6b20b70d927560cc4cc5397b5f045e74aa603ff7696274778880bb6fadc75->valkey/valkey@sha256:640c5e62cea04b6d6f2084232651d0cc70362d31f4f805e7be94dbed6855e8f2 # 8.1: Moved the iovalkey service from 8.1-alpine to the same 8.1 line on Debian (valkey/valkey:8.1 = 8), which scans clean; every alpine 8.x/9.x tag scanned still hits. Kept the major version per the large-jump rule.Motivation
Incident IR-62343 and Jira APPSEC-71278 (parent APPSEC-71273) require removing trust in the two compromised roots from CI images without changing unrelated version-specific test targets.
Additional Notes
Verification
Every new base/service image reference was pulled and scanned with the eMudhra scanner (checks files for the roots' public keys); those refs return empty hits. Of the 38 impacted references: 4 direct pins are fixed here, and 34 follow-ups remain below. The final browser images are not clean after their CI builds.
.github/playwright/Dockerfile: full image build in PR CI (playwright-image, Test Optimization workflow)..github/browser-tools/Dockerfile: full image build in PR CI (browser-tools, Test Optimization workflow).ghcr.io/datadog/dd-trace-js/browser-tools:74feb247still hits both roots in/opt/google/chrome/chromeandlibnssckbi.so, and emSign in/usr/bin/chromedriver.ghcr.io/datadog/dd-trace-js/playwright-tools:1.64.1-653ecf65still hits both roots in Chromium, its headless shell, andlibnssckbi.so./usr/lib/x86_64-linux-gnu/libnssckbi.socomes from Debian bookworm'slibnss3(nss3.87.1-1+deb12u2), whose built-in roots still include both; Debian ships the removal only in sid (nss3.131.1-1). Both images need a rebuild once those upstream releases exist (see the first follow-up group).Follow-ups (not in this PR)
ghcr.io/datadog/dd-trace-js/browser-tools(Google Chrome stable, chromedriver, bookwormlibnss3) andghcr.io/datadog/dd-trace-js/playwright-tools(Playwright Chromium and headless shell, bookwormlibnss3). Rebuild both after Chrome/Playwright and Debian bookworm nss drop the two roots.-
scholzj/qpid-cpp@sha256:480142b4c1a6: Moving the test target changes its version, and both 1.38.0 and latest still trust the roots.-
rabbitmq@sha256:ebe7ba2c73c7: RabbitMQ 3.6 and the newest 3.x still hit; clean 4.4 is a major change to a test service pinned to 3.6 here and in docker-compose.yml.-
redis@sha256:c9d92d840fd0: This digest remains a version-specific test target elsewhere, so moving its tag changes the tested version.-
cassandra@sha256:61cbfa672b25: Moving the test target changes its version, and 3.11, 4.1, and 5.0.9 still hit OS or JDK stores.-
elasticsearch@sha256:432f21444d8b: Moving the test target changes its version, and tested 7.x, 8.x, and 9.x still hit OS or JDK stores.-
mariadb@sha256:22edfe1c7834: Moving the test target changes its version, and latest, LTS, and 13.0.2 still trust emSign in the OS bundle.-
ghcr.io/rochdev/limitd@sha256:3315deb2a9fb: Moving the test target changes its version, while upstream latest still resolves to this EOL Alpine 3.9 image and needs a source rebuild.-
memcached@sha256:6627e9712554: This digest remains a version-specific 1.5 test target elsewhere, so moving its tag changes the tested version.-
prismagraphql/mongo-single-replica@sha256:3efd76778f3d: Moving the test target changes its version; newest 5.0.3 still hits, and latest cannot be resolved (Hub and mirror.gcr.io return 404).-
localstack/localstack@sha256:934a0d7fdab2: The 1.1.0 test target is pinned for lambda/S3 compatibility in serverless.yml; newer tested versions still hit.-
ghcr.io/ridedott/pubsub-emulator@sha256:072d9ce6d89c: Moving the test target changes its version, and upstream latest still resolves to this EOL Debian 11 image requiring a source rebuild.-
postgres@sha256:b1d91bceef1f: Moving the tag would change this version-specific test target.-
circleci/mongo@sha256:ce33f29bababa: Moving the tag would change this version-specific test target.-
mstruebing/editorconfig-checker@sha256:eb478136c434: Dependabot pins this offline linter; its image needs a source rebuild, though it makes no outbound TLS calls.-
ghcr.io/datadog/couchbase-server-sandbox@sha256:4ffbf2bc9785: Latest still resolves to this impacted digest, with roots in the OS bundle, cbas JDK cacerts, and bundled certifi.-
ghcr.io/datadog/dd-trace-js/mcr.microsoft.com/mssql/server@sha256:8bb7f2f06841: The mirrored image still trusts the roots; re-mirror through mirror-image.yml when Microsoft publishes a clean version.-
ghcr.io/datadog/dd-trace-js/mcr.microsoft.com/azure-storage/azurite@sha256:647c63a91102: The mirror remains impacted, and upstream 3.36.0 and 3.37.0 still hit the OS bundle and Node; re-mirror when upstream is clean.-
ghcr.io/datadog/dd-trace-js/mcr.microsoft.com/azure-messaging/eventhubs-emulator@sha256:25ec4141efb6: The published mirror remains impacted; re-mirror through mirror-image.yml when Microsoft publishes a clean version.-
ghcr.io/datadog/dd-trace-js/mcr.microsoft.com/azure-sql-edge@sha256:1dcc88d2d9e5: The published mirror remains impacted; re-mirror through mirror-image.yml when Microsoft publishes a clean version.-
ghcr.io/datadog/dd-trace-js/mcr.microsoft.com/azure-messaging/servicebus-emulator@sha256:353913ece3d9: The published mirror remains impacted; re-mirror through mirror-image.yml when Microsoft publishes a clean version.-
ghcr.io/datadog/dd-trace-js/mcr.microsoft.com/cosmosdb/linux/azure-cosmos-emulator@sha256:bf3bd3cbe3fa: The published mirror remains impacted; re-mirror through mirror-image.yml when Microsoft publishes a clean version.-
ghcr.io/datadog/dd-apm-test-agent/ddapm-test-agent@sha256:e83bb3b3805a: Both latest and v1.69.0 still hit; rebuild the image at DataDog/dd-apm-test-agent.-
registry.ddbuild.io/ci/benchmarking-platform:dd-trace-js-117825597@sha256:23a63e17211b: Patch the OS, Node, NSS, and Python stores in .gitlab/benchmarks/container/Dockerfile, rebuild with build-benchmark-ci-images, then re-pin MICROBENCHMARKS_CI_IMAGE.-
aerospike@sha256:f268d48f5075: The pinned ce-6.4.0.3 and tested ce-6.4, ce-7.2, and newest ce-8.2 still hit OS or embedded asadm certifi stores.-
apache/kafka@sha256:4ceccc577f03: The pinned 3.9.1 and tested 3.9.2 through 4.4.0 still hit the OS bundle and bundled JDK cacerts.-
circleci/mongo@sha256:454132cea3bd: Latest resolves to the impacted digest; maintained MongoDB 8.x and 9.0.4 still hit OS and compiled-in mongosh roots.-
opensearchproject/opensearch@sha256:7d7f306996c0: Tested 2.8.0, 2.19.7, and 3.8.0 all hit the ca-trust bundle or Java cacerts.-
gvenzl/oracle-xe@sha256:118d22f6df24: Both 18-slim and latest hit ca-trust, while oracle-free is a different product rather than a tag update.-
grokzen/redis-cluster@sha256:f130dd8a322f: Tested 7.0.10, 7.0.15, 7.2.5, and latest all hit the Debian OS bundle, with 7.0.15 also containing source certificates.-
bitnamilegacy/openldap@sha256:687f14a22b5c: Latest remains this impacted OS/NSS digest, and maintained bitnami/openldap:latest is unresolved (Hub and mirror.gcr.io 404).-
localstack/localstack@sha256:e606c4421419: Pinned 3.0.2 and tested 4.14.0, 2026.10.2, and latest still hit OS or Python bundles.-
quillbuilduser/oracle-18-xe@sha256:c98893106a4a: Latest resolves to this impacted OS/JDK/NSS digest, and the Oracle 18 XE test is version-specific.-
opensearchproject/opensearch@sha256:3a73623acf3c: The 2.19.7 tag resolves to a newer digest, but it still hits OS and JDK stores.-
mcr.microsoft.com/azure-storage/azurite: Only a workflow_dispatch help-text example refers to this unmirrored ref; no CI job pulls it.