From e80e06ea069368f483c71d8a3d316dc8d29756dc Mon Sep 17 00:00:00 2001 From: PrimeBuild Date: Mon, 16 Nov 2026 14:25:01 +0100 Subject: [PATCH] docs: add privacy, security and code signing policies, code of conduct --- CODE_OF_CONDUCT.md | 7 +++++ README.md | 9 ++++++- SECURITY.md | 23 ++++++++++++++++ docs/CODE_SIGNING_POLICY.md | 34 ++++++++++++++++++++++++ docs/PRIVACY.md | 52 +++++++++++++++++++++++++++++++++++++ 5 files changed, 124 insertions(+), 1 deletion(-) create mode 100644 CODE_OF_CONDUCT.md create mode 100644 SECURITY.md create mode 100644 docs/CODE_SIGNING_POLICY.md create mode 100644 docs/PRIVACY.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..216535c --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,7 @@ +# Code of conduct + +This project follows the [Contributor Covenant, version 2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/). + +In short: be respectful, keep feedback about the work and not the person, and do not harass anyone. Maintainers may remove comments, issues or contributions that break these rules and may block repeat offenders. + +To report a problem, use the private report at or contact the maintainer through their [GitHub profile](https://github.com/PrimeBuild-pc). diff --git a/README.md b/README.md index 9e7f4b4..b175311 100644 --- a/README.md +++ b/README.md @@ -324,7 +324,7 @@ It runs as the current user and asks for administrator privileges only for opera
Does it collect data? -The source contains no analytics or telemetry code. The update check reads the GitHub releases API, and in-app updates are confirmed by you and verified with SHA-256. +The source contains no analytics or telemetry code. The update check reads the GitHub releases API, and in-app updates are confirmed by you and verified with SHA-256. See the [privacy policy](docs/PRIVACY.md).
@@ -366,6 +366,13 @@ If TweakHub saves you time, you can support its development here: [MIT](LICENSE) — provided as-is, without warranty. +## Privacy, security and code signing + +- [Privacy policy](docs/PRIVACY.md): no telemetry; the few network requests are listed. +- [Security policy](SECURITY.md): how to report a vulnerability privately. +- [Code signing policy](docs/CODE_SIGNING_POLICY.md): Free code signing provided by [SignPath.io](https://about.signpath.io/), certificate by [SignPath Foundation](https://signpath.org/). +- [Code of conduct](CODE_OF_CONDUCT.md) +
**Made with ❤️ for Windows power users.** diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..69a5e50 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,23 @@ +# Security policy + +## Supported versions + +Only the latest release on the [Releases](https://github.com/PrimeBuild-pc/TweakHub/releases) page receives security fixes. + +## Reporting a vulnerability + +Please do **not** open a public issue for a vulnerability. Use GitHub's private reporting instead: + + + +Include the version, steps to reproduce and the impact you see. This is a volunteer project, so there is no guaranteed response time, but reports are read and taken seriously. Please allow time for a fix before disclosing publicly. + +## Scope + +In scope: privilege escalation through the elevated-script flow, tampering with downloads or updates, unsafe handling of registry backups, and anything that makes TweakHub change a system differently from what it previews. + +Out of scope: changes the app makes after you confirm them, behaviour of third-party tools it links to (report those upstream), and issues that need an already-compromised administrator account. + +## Verifying a release + +Every release asset has a matching `.sha256` file, and builds are produced by CI from tagged commits (`.github/workflows/release.yml`). See also the [privacy policy](docs/PRIVACY.md) and the [code signing policy](docs/CODE_SIGNING_POLICY.md). diff --git a/docs/CODE_SIGNING_POLICY.md b/docs/CODE_SIGNING_POLICY.md new file mode 100644 index 0000000..bd79748 --- /dev/null +++ b/docs/CODE_SIGNING_POLICY.md @@ -0,0 +1,34 @@ +# Code signing policy + +Free code signing provided by [SignPath.io](https://about.signpath.io/), certificate by [SignPath Foundation](https://signpath.org/). + +_This policy applies once TweakHub is accepted into the SignPath Foundation program. Until then releases are unsigned and the SHA-256 checksums are the way to verify them._ + +## What is signed + +Only the Windows binaries built from this repository: `TweakHub.exe`, the application's own assemblies and the installer `TweakHub-Setup-.exe`. Third-party binaries are not re-signed with this certificate and keep their own signatures. See [THIRD_PARTY_NOTICES.md](../THIRD_PARTY_NOTICES.md). + +## How it is built + +Signing requests come only from the GitHub Actions workflow in `.github/workflows/release.yml`, from a tagged commit of the public repository `PrimeBuild-pc/TweakHub`, on GitHub-hosted runners. Binaries are never signed from a developer machine, and the project holds no private key. + +## Roles + +| Role | Who | Responsibility | +|---|---|---| +| Author | [PrimeBuild-pc](https://github.com/PrimeBuild-pc) | Writes and merges the code that is built. | +| Reviewer | [PrimeBuild-pc](https://github.com/PrimeBuild-pc) | Reviews changes, including external pull requests, before they are merged. | +| Approver | [PrimeBuild-pc](https://github.com/PrimeBuild-pc) | Approves each signing request in SignPath. | + +The project has a single maintainer, who holds all three roles and uses multi-factor authentication on GitHub and SignPath. Contributions from others are accepted only through pull requests that the maintainer reviews. If more maintainers join, the roles will be split and this page updated. + +## Rules + +- TweakHub is open source (MIT) and contains no malware or potentially unwanted software. +- It changes only what the user previews and confirms, and keeps backups to restore it (see the [README](../README.md)). +- Every release asset has a SHA-256 file. +- If a signed build is found to violate this policy, the certificate use is stopped and the incident is disclosed. + +## Privacy + +TweakHub does not collect or transmit personal data. See the [privacy policy](PRIVACY.md). diff --git a/docs/PRIVACY.md b/docs/PRIVACY.md new file mode 100644 index 0000000..24a93de --- /dev/null +++ b/docs/PRIVACY.md @@ -0,0 +1,52 @@ +# Privacy policy + +_Last updated: 2026-11-16_ + +TweakHub is a free, open-source (MIT) Windows 11 tuning tool. This policy describes what the program does with your data. The source code is public, so every statement below can be checked. + +## Summary + +- TweakHub has **no analytics, no telemetry, no crash reporting and no accounts**. +- The project does not run any server and receives **no data** from your PC. +- Everything TweakHub reads or writes stays on your computer, in the program folder (`Data`, portable mode) or `%LOCALAPPDATA%\TweakHub`. +- The only network requests are the ones listed below, and each is started by an action of yours or by the update check. + +## Data stored locally + +Settings, tweak backups (original registry values), restore logs, script history, profiles and favourites. Nothing is uploaded. You can delete it by removing the `Data` folder (or `%LOCALAPPDATA%\TweakHub`) after restoring your tweaks. + +Hardware, driver, device, startup and security information is read from Windows to show it to you in the app. It is not sent anywhere. Reports and CSV/JSON exports are written only where you choose, and you decide whether to share them. + +## Network requests + +| When | Destination | What is sent | +|---|---|---| +| Update check (on start and on demand) | `api.github.com` (this repository's releases) | A standard HTTPS request, so GitHub sees your IP address and the program's user agent. An update is downloaded only after you confirm and is verified with SHA-256. | +| Breached password check (Security page) | `api.pwnedpasswords.com` (Have I Been Pwned) | Only the **first 5 characters of the SHA-1 hash** of the password (k-anonymity). The password never leaves your PC. | +| Account deletion links (Security page, on request) | `raw.githubusercontent.com` (JustDeleteMe directory) | A plain download of a public list. | +| Microsoft Safety Scanner, Tron, third-party scripts or tools (only when you start them) | Microsoft, GitHub or the tool's official site | A plain download. Files are checked (Microsoft signature or SHA-256) before use. | +| Hash lookups (VirusTotal, Triage) | Opens your **browser** with the hash in the URL | Only the file hash. TweakHub never uploads files. | +| Links to documentation and tools | Your browser | Nothing is sent by TweakHub; the site you open applies its own policy. | +| WinGet installs (only when you start one) | Windows Package Manager | Handled by `winget` and Microsoft, not by TweakHub. | + +If you change DNS to a filtering provider (Quad9, Cloudflare, AdGuard) or a Pi-hole from the Security page, your DNS queries go to that provider under its own policy. TweakHub saves the previous configuration so you can restore it. + +## Third parties + +GitHub, Have I Been Pwned, Microsoft and the sites you choose to open process requests under their own privacy policies. TweakHub shares nothing with them beyond what is in the table above. + +## Hardware reports + +[`Collect-TweakHub-Hardware.cmd`](../Scripts/Collect-TweakHub-Hardware.cmd) writes a local JSON file after your consent and uploads nothing. If you choose to share it, you do it yourself. See [hardware-reports.md](hardware-reports.md). + +## Children + +TweakHub does not collect personal data from anyone, including children. + +## Changes + +Changes to this policy are made in this repository and are visible in its git history. The date at the top changes with each revision. + +## Contact + +Open an issue at . For anything sensitive use the private report described in [SECURITY.md](../SECURITY.md).