Repository navigation
fix(deps): ship Bun 1.4.4 runtime to drop the compromised eMudhra root #7606
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,7 +39,7 @@ install-scripts ... blocked because they are not covered by allowScripts`), | |
| which leaves the bundled Bun runtime unprepared. After trying permitted bundled-runtime | ||
| recovery, the launcher can use an executable Bun from an absolute PATH directory if its | ||
| stable version has the pinned major and a minor at least the pinned minor. With the current | ||
| 1.4.2 dependency, that means 1.4.0 or newer within major 1. Bounded version-policy and identity | ||
| 1.4.4 dependency, that means 1.4.0 or newer within major 1. Bounded version-policy and identity | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The published Korean installation page at AGENTS.md reference: docs-site/AGENTS.md:L9-L10 Useful? React with 👍 / 👎. |
||
| checks require `bun --version` to match `bun -e`'s `Bun.version`. On POSIX, the launcher checks | ||
| the whole candidate path, including ancestor directories and components reached through | ||
| symlinks. Each traversed directory and symlink, and the resolved executable, must be owned by | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,7 +82,7 @@ | |
| "@bufbuild/protobuf": "^2.14.0", | ||
| "@modelcontextprotocol/sdk": "^1.32.1", | ||
| "@napi-rs/keyring": "1.3.0", | ||
| "bun": "1.4.2", | ||
| "bun": "1.4.4", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
In the scheduled cleanup job, AGENTS.md reference: AGENTS.md:L446-L452 Useful? React with 👍 / 👎. |
||
| "zod": "4.4.3" | ||
| }, | ||
| "devDependencies": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When the bundled binary is unavailable after a blocked or failed postinstall,
bin/ocx.mjs:1069sends this 1.4.4 pin tofindPathBun, butsrc/lib/bun-path-runtime.mjs:128only compares major and minor, so a PATH Bun 1.4.2 is still accepted. That runtime retains the compromised CA this update is meant to remove, so affected npm/pnpm installs can still accept forged provider TLS certificates while sending credentials; enforce a 1.4.4 patch floor in the fallback and adjust the acceptance tests/docs.AGENTS.md reference: AGENTS.md:L446-L452
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed in the follow-up #7734: automatic PATH selection now requires the complete package pin, including its patch version, while preserving the same-major limit and later-candidate fallback. The baseline accepts 1.4.2 at pin 1.4.4; the candidate rejects it. Focused regression checks and exact-head CI pass. The follow-up is ready for review; it has not been merged or deployed.