dsh-sweeper: Auditing and Securely Cleaning Up DSH Session Tool Artifacts
dsh-sweeper is a DSH plugin (admin-security) maintained by Dushiqi1987. By default, it only reports findings and moves artifacts to the recycle bin. It statically parses tool/call and file-write events within sessions, builds an artifact ledger, and reconciles it against the disk. Artifacts are classified into two tiers—"blind delete" and "uncertain." An optional model review or deep-cleaning mode is available (token-consuming). Before any deletion, multiple path validations are enforced, and items are moved into trash batches under DSH_HOME rather than being directly unlinked. Installation can be performed via `plugin_manager install_bundle`; it requires sessionPersistence, webServer, and settings.section. Licensed under MIT, version 1.3.23.
Read More