Flavio's app support

← All guides

How to use Archive Safety Checker for Linux

Archive Safety Checker for Linux

Install Archive Safety Checker (.deb or portable), inspect ZIP, TAR, TGZ, TBZ2, TXZ, and TZST archives safely without unpacking, and use archive-safety-checker-gui and the archsafe CLI on Linux.

On this page

Archive Safety Checker for Linux is a native Rust and GTK4 desktop app (archive-safety-checker-gui) with a companion terminal CLI (archsafe) for x86_64 (amd64) and ARM64 (arm64) Linux machines. You can inspect ZIP, TAR, TGZ, TBZ2, TXZ, and TZST (Zstandard) archives locally before unpacking them, review every warning in plain words, extract only clean non-executable files, or export a PDF and CSV Safety Report.

Install

Download archive-safety-checker-linux-1.1.0.zip from your purchase page or support.flaviocopes.com, unzip it, and open Linux-amd64 (Intel/AMD) or Linux-arm64 (Arm/Raspberry Pi).

Option 1: Debian, Ubuntu, Linux Mint & Pop!_OS (.deb)

Install the .deb package with apt:

sudo apt install ./archive-safety-checker_1.1.0_amd64.deb

(Use archive-safety-checker_1.1.0_arm64.deb on ARM64.)

Option 2: Arch, Omarchy, Fedora, openSUSE & other distros (portable install)

Make sure GTK4 is installed (sudo pacman -S gtk4 on Arch/Omarchy, sudo dnf install gtk4 on Fedora, sudo zypper install libgtk-4-1 on openSUSE, or sudo apt install libgtk-4-1 on Debian/Ubuntu), then run the installer script:

./install.sh

This installs archive-safety-checker-gui, archsafe, the desktop entry, and the app icon under ~/.local/ and refreshes your desktop and icon caches.

Usage

  • Launch Archive Safety Checker from your application menu or run archive-safety-checker-gui. The window follows your desktop light or dark theme automatically.
  • Click Choose an Archive… (Ctrl+O), drop a ZIP, TAR, TGZ, TBZ2, TXZ, or TZST file onto the window, or click Try Example Archive to inspect a harmless sample invoice ZIP first.
  • Read the verdict at the top and the explanation next to each flagged item. The app checks for path traversal (../), absolute paths, outward symlinks and hardlinks, disguised double extensions (like .pdf.command, .pdf.desktop, and .pdf.exe), runnable scripts and executables, hidden dotfiles, password-locked entries, nested archives, overlapping ZIP ranges, and zip bombs.
  • Click Safe Extract (Ctrl+E) to copy only eligible clean files into a new folder. Safe Extract checks available disk space first, strips executable permissions (0644), rejects files with executable headers (#!, ELF, MZ, Mach-O), preserves Linux XDG download origin metadata (user.xdg.origin.url) when present, and leaves the original archive untouched.
  • Click Export Report… (Ctrl+Shift+E) to save a PDF and a formula-safe CSV Safety Report into a new folder. Press Ctrl+Q to quit.
  • Use the archsafe CLI from your terminal or coding agents: archsafe inspect ~/Downloads/Invoices.zip --json, archsafe extract ~/Downloads/Invoices.zip ~/Documents --json, archsafe report ~/Downloads/Invoices.zip ~/Documents --json, archsafe example /tmp/archive-demo --json, and archsafe capabilities --json.
  • The app silently checks updates.flaviocopes.com in the background on startup and highlights the header button when a newer Linux build is available, or you can click Check for Updates… anytime for SHA-256 verified updates on the archive-safety-checker-linux feed using your Creem license key.

Archive Safety Checker for Linux is $19, a one-time purchase.