Skip to content

Security

Dawid Wygoda edited this page Nov 24, 2026 · 4 revisions

Security

GhostDeck runs with administrator rights, because that is what talking to the laptop's embedded controller takes. This page says what the project signs, what the app verifies before it acts, what it writes to your hardware, and how to report a problem.

What is signed, and by what

What Signed with What it proves Where you see it
The release file (GhostDeck-win-x64.exe) Authenticode, through Azure Artifact Signing in the release workflow (publisher WYGODA DAWID FENIX INSPIRE) The file came from this project and was not changed on the way Properties → Digital Signatures, the UAC prompt, SmartScreen
The model database (data/models.json) ECDSA P-256, the project's own key; public key in tools/model-signing.pub The list of models the app fetches between releases is ours Inside the app, on every load
Commits and tags SSH key registered on the maintainer's GitHub account A commit in the history was really made by the maintainer The Verified badge on GitHub

The release workflow refuses to publish a build whose signature does not verify or whose publisher is not ours, and every GitHub action it uses is pinned to a commit.

What the app verifies before it acts

  • An update installed from the app. The downloaded file must carry a valid signature from the release identity, and the version written into that signed file must be the one the release announced and newer than the version you run. A file that fails is deleted and the Updates tab says why; it is never started. The replacement is done step by step; when a step fails, the app tries to put the previous program back and the tab reports it. When even that fails, the previous program is left as .bak in the program's folder, nothing is started, and the tab says it has to be put back by hand. A new program that starts and dies at once is not detected.
  • The .NET installer (from v1.47.0), the only thing GhostDeck ever installs, and only when an update needs a newer .NET and you choose Install with .NET on the card: its address and SHA-512 come from Microsoft's own release metadata over https, the file must match that hash and carry a valid Authenticode signature whose signer and issuer belong to Microsoft Corporation, and it is held locked from the check until the installer has finished. Any failure leaves the running version untouched.
  • The model database. The signature is checked on every load; an older or invalid file is refused and the app keeps its built-in tables. A developer's override file is honoured only when it sits next to GhostDeck.exe.
  • A settings backup you import. The file is checked, the crosshair picture inside it included, and the import is rehearsed on a copy first; a file that fails leaves every setting as it was. The current settings are copied before any import or restore, and the app keeps such copies in its own folder (50 to 150, your choice); a settings file it cannot read is kept, not replaced.
  • Commands over the command channel. The channel (GhostDeck.exe --profile ..., ghostdeck:// links, the taskbar jump list) is reachable only by your own user account. The app reads with a length cap and a deadline, and every command is answered with its real result: exit code 0 means the requested state is in force (written now, or already so), exit code 1 means a refusal, an error or an uncertain outcome after a broken connection, with the reason.

What the app writes to your hardware, and when

Everything the app writes to your hardware goes to the laptop's embedded controller, the chip MSI's own software talks to. The profile recipes and the registers are the ones MSI's software writes on that board, documented per model; a fan curve is the values you chose, within the range the model's entry allows; an experimental entry describes a firmware family and is not a measurement on every laptop of it. Nothing is written until you act (a profile, a switch, a scene, a hotkey, a command, a rule you set up), with one exception: the profile you chose to apply at start. Apart from the controller, a few functions you choose change Windows settings through documented Windows APIs, not the controller: the CPU turbo mode and the Windows power mode, screen brightness, the refresh rate, HDR, the touchpad and the microphone switches. These work on any laptop, also one whose controller the app cannot reach.

What Where it goes When
A profile (Silent, Balanced, Extreme, Super Battery) The board's shift-mode and fan-mode registers, and the battery-saver register on boards that have one (0xD2, 0xD4, 0xEB on current boards; 0xF2, 0xF4 on the older G1 family). A few boards have one proven extra, copied from what MSI's software writes there: 0xD6 on the GE66 / GP66, 0x34 on the GE78 HX, a different mode value on the Modern 14 B11MOU and the GE68 HX When you pick a profile, a scene or a rule applies one, or the start-up profile is applied
A fan curve The fan tables you see in the editor (six points per fan) and the fan-mode byte, within the range the model's entry allows When you apply a curve; the profile reads as Balanced while a curve runs, because the curve replaces the Silent marker in the fan-mode byte
Fan Boost One bit (0x98, bit 7) The switch, the hotkey, a scene, a command or the game-start rule
The battery charge limit One register (0xD7; 0xEF on G1 boards) When you set it or a battery rule does
Keyboard backlight, webcam, Fn/Win swap One register each, known per model When you use the switch
The power test Your model's profile recipes, one after the other, and the starting profile at the end; the report lists every address it touched Only after you start it and confirm its consent card
The backup path (older laptops) The same profile and fan values, written as the data blocks named in your model's entry, through one gate that only a passed path test on your own laptop opens. Fan Boost, the charge limit, the backlight and the webcam are not available on this path The same moments as above

Nothing else is written to the controller. On a laptop the app does not recognise, nothing is written to the controller at all (monitoring only); the Windows-side functions above still work there. Every address, recipe and board exception is documented in How it works.

What it does not do

  • No telemetry. The update check, the announcements and the model database are plain downloads from this repository; nothing is sent.
  • No driver, no service, no kernel component. The app talks to the controller through the WMI interface MSI's own software uses.
  • No writes to the controller outside the registers listed above; the Windows-side functions change Windows settings only.

Review

The code behind the updater, the command channel and the settings backup went through an independent security review in October 2026; the fixes that came out of it shipped in 1.42.0.

Reporting a problem

Please use GitHub's private vulnerability reporting (repository → Security → Advisories → Report a vulnerability), as described in SECURITY.md. Do not post details in public issues.

Clone this wiki locally