arch-wsl-cleanup
Pass
Audited by Gen Agent Trust Hub on May 6, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes standard Arch Linux and WSL utilities (e.g.,
pacman,journalctl,du,fstrim) to perform system maintenance. These operations are aligned with the skill's primary purpose. - [COMMAND_EXECUTION]: Executes a bundled Python script
scripts/calc_package_size.pyusinguv runto calculate package sizes. Technical review of the script confirms it usessubprocess.runsecurely with an argument list, preventing shell injection. - [COMMAND_EXECUTION]: Uses
sudofor administrative cleanup tasks, which is expected behavior for system-level disk management on Linux. - [SAFE]: Includes a 'Safety Rules' section that implements a directory blacklist for
rm -rfand mandates user confirmation before deleting packages or non-cache directories, which serves as a safeguard against accidental data loss.
Audit Metadata