Skip to content

Manage quarantine

Quarantine moves a detected file into owner-only storage and records its original path, detection name, size, date, and SHA-256 hash. The file can no longer run from where it was.

Situation Action
Unsure, or high severity Quarantine and investigate
Confirmed false positive Restore. ClamUI checks the hash and never overwrites an existing file.
Confirmed malware Delete permanently

Open Quarantine (Ctrl+6). Search by threat name or original path, then choose Restore or Delete. Previous / Next page through items; Refresh picks up new ones. If a restore fails its integrity check, do not restore the file by hand.

Quarantine CLI
clamui quarantine list
clamui quarantine list --json
clamui quarantine restore 42
clamui quarantine delete 42

The number is the item ID from list.

~/.local/share/clamui/quarantine/
~/.local/share/clamui/quarantine.db

quarantine_directory in settings moves where new items go; the database stays put and existing items are not moved. Editing these files by hand skips all integrity checks. Back up quarantine.db first if you must.