Safety by design
These rules are enforced in the Rust engine, not only in the interface, so they apply to the app and the command-line tool alike.
| Protection | What it means |
|---|---|
| Recycle Bin first | Every removal goes to the Recycle Bin by default. If a file can't be moved there, it is kept and flagged, never silently deleted. |
| Journal before delete | Each step is written to a local SQLite journal before the disk is touched, so an interrupted cleanup is recovered on the next start. |
| Protected paths | Windows, Program Files, system files and FreeMyDisk's own files sit behind a protected-path list that no rule can bypass. |
| Links are never followed | A symbolic link or junction inside a cache folder is removed as a link. The folder it points to is never touched. |
| Nothing in use | Files held open by a running app are skipped, never forced. |
| Least privilege | The app runs as a normal user. Tasks that need administrator rights go through a small helper that accepts only a fixed list of operations, behind the Windows UAC prompt. |
The full list is in the safety model.
Signed updates
FreeMyDisk checks GitHub for a new version and asks before it downloads anything. Every update is signed with the FreeMyDisk release key, and the app verifies the signature against the public key built into it before installing. An update that isn't signed with that key is refused.
Verify your download
Installers are built by GitHub Actions from the public source code. You can check that the file you downloaded is the one that was published.
Check the SHA-256 checksum
Every release lists the SHA-256 checksum of its installer. Compare it with your file in PowerShell:
Get-FileHash .\FreeMyDisk-Setup-x64.exe -Algorithm SHA256Check the build provenance
Releases from v1.0.1 onwards carry a signed build-provenance attestation, which proves the installer was built by this repository's release workflow. Check it with the GitHub CLI:
gh attestation verify .\FreeMyDisk-Setup-x64.exe --repo fzihak/FreeMyDiskWhy Windows SmartScreen may warn
The installer is not yet signed with a Windows code-signing certificate, so Microsoft Defender SmartScreen has no reputation for it and may show "Windows protected your PC". Select More info › Run anyway once you have verified the checksum. This affects only the first run of the installer, not the security of updates, which are always signature-checked.
Development practices
- All code is public and reviewed in pull requests, with tests and strict lint checks on every change.
- Third-party GitHub Actions are pinned to exact commits.
- The update signing key is kept outside the repository.
- Commits carry a Developer Certificate of Origin sign-off.
Report a vulnerability
Please don't report security problems in public issues or discussions. Report them privately through GitHub's private vulnerability reporting, with what an attacker could do, how to reproduce it, and the FreeMyDisk and Windows versions you tested.
| Step | Target |
|---|---|
| Acknowledgement | Within 3 days |
| First assessment | Within 7 days |
| Fix for a confirmed critical issue | As fast as possible, usually within 30 days |
We agree on a disclosure date with you and credit you in the advisory and release notes, unless you prefer to stay anonymous.
Especially in scope
- Anything that makes FreeMyDisk delete, move or expose files it shouldn't: protected paths, path traversal, links and junctions.
- The administrator helper running anything beyond its allow-listed operations.
- Installing an update that isn't signed with the FreeMyDisk key.
- The communication between the interface and the engine.
Out of scope
- Issues that require an attacker to already have administrator rights.
- Denial of service by filling the disk or scanning very large folders.
- Automated scanner findings without a demonstrated impact.
Supported versions
Security fixes ship in the latest release. Older versions are not patched, so keep automatic update checks on. See the changelog for what each release fixed. The full policy is in SECURITY.md.