Skip to content

ZeroBloat v13.0.0 (Native C++ Edition)

Choose a tag to compare

@ligqw ligqw released this 11 Nov 14:38
· 6 commits to main since this release
ea33ff8

Full Changelog

ZeroBloat v13.0.0 — Security & Stability Update

This release focuses on hardening, reliability and diagnostics. Under the hood, a large part of the core was reworked: safer process execution, strict input validation, a locked-down WebView2 sandbox, crash reporting and an audit trail for every critical action.

🛡️ Security & Hardening

  • Locked-down WebView2: The UI is now served from a local virtual host with a strict Content-Security-Policy. Any navigation outside the app is blocked, so external pages can never load inside ZeroBloat.
  • Safe Path Validation: All file operations (Game Compression, File Shredder, etc.) now pass through a strict path check. Unsafe, malformed or too-long paths are rejected.
  • IPC Limits: The UI ↔ backend bridge now enforces limits on message size (4 MB), number of arguments (64) and argument length (1 MB) to prevent abuse and memory exhaustion.
  • Safe Process Execution: External tools (winget, uninstallers, system utilities) are now launched through a hardened launcher with argument arrays instead of raw shell strings, reducing the risk of command injection.
  • Package ID Validation: Package IDs for app installation are validated before being passed to winget.
  • Drive Scanner Validation: The scanner now accepts only valid letters of fixed drives, so removable and network drives can't be scanned by mistake.

🧾 Audit & Diagnostics

  • Audit Log: Every critical action (disabling telemetry, Defender, VBS/HVCI, ETW logging, deep services, Lite Debloat, network reset, classic context menu, bulk settings) is now recorded in audit.log with a timestamp. The log rotates automatically to a .old file when it grows too large.
  • Crash Dumps: In case of a fatal error the app now writes a minidump (crash_*.dmp) next to your backups and shows a clear message instead of silently vanishing.
  • Structured Error Codes: Backend errors now return clear codes (ERR_INVALID_ARG, ERR_NOT_FOUND, ERR_OP_FAILED, ERR_CANCELLED, ...) instead of generic failures, making problems far easier to diagnose.
  • Extended Logging: Log entries now have levels (INFO / WARN / ERROR).

⚙️ Stability & Performance

  • Timeouts Everywhere: Long-running operations (winget installs, uninstallers, system commands) now have timeouts. A hung process can no longer block the app forever, and a timed-out task is reported as [TIMEOUT].
  • Safer COM Handling: COM initialization/cleanup was moved to a scope-based handler, fixing possible leaks and crashes on background threads.
  • Single Instance Protection: Launching a second copy of ZeroBloat is now detected, so two instances can't fight over the same settings and registry backups.
  • Windows Version Check: The app now verifies at startup that your Windows version is supported.
  • Safer Uninstaller: Reworked uninstall flow for MSI and other installers with better error handling and clear failure messages.
  • Registry Backups: Backup and restore of the registry (incl. the Autostart manager) were improved, and restoring .reg backups now validates the file first.
  • Retry Logic: Transient failures on file and process operations are now retried automatically.

🎮 Monitoring & Overlay

  • Background Ping Worker: Ping is now measured in a dedicated background thread (ICMP), so the overlay never lags while waiting for a reply.
  • Improved GPU Metrics: Better NVIDIA data (temperature, fan speed, utilization, VRAM used/total) and more reliable fallbacks.
  • Disk Health: Reads wear level and temperature of drives through Windows Storage Reliability counters.
  • Network Speed: More accurate real-time upload/download calculation.
  • Power State Awareness: The app tracks AC/battery status for smarter behaviour on laptops.
  • MSI Afterburner: One-click installation via winget with silent switches.

🐛 Bug Fixes

  • Fixed UI freezes caused by blocking operations in the main thread.
  • Fixed possible crashes with invalid or inaccessible paths.
  • Fixed several race conditions in background workers during app shutdown.