Please report security issues privately via GitHub Security Advisories — not through a public issue.
Expect a first response within 7 days. If a fix is warranted, it ships as a new tagged release and the advisory is published once the fix is available.
Only the latest release receives fixes. Older tags are left as-is — update to the newest version before reporting.
This script runs with administrator rights, edits the boot configuration via
bcdedit, writes a registry value under Session Manager\kernel, and registers a
scheduled task that runs at logon. That is its intended purpose, not a
vulnerability.
In scope:
- The self-elevation path (
irm | iexdownloading to%USERPROFILE%and re-running from there) — e.g. a way to make it execute attacker-controlled content - The holder task (
timer-resolution-utility-holder), which runspowershell.exe -File "<script path>" -Holdat logon — e.g. a way to bind it to a path an unprivileged user can write, turning it into code execution at logon - The
timer_undo_*.jsonandbcd_backup_*handling — e.g. a path that overwrites an unrelated file, or an undo file that restores something other than what was recorded - The release pipeline — checksums, provenance, or the PowerShell Gallery package not matching the tagged source
Out of scope:
- Requiring admin rights, or the UAC prompt
- Needing a reboot for the bcdedit and registry tweaks — documented in Using the picker
- Battery-life cost of
disabledynamictick, or mouse stutter from the contesteduseplatformtick— both documented in the FAQ - Applying a tweak that makes timing worse on your hardware — that is what
-Measureand Reverting are for
Each release publishes SHA256SUMS.txt and Sigstore build provenance. Verify a
download before running it:
Get-FileHash .\timer-resolution-utility.ps1 -Algorithm SHA256Compare the hash against the one in the corresponding release.
The hash only proves the file matches the release page. The provenance proves the
file was built by this repository's release.yml from the tagged commit - check it
with the GitHub CLI:
gh attestation verify .\timer-resolution-utility.ps1 -R vadyaravadim/timer-resolution-utility