Skip to content

v1.1.0 - Security & Reliability Hardening

Choose a tag to compare

@yahyazakaria29 yahyazakaria29 released this 27 Oct 11:34
· 7 commits to main since this release
585db10

⚠️ SUPERSEDED — do not use. Use v1.1.1 instead.

This release contains a process-scoping defect found during pre-release mount testing: stop/status/uninstallers matched the bare WinCloudMount substring (present in every mount's --user-agent), so running stop from a non-install directory could terminate another installation's drives. Fixed in v1.1.1.


🔒 WinCloudMount v1.1.0 — Security & Reliability Hardening

This release is the result of a full security and logic audit (Grogu + Argon action plan, 2026-10-27). No architecture change — still PowerShell + VBS + rclone + WinFsp.

🛡️ Security

  • Pinned installer + SHA256 verification: the one-liner now installs from a tagged release and verifies the package checksum before extraction. A hash mismatch aborts the install and deletes the file (fail-closed).
  • Argument-injection fix: remote / volume_name / cache_dir values are validated to reject embedded quotes/control characters, and arguments are passed as a pre-quoted array (verified on PowerShell 5.1 and 7.x).
  • Strict registry scoping: drive-branding cleanup only removes letters whose DefaultIcon provably belongs to WinCloudMount; unverifiable MountPoints2 entries are left untouched.
  • Cache-purge guardrails: uninstall purge refuses to delete root drives, system folders, or standard user folders; non-interactive external purges require an explicit opt-in.

⚙️ Reliability

  • winget exit codes checked: a failed/cancelled prerequisite install now fails the installer instead of printing a false [OK].
  • Cold-start mount polling: each mount attempt polls the OS for the drive every 2s for up to 30s, so WinFsp's 30–35s cold-start handshake is no longer misreported as FAILED.
  • Google Drive detection now uses rclone config show (authoritative type field) with a name fallback.
  • Icon auto-detection uses an ordered map + word boundaries (dropbox no longer becomes box.ico).
  • Test-Config validates fields and matches subpath remotes by their root.