Skip to content

fix: upgrade effect dependency from pinned 3.3.2 to ^3.20.0 (GHSA-38f7-945m-qr2g)#201

Merged
antoine-coulon merged 5 commits intomainfrom
copilot/fix-effect-security-issue
Mar 31, 2026
Merged

fix: upgrade effect dependency from pinned 3.3.2 to ^3.20.0 (GHSA-38f7-945m-qr2g)#201
antoine-coulon merged 5 commits intomainfrom
copilot/fix-effect-security-issue

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 31, 2026

effect was pinned to 3.3.2 — a 2-year-old version with a high-severity vulnerability (GHSA-38f7-945m-qr2g): AsyncLocalStorage context contamination inside Effect fibers under concurrent RPC load. This was surfacing as a transitive security advisory for downstream consumers of skott.

Summary

Upgrades effect to ^3.20.0 (resolves to 3.21.0), the first patched release.

Implementation

  • packages/skott/package.json: "effect": "3.3.2""effect": "^3.20.0"
  • pnpm-lock.yaml: regenerated; effect now resolves to 3.21.0

Using a caret range (^3.20.0) rather than a new pinned version follows the recommendation in the issue and avoids re-pinning to a version that may itself become stale.

Testing

All 139 existing unit tests pass without modification — the effect APIs used (Effect, Option, Either, Context, Exit, pipe, identity) are stable across this version range.

  • Unit tests were added to cover the new feature or bug fix (+ eventually integration tests, but unit should be preferred whenever its possible).

Impacted documentation

No behavioral change; no changeset required.

  • Changesets were generated using pnpm changeset at the root of the workspace, affected packages are being bumped (either patch/minor) and a clear description for each of the affected packages was added.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://storage.googleapis.com/chromium-browser-snapshots/Linux_x64/1045629/chrome-linux.zip
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node install.js (http block)

If you need me to access, download, or install something from one of these locations, you can either:

 security vulnerability

Agent-Logs-Url: https://github.com/antoine-coulon/skott/sessions/8d5222d5-f224-4bf8-ba37-869ad7359711

Co-authored-by: antoine-coulon <43391199+antoine-coulon@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix security issue by updating effect version fix: upgrade effect dependency from pinned 3.3.2 to ^3.20.0 (GHSA-38f7-945m-qr2g) Mar 31, 2026
Copilot AI requested a review from antoine-coulon March 31, 2026 21:21
@antoine-coulon antoine-coulon marked this pull request as ready for review March 31, 2026 21:24
@antoine-coulon
Copy link
Copy Markdown
Owner

@copilot run "pnpm changeset" to generate a pnpm changeset

skott_bot and others added 2 commits March 31, 2026 21:27
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 31, 2026

@copilot run "pnpm changeset" to generate a pnpm changeset

Done — added a patch changeset for skott in commit 0f47bb1 (.changeset/ajwi-rrh-hwf.md).

@antoine-coulon antoine-coulon merged commit 41e2cdb into main Mar 31, 2026
@antoine-coulon antoine-coulon deleted the copilot/fix-effect-security-issue branch March 31, 2026 21:28
Copilot stopped work on behalf of antoine-coulon due to an error March 31, 2026 21:28
@github-actions github-actions bot mentioned this pull request Mar 31, 2026
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.

skott is pinning a specific, old version of effect which now has a security issue

2 participants