Skip to content

chore(deps): remove affected nested OpenTelemetry core dependency #4102

Closed

Description

@yannickmonney

The production dependency lock contains @opentelemetry/[email protected], covered by moderate GHSA-8988-4f7v-96qf. Upgrade the affected dependency chain and retain the backend's current error-reporting behavior.

Evidence:

  • Security run 37071846371, Bun audit job checked out 7cddd6d7734082c8127797639d8220ef4fba97a4 and reported this advisory at 2026-10-02 22:20:27 UTC. The high/critical gate passed; this is a moderate finding.
  • services/platform/package.json pins @sentry/node 10.48.0. In bun.lock, it depends on @opentelemetry/instrumentation-http 0.214.0, whose exact core dependency is 2.6.1. The nested lock entry confirms that version. Top-level core 2.10.0 is already outside the affected range; updating or checking only that entry will miss the nested copy.
  • The audit's grouped path/version output is not a complete reachability trace. The nested HTTP instrumentation path above is verified directly from the lock.
  • The upstream advisory covers core below 2.8.0 and identifies 2.8.0 as patched. Its practical HTTP impact depends on transport/header limits.

Exposure boundary: this report verifies dependency presence, not exploitation in Tale. backend/error-reporting.ts initializes Sentry only with a DSN, uses spans:false for HTTP/fetch and preserves tracePropagationTargets:[]. No production probe or oversized-input test was performed. Preserve those privacy and tracing boundaries while upgrading.

Acceptance:

  • Choose a compatible maintained Sentry/OpenTelemetry update that removes every affected production core copy; do not blindly override an exact nested pin or change tracing policy to silence the audit.
  • Confirm the frozen dependency graph and a fresh production audit no longer report this advisory; retain the full report and high/critical gate outcome.
  • Run existing error-reporting/privacy regressions, required backend integration and the full repository gate on the final head. Add focused regression coverage only for behavior changed by the upgrade.
  • Record whether any affected code is reachable under Tale's actual configuration using source analysis and local synthetic fixtures only; distinguish proven reachability from dependency presence.
  • Independent review before merge. Normal deduplicated fleet intake owns assignment; no human review task is requested.

All-state searches for the exact GHSA ID and OpenTelemetry found no relevant existing issue before filing. This dependency state predates PR #4100.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions