Who is trusted for what
What is protected
- Users’ files: see Safety rules.
- Developers’ secrets: builds stop on files that look like secrets.
- Updates:
httpsonly, checksum, app id and version checks. Withpublic_key, signed feeds; withsigner, an Authenticode check of the downloaded file. - Access keys: sent only to the host they’re meant for, redirects followed without them, stored protected for the Windows user.
- Administrator rights: requested only when configured; machine-wide folders are checked before anything runs elevated.
Known gaps
- Without
[updates] public_keyorsigner, whoever controls the feed host can point users to a different file with a matching checksum. - A feed signing key can’t be revoked remotely. You can replace it in two releases.
uninstall.exeis written on the user’s computer and isn’t signed.- A run step with
elevated = trueruns a file from the install folder with administrator rights. Keep it to well-known, signed installers. - Antivirus software may flag unsigned setup files. See Antivirus warnings.
Out of scope
- A developer who builds a malicious app.
- An attacker who is already an administrator on the computer.
- The security of your app itself after installation.