Skip to content

Security: kaiserc/MiniFanControl

SECURITY.md

Security Policy

Supported Versions

Security updates and hardware-safety fixes are provided for the current release line of MiniFanControl:

Version Supported
1.5.x (Latest) ✅
< 1.5.0 ❌

Reporting a Vulnerability

Please do not report security vulnerabilities through public GitHub issues.

If you discover a security issue—especially one involving kernel port I/O (inpoutx64.dll), privilege boundaries, EC/Super I/O register write safety, IPC/watchdog handling, or installer/binary integrity—please report it privately:

  1. Use GitHub Private Vulnerability Reporting via the Security tab of this repository:
    https://github.com/kaiserc/MiniFanControl/security/advisories/new
  2. Include as much detail as possible:
    • MiniFanControl version (VERSION / release tag) and Windows version
    • Hardware model / DMI platform (if hardware-specific)
    • Steps to reproduce or proof-of-concept
    • Potential impact (e.g., unintended register write, privilege escalation, thermal/fan stall bypass, or driver/service abuse)

You should receive an acknowledgment within 72 hours, and we will work with you to validate and address confirmed issues before public disclosure.


Security & Hardware-Safety Architecture

MiniFanControl operates close to hardware and follows a fail-closed, least-privilege design:

  • Fail-Closed Hardware Writes: If hardware detection, EcBusMutex acquisition (Global\Access_EC, Global\Access_ISABUS.HTP.Method, Global\Access_SMBUS.HTP.Method), port validation, or register read-back fails, writes are aborted and the system falls back to safe read-only monitoring or BIOS Auto.
  • Whitelisted Platforms & Ports: Writes to unverified platforms, unknown/blocklisted motherboard DMI strings, or unwhitelisted I/O ports are rejected directly inside NativeInpOut.IsPortWhitelisted(). Custom profiles (custom-profile.json) are bound to the source machine's DMI fingerprint and default fail-closed to read-only if unbound or incomplete.
  • EV-Signed PawnIO Priority-0 & SHA256-Pinned Fallbacks: Priority 0 uses official HVCI-compatible PawnIO (PawnIOLib.dll, preferring %ProgramFiles%\PawnIO and enforcing Windows Authenticode verification via WinVerifyTrust under a FileShare.Read lock) with signed LpcIO / LpcACPIEC modules. When PawnIO is unavailable, NativeInpOut.PreloadDriverDll() verifies the SHA256 digest of inpoutx64.dll (or optional WinRing0x64.dll) while holding a FileShare.Read handle to prevent DLL planting / TOCTOU swaps. On Windows 11 systems with Memory Integrity (HVCI) enabled and no PawnIO installed, MiniFanControl automatically operates in safe read-only telemetry mode via standard Windows APIs, native DXGI/DxgKrnl ETW, and WHQL AMD ADL (atiadlxx.dll) with all hardware writes locked. Release checksums are published in SHA256SUMS.txt.
  • Out-of-Process Watchdog: WatchdogSupervisor monitors heartbeat health and restores BIOS fan control if the main UI/controller exits unexpectedly.

Code Signing Policy

Free code signing provided by SignPath.io, certificate by SignPath Foundation (configured for official GitHub Releases once SignPath Foundation onboarding is active).

Team Roles & Governance

Role Members Responsibilities
Committers & Maintainers Christian Kaiser (@kaiserc) Authoring code, triaging issues, managing release tags
Reviewers Christian Kaiser (@kaiserc) Reviewing all pull requests and security/hardware-safety changes prior to merge
Release Approvers Christian Kaiser (@kaiserc) Verifying CI self-tests and approving official SignPath release signing requests

Trusted Build & Signing Process

  • CI-Only Signing: Officially signed release binaries (MiniFanControl.exe, minifan-helper.exe, and MiniFanControl-Setup-v<version>.exe) are built exclusively from this public GitHub repository on GitHub-hosted runners (windows-latest) via .github/workflows/ci.yml.
  • Automated Verification Before Signing: Every release build must pass multi-target .NET 4.8 & .NET 10.0-windows compilation, version/release-notes consistency checks, localization & profile JSON validation, and the full automated self-test suite before signing is requested.
  • No Local Binary Signing: Binaries compiled on developer workstations are never submitted for official signing.
  • Post-Signing Verification & Provenance: CI verifies valid Authenticode signatures (Get-AuthenticodeSignature), regenerates SHA256SUMS.txt over the final signed artifacts, and attaches GitHub SLSA Build Provenance Attestations (actions/attest-build-provenance).

SignPath CI Configuration Reference (Maintainers)

To activate SignPath signing in .github/workflows/ci.yml, configure these repository Secrets under Settings → Secrets and variables → Actions:

  • SIGNPATH_API_TOKEN — SignPath CI API token
  • SIGNPATH_ORGANIZATION_ID — SignPath organization GUID

Optional repository Variables (defaults shown):

  • SIGNPATH_PROJECT_SLUG (default: MiniFanControl)
  • SIGNPATH_SIGNING_POLICY_SLUG (default: release-signing)
  • SIGNPATH_BINARIES_ARTIFACT_CONFIG (optional; defaults to project default artifact configuration)
  • SIGNPATH_INSTALLER_ARTIFACT_CONFIG (optional; defaults to project default artifact configuration)

Recommended SignPath <zip-file> artifact configuration (works for both the core binaries artifact and the Inno Setup installer artifact):

<artifact-configuration xmlns="http://signpath.io/artifact-configuration/v1">
  <zip-file>
    <pe-file path="*.exe">
      <authenticode-sign />
    </pe-file>
  </zip-file>
</artifact-configuration>

Privacy Policy

MiniFanControl does not collect, store, transmit, or share any personal data, usage analytics, or hardware telemetry with the author or any third party:

  • All sensor telemetry, fan curves, and configuration files (minifancontrol.cfg) remain strictly local on the user's machine.
  • Hardware profile reports (minifan-helper.exe submit-report) are generated locally with PII/serial-number redaction and are only shared if the user explicitly chooses to paste/attach them in a public GitHub issue.
  • The only optional outbound network request made by the application is a read-only check against the public GitHub Releases API (api.github.com/repos/kaiserc/MiniFanControl/releases/latest) to notify users of new versions.

There aren't any published security advisories