katlab tools/zip-bomb-check support on Ko-fi

Is this archive safe to open?

Check a ZIP, RAR, 7z or tar.gz before you extract it. Finds zip bombs, files that would land outside the folder, programs disguised as documents and other tricks, scans every file for known malware, and lets you look up any file on VirusTotal by its fingerprint. Nothing is extracted and nothing is uploaded.

The archive stays on your device. The check runs in your browser.

How to check an archive before opening it

  1. Drop the ZIP, RAR, 7z or other archive onto the box above.
  2. The checker reads the archive's index and headers, compares them with each other, and decompresses the data in a measured way to confirm the real sizes. Nested archives are opened and checked too.
  3. Read the verdict. Every problem comes with a plain explanation and the affected files. Use the VirusTotal links to check programs and scripts against antivirus engines.

What it detects

Zip bombs

Files that land in the wrong place

Disguised and risky files

Tampered ZIP structure

Checking the files for viruses

Malware rules. Programs, scripts, documents and other files inside the archive are scanned in your browser by YARA-X, the engine VirusTotal uses, with about 5,900 openly licensed detection rules from ReversingLabs, Malpedia, Florian Roth's Signature Base, SEKOIA, ditekSHen and more, collected by YARA Forge. A match names the malware family and the rule's author. Riskier files are scanned first; images and videos are skipped, and in very large archives only the first few hundred plain text files are checked. The rules download once, about 4 MB.

VirusTotal lookups. Every file inside the archive, including files in nested archives and, if you enter the password, encrypted ones, gets a SHA-256 fingerprint computed in your browser. Programs, scripts, macro documents and nested archives are listed with a VirusTotal link, and every file has one in the table. VirusTotal checks the fingerprint against about 70 antivirus engines. Clicking a link sends only that fingerprint, never the file. If VirusTotal has never seen a file, it says so; uploading it there is then your choice.

What it does not do

Rules and fingerprints recognise malware that is already known. A clean result means the archive is not booby-trapped and nothing in it matches a known malware family, not that every file is safe: brand-new or custom-built malware has no rule or reputation yet. Keep your antivirus running when you extract. ZIP gets the deepest check because it is the format most of these tricks rely on; for 7z, RAR and other formats the checker uses the sizes and names the archive records.

Safe to use on a real bomb: nothing is unpacked to disk, data is only decompressed in counted chunks, and measuring stops early once an archive is clearly a bomb.