Skip to content

Safety and Rescue Center

Vivek edited this page Nov 26, 2026 · 1 revision

Safety & Rescue Center

AegisCare is built so that mistakes are reversible and critical OS state cannot be harmed silently.


1. Dry-Run by Default

  • All mutating CLI operations (clean, optimize, registry fix, privacy clean, startup disable/enable) report what would happen unless --yes is explicitly supplied.
  • The Desktop GUI separates Scan from Results, shows confirmation modals before applying changes, and lets users ignore items permanently via SafetyPolicy.

2. DeleteGuard & Protected Path Exclusions

  • asc-clean's DeleteGuard and asc-core::is_path_excluded refuse to touch protected system roots, Windows/macOS/Linux core OS directories, active mount points, and user-configured exclusion globs/paths.
  • Duplicate cleanup (asc-clean Custom Clean) skips zero-length files, symlinks, and reparse points, and tracks hard links so identical inodes are never double-counted or accidentally wiped.
  • Browser privacy cleanup checks running browser PID locks before touching SQLite databases so active browser profiles are not corrupted.

3. Process Smart Manager Denylists (asc-process)

AegisCare classifies running processes into 7 categories:

  1. CriticalSystem
  2. ServerDaemon
  3. UserApplication
  4. BackgroundIdle
  5. ResourceAnomaly
  6. ZombieOrOrphan
  7. Suspicious

Hard denylists block terminating or killing critical OS and server processes (systemd, sshd, csrss.exe, lsass.exe, kernel_task, launchd, databases, and parent process chains) even if requested.

4. Unified Rescue Center (RescueManager in asc-app)

Before destructive operations modify your machine, RescueManager records recoverable snapshots covering:

  • Deleted file backup bundles (clean)
  • Quarantined malware/suspicious files
  • Windows .reg exports (registry fix)
  • Startup item .json snapshots (startup disable/enable)
  • hosts.bak snapshots before hosts-file hijack cleanup

Anything backed up here can be inspected and restored from the Rescue Center page in aegis-gui.

5. Encrypted Safe Folder & Quarantine (asc-vault)

Sensitive files locked in Safe Folder or quarantined by Protect use pure-Rust cryptography:

  • Cipher: RFC 8439 ChaCha20-Poly1305 AEAD (with tamper detection)
  • Key Derivation: PBKDF2-HMAC-SHA256 (100,000 iterations) with a recovery key flow