From ddce2a197db0a0c767d1a6a453c0a7152bce1333 Mon Sep 17 00:00:00 2001 From: Tw93 Date: Fri, 12 Dec 2025 14:11:20 +0800 Subject: [PATCH] Parallelize metric collection, improve Touch ID script robustness, and add debug logging for clean command. --- SECURITY_AUDIT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SECURITY_AUDIT.md b/SECURITY_AUDIT.md index fb1ab34..d00d343 100644 --- a/SECURITY_AUDIT.md +++ b/SECURITY_AUDIT.md @@ -67,7 +67,7 @@ Mole's "Smart Uninstall" and orphan detection (`lib/clean/apps.sh`) are intentio We anticipate that scripts can be interrupted (e.g., power loss, `Ctrl+C`). - **Network Interface Reset**: Wi-Fi and AirDrop resets use **atomic execution blocks**. -- **Swap Clearing**: Swap files are only touched after verifying that the `dynamic_pager` daemon has successfully unloaded. +- **Swap Clearing**: Swap files are reset by securely restarting the `dynamic_pager` daemon. We intentionally avoid manual `rm` operations on swap files to prevent instability during high memory pressure. ## 5. User Control & Transparency @@ -80,7 +80,7 @@ We anticipate that scripts can be interrupted (e.g., power loss, `Ctrl+C`). Mole relies on standard, battle-tested macOS binaries for critical tasks: - `plutil`: Used to validate `.plist` integrity. - `tmutil`: Used for safe interaction with Time Machine. - - `kextcache`, `dscacheutil`: Used for system-compliant cache rebuilding. + - `dscacheutil`: Used for system-compliant cache rebuilding. - **Go Dependencies (Interactive Tools)** The compiled Go binary (`analyze-go`) includes the following libraries: