Repository navigation
fix: block macOS firmlink alias paths in File System Access blocklist - #54677
Conversation
* e85c5aea16d7 from chromium [M150-LTS][FSA] Block macOS firmlink alias paths to sensitive directories (M150-LTS merge of upstream 64c8e2a1ceda). Refs https://chromium-review.googlesource.com/c/chromium/src/+/8410087 (upstream commit 64c8e2a1cedafdbcc750abc423ad9b389537c223) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
…klist checks Switches Electron's copy of ShouldBlockAccessToPath() to the NormalizeFilePathForBlocklist() helper introduced by the companion chromium cherry-pick (upstream 64c8e2a1ceda), so paths spelled via /System/Volumes/Data are matched against the root-namespace blocklist rules the same way Chrome does. Refs https://chromium-review.googlesource.com/c/chromium/src/+/8410087 (upstream commit 64c8e2a1cedafdbcc750abc423ad9b389537c223) Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
… firmlink spec Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Resolve the patches/chromium/.patches conflict with fee1dae (cherry-pick 27 changes from angle, chromium, pdfium and v8, #54899). Both sides appended entries after cherry-pick-ff834f798fe3.patch. Keep all 22 new 43-x-y entries in their order and append cherry-pick-e85c5aea16d7.patch last. The new patches do not touch the files that e85c5aea16d7 patches. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
|
The failing The base branch head, 43-x-y (fee1dae, job 115598584175), failed the same step with the same 429 a few minutes earlier. This is a transient rate limit, so re-running the job once the run finishes should clear it. The patch, C++, and spec changes here were never linted. Generated by Claude Code |
|
The re-run of Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Order patches/chromium/.patches so cherry-pick-e85c5aea16d7.patch stays last, after fix_deliver_clicks_that_another_process_posts_to_a_background_app.patch. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
|
The failing
This PR only touches the File System Access blocklist (a Chromium cherry-pick, plus The workflow run is still in progress, so I'll re-run the failed jobs once after it finishes. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
|
The failure in No specs ran. The job failed in the background Install Dependencies step during There was no spec failure and no ASAN report. This is an intermittent Yarn/CI infrastructure error. This PR's changes (the FSA blocklist cherry-pick, On This failed job will be re-run once, after the current run (39349968154) finishes. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> Claude-Session: https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
|
Release Notes Persisted
|
Electron 43.8.4 updates its embedded Node.js to the v24.22.1 security release (electron/electron#55161). The app and Setup's portable runtime now run the same Node. Electron 43.8.4 also fixes: - a macOS File System Access blocklist bypass (electron/electron#54677); - further blocklist gaps (electron/electron#55331); - asar handling (electron/electron#55179, electron/electron#55185); - tzdata, updated to 2026e (electron/electron#55336). OpenSSL 3.5.9 reaches only Setup's runtime, because Electron's Node uses BoringSSL. - Every Electron pin moves from 43.8.3 to 43.8.4: package.json, the lockfile, the three release input profiles, the Windows pin constant, the linux-inputs hash in the AppImage and DEB contracts, tests and docs. ABI stays 148. - The package's checksums.json matches the official SHASUMS256.txt (75/75), and #363 enforces it at build time. The binary, releases.json and Electron's DEPS all report Node 24.22.1 with ABI 148. src/api/hooks.cc is unchanged since Node 24.22.0, so the #135 fix still comes from upstream Node. - Electron 43.8.4's Linux zips store most files as 0666 or 0777, and so do 44.10.0's and 45.1.0's; the packager keeps stored modes. The Linux thin-app builder now clears group and other write on Electron's extracted files, never through a symlink. This restores 43.8.3's modes exactly. - The AppImage's final verifier now refuses any regular file other than the sandbox that isn't 0644 or 0755. The DEB's verifier already did. Follow-up: #378 (mode gates in the thin-folder verifiers). Closes #371 Co-authored-by: Copilot <[email protected]> Copilot-Session: 9e7ec7a7-8690-49e5-9d55-492fedc3027a
Requested via Slack
Cherry-picks the upstream File System Access blocklist fix for macOS firmlink alias paths (
e85c5aea16d7, the M150-LTS merge of upstream64c8e2a1ceda, "[FSA] Block macOS firmlink alias paths to sensitive directories") and switches Electron's own blocklist matcher to the new normalization, so paths spelled through/System/Volumes/Datacan no longer bypass blocked directories such as~/.sshor~/Library. The same change already landed on 44-x-y in #54666 and 42-x-y in #54668; the Oct 6 backport for this branch (#54667) left it out. The chromium patch is the one used on 42-x-y with only line offsets and index hashes refreshed for 43-x-y.This was not built locally; CI is the build gate.
Note
This PR changes
shell/browser/file_system_access/file_system_access_permission_context.ccoutsidepatches/(its own commit):ShouldBlockAccessToPath()now callsChromeFileSystemAccessPermissionContext::NormalizeFilePathForBlocklist()instead ofNormalizeFilePath(). Upstream: CL 8410087, upstream commit64c8e2a1cedafdbcc750abc423ad9b389537c223.Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01MtuMgvwAcw7t9Q6HEB31Vx
Generated by Claude Code
Release Notes
Notes: Backported fix for a macOS File System Access blocklist bypass via
/System/Volumes/Datapaths.