[Windows] Installer launches Chrome without consent, followed by partial browser profile reset and loss of cookies, settings and extensions

Aperta
#6,230 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Is there an existing issue for this?
  • I have searched the existing issues
Is your issue described in the documentation?
  • I have read the documentation
Is your issue present in the latest beta/pre-release?

None

Describe the Bug

Description

After installing Sunshine on Windows 11, the installer automatically launched my default browser (Google Chrome) without requesting my permission or providing an option to prevent this behavior.

The following URL was opened:
https://docs.lizardbyte.dev/projects/sunshine/latest/?lng=de

Immediately upon launch, I noticed that Chrome was in an abnormal state:

  • No active browser profile was initially visible.
  • Chrome started in light mode instead of my configured dark mode.
  • Browser extensions were initially missing.
  • The browser appeared to have been reset to its default configuration.

I immediately closed the browser window. However, after opening Chrome normally, I discovered that parts of my original browser profile had apparently been reset.

Observed consequences

  • Website cookies and authenticated sessions were lost.
  • I was logged out of websites.
  • Customized Chrome settings were reset.
  • Some previously installed browser extensions were missing.
  • Bitwarden's interface could not be opened, even after reinstalling the extension.
  • Other extensions, such as Video DownloadHelper and GoFullPage, remained functional.

My original Chrome profile was still present, including its profile name and profile picture. I also verified that Chrome was using the correct profile directory.

Additional findings

I managed to restore Bitwarden functionality by enabling the "Allow in Incognito" permission and subsequently disabling it again.

Interestingly, Bitwarden retained its previous local data, including the vault, encryption key and existing two-factor authentication authorization.

This suggests that the underlying browser profile was not completely deleted, but that Chrome may have entered an inconsistent state affecting its preferences, extension registration or access to existing profile data.

Possible cause

Since the Sunshine installer runs with elevated privileges, I suspect that the automatic launch of the default browser may have occurred in an unexpected execution or security context.

This could potentially have interfered with Chrome's profile initialization, protected preferences or cookie encryption.

However, this is only a hypothesis. I have not confirmed whether Chrome was actually launched with elevated privileges or whether the underlying issue is caused by Chrome itself.

The observed browser malfunction and subsequent partial profile reset occurred immediately after the Sunshine installer automatically opened the documentation.

Steps to reproduce

Have an existing Google Chrome installation with an established browser profile, customized settings, extensions and authenticated website sessions.

  1. Install Sunshine version 2026.914.233613 on Windows 11.
  2. Allow the installer to complete.
  3. Observe the installer automatically opening the Sunshine documentation in the default browser.
  4. Check whether Chrome loads the existing browser profile, settings, extensions and authenticated sessions correctly.

Note: I have not attempted to reproduce this issue again because I do not want to risk further loss of browser data.

Requested changes

  • Investigate how the installer launches the default browser, particularly with regard to elevated privileges and the original user's security context.
  • Remove automatic browser launches from the default installation procedure.
  • Provide an explicit, unchecked-by-default option to open the documentation after installation.

User consent, privacy and system control

Regardless of whether the underlying profile malfunction originates from Sunshine or Chromium, automatically launching external applications without explicit user consent is unnecessary and intrusive.

Installing one application should not implicitly authorize its installer to launch other applications.

Users should retain control over which applications are launched on their systems, when they are launched and under which security context they are executed.

This incident resulted in lost authenticated website sessions, lost browser settings, missing extensions and unnecessary troubleshooting.

All of this could potentially have been avoided by simply not launching the default browser automatically.

I would strongly encourage the development team to reconsider this installer behavior, independently of the underlying cause of the Chrome profile malfunction.

Thank you for investigating this issue.

Expected Behavior

Expected behavior

Installing Sunshine should not launch unrelated applications without explicit user consent.

The installer should not interfere with existing browser profiles, settings, extensions or authenticated sessions.

If opening the documentation is desired, the installer should provide an explicit, unchecked-by-default option such as "Open documentation after installation."

If an external application must be launched, it should be launched in the original, non-elevated user's security context.

Actual behavior

The installer automatically opened Google Chrome without my consent, immediately followed by an abnormal browser startup and a persistent partial loss of browser settings, cookies and extensions.

Additional Context

Environment

Sunshine: 2026.914.233613
Operating system: Windows 11 Pro
Windows version: 26H2
Windows build: 26300.9974
Default browser:Google Chrome
Chrome version: 159.0.8154.59 (Official Build, 64-bit)
Chrome rollout cohort: 159.0.8154.33 Rollout
V8: 15.9.128.52
Documentation language: German
Installation date: December 5, 2026

Host Operating System

Windows

Operating System Version

Windows 11 Pro

Architecture

amd64/x86_64

Package

Windows - msi installer (recommended)

GPU Type

NVIDIA

GPU Model

NVIDIA RTX 5080

GPU Driver/Mesa Version

621.14

Capture Method

No response

Apps

Log output

Online logs

No response

Lingua principale
C++
Stelle
43k
Fork
2.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di LizardByte/Sunshine

Tutte le issue di LizardByte/Sunshine

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.