Skip to content

build(deps): Pin follow-redirects to patched 1.16.1+ to resolve credential-leak advisories - #6949

Merged
antonis merged 1 commit into
mainfrom
chore/override-follow-redirects
Oct 28, 2026
Merged

antonis merged 1 commit into
mainfrom
chore/override-follow-redirects

Conversation

@antonis

@antonis antonis commented Oct 27, 2026

Copy link
Copy Markdown
Contributor

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Adds a resolutions override pinning follow-redirects to the patched 1.16.x line (resolves to 1.16.2) to clear two credential-exposure advisories.

follow-redirects is pinned to exactly 1.16.0 by nx, so a plain lockfile refresh cannot move it — hence the override rather than a yarn up.

Package Before → After Advisory Alert
follow-redirects 1.16.0 → 1.16.2 array-form headers bypass cross-origin credential stripping #708 (high)
follow-redirects 1.16.0 → 1.16.2 sensitiveHeaders regex escaping can expose credential headers #707 (high)

💡 Motivation and Context

Resolves two open Dependabot alerts. follow-redirects is a transitive dev/CI-tooling dependency (via axios and nx) — not a dependency of the shipped @sentry/react-native package (packages/core), so nothing reaches end-user apps.

Both fixes are within the 1.16.x line (patch-level), so the override is low-risk.

💚 How did you test it?

Added "follow-redirects": "^1.16.1" to root resolutions, ran yarn install (resolves to 1.16.2), and verified only package.json and yarn.lock changed.

📝 Checklist

  • I added tests to verify changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • All tests passing.
  • Public API changes reviewed by another Mobile SDK team member or implemented according to the develop docs spec.
  • No breaking changes.

🔮 Next steps

Remove the follow-redirects resolutions override once nx ships a release that no longer pins the vulnerable 1.16.0.

🤖 Generated with Claude Code

…ntial-leak advisories

nx pins follow-redirects to exactly 1.16.0, so a plain lockfile refresh
can't move it. Add a resolutions override forcing >= 1.16.1 (resolves
to 1.16.2) to clear two credential-exposure advisories:

- follow-redirects: 1.16.0 -> 1.16.2 [#707, #708]

Transitive dev/CI-tooling dependency (axios + nx); not shipped in
@sentry/react-native. Patch-level bump; stays on the 1.16.x line.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

Semver Impact of This PR

⚪ None (no version bump detected)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


  • build(deps): Pin follow-redirects to patched 1.16.1+ to resolve credential-leak advisories by antonis in #6949
  • chore(deps): update Maestro to v2.12.0 by github-actions in #6945
  • chore(deps): bump getsentry/craft/.github/workflows/changelog-preview.yml from 2.35.0 to 3.0.0 by dependabot in #6944
  • chore(deps): bump the codeql-action group with 3 updates by dependabot in #6940
  • chore(deps): bump actions/upload-artifact from 7.0.1 to 7.0.2 by dependabot in #6941
  • chore(deps): bump fast-uri from 3.1.8 to 3.1.9 by dependabot in #6946
  • chore(deps): bump undici from 6.29.0 to 6.29.1 by dependabot in #6947
  • chore(deps): bump actions/setup-node from 7.0.0 to 7.1.0 by dependabot in #6943
  • chore(deps): bump ruby/setup-ruby from 1.327.0 to 1.334.0 by dependabot in #6942
  • chore(deps): bump ip-address from 10.7.2 to 10.7.4 by dependabot in #6939
  • chore(deps): update Wizard to v9.0.0 by github-actions in #6936
  • chore(deps): update CLI to v3.8.2 by github-actions in #6933
  • ci: Move CI off end-of-life Node versions to Node 22 by antonis in #6927

🤖 This preview updates automatically when you update the PR.

@github-actions

Copy link
Copy Markdown
Contributor
Fails
🚫 Pull request is not ready for merge, please add the "ready-to-merge" label to the pull request

Generated by 🚫 dangerJS against 7390a2f

@antonis
antonis marked this pull request as ready for review October 27, 2026 09:06
@antonis
antonis merged commit 60b990d into main Oct 28, 2026
65 of 71 checks passed
@antonis
antonis deleted the chore/override-follow-redirects branch October 28, 2026 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants