You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Centralized all Win32 safety primitives (canonicalization, environment variable expansion, protected paths blacklist, critical service protection, and executable path extraction).
Enforced strict case-insensitive path comparisons and extended prefix canonicalization (\\?\) preventing TOCTOU and directory traversal bypasses.
π§ System PATH Zeroing Defense:
Implemented fail-safe guards in both backend (path_cleaner.rs) and frontend (PathCleanerTab.svelte) that strictly forbid wiping the Windows System PATH completely.
Pre-expanded environment variables (%VAR%) in uninstaller command strings prior to inspecting user-writable locations and checking Authenticode file signatures (WinVerifyTrust).
π Shell Injection Defense in DevTools Rules:
Added strict character whitelisting and command validation to devtools_rules.json execution (scan_dev_tools and get_single_dynamic_cache_path) to eliminate arbitrary command injection vectors.
π Insecure Path Fallback Remediation:
Replaced fallback to current working directory (.) or shared temp folder with secure user profile roaming directories (%USERPROFILE%\AppData\Roaming / Local or C:\Users\Public), isolating SQLite databases and settings.
β‘ Performance & Reliability Optimizations
π Fast Locker Direct Branching:
Optimized file/folder deletion in locker.rs by checking path_buf.is_dir() directly before attempting deletion, eliminating failing remove_file system call roundtrips on directories.
Replaced ad-hoc whitespace splitting in autoruns.rs (which erroneously truncated paths like "C:\Program Files\App\app.exe" --arg to C:\Program) with robust centralized extract_executable_path.
πΎ Database & Snapshot Synchronization:
Aligned database schema columns (reg_count, file_count) across SQLite and JSON snapshot records, preventing schema mismatches in the snapshot engine.
π¦ Quarantine Sandbox Containment:
Added strict canonical path boundary checks in quarantine restoration and permanent deletion to ensure items strictly reside within the designated quarantine directory.
Skipped symlinks and directory junctions during quarantine directory copying to avoid recursion leaks.