Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/PrimeBuild-pc/TweakHub/security/advisories/new> or contact the maintainer through their [GitHub profile](https://github.com/PrimeBuild-pc).
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ It runs as the current user and asks for administrator privileges only for opera
<details>
<summary><b>Does it collect data?</b></summary>

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).
</details>

<details>
Expand Down Expand Up @@ -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)

<div align="center">

**Made with ❤️ for Windows power users.**
Expand Down
23 changes: 23 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -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:

<https://github.com/PrimeBuild-pc/TweakHub/security/advisories/new>

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).
34 changes: 34 additions & 0 deletions docs/CODE_SIGNING_POLICY.md
Original file line number Diff line number Diff line change
@@ -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-<version>.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).
52 changes: 52 additions & 0 deletions docs/PRIVACY.md
Original file line number Diff line number Diff line change
@@ -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 <https://github.com/PrimeBuild-pc/TweakHub/issues>. For anything sensitive use the private report described in [SECURITY.md](../SECURITY.md).
Loading