Test files › Archives
Sample Archives test files
Free archives test files for QA and developers: absolute-path.zip, corrupt-central-directory.zip, empty.zip, mixed-content-50mb.zip, modest-zip-bomb.zip, nested-10-deep.zip and more. Each with a published SHA-256 and a note on what it catches.
| File | Format | Size | What it catches |
absolute-path.zip | ZIP | 161 bytes | Archive whose entry name is an absolute path (/tmp/qa-absolute.txt). |
corrupt-central-directory.zip | ZIP | 219 bytes | Valid local file headers, but the central directory signature is overwritten with garbage. |
empty.zip | ZIP | 22 bytes | A structurally valid ZIP containing zero entries (22-byte end-of-central-directory only). |
mixed-content-50mb.zip | ZIP | 40.0 MB | Realistic ~50 MB archive mixing incompressible binary blobs with highly compressible text. |
modest-zip-bomb.zip | ZIP | 996 KB | A ~1 MB archive that expands to roughly 1 GB: ten entries of 100 MB of zeroes each. Deliberately modest - this is not a 42 KB / 4.5 PB bomb. |
nested-10-deep.zip | ZIP | 1.2 KB | A ZIP containing a ZIP containing a ZIP, ten levels down, with a text file at the centre. |
single-file.gz | GZIP | 146 bytes | A single gzip-compressed text file (not a tar), with the original filename in the header. |
unicode-entry-names.zip | ZIP | 563 bytes | Entries named in Japanese, Arabic, Russian and emoji, with the UTF-8 flag (bit 11) set correctly. |
valid-flat.zip | ZIP | 376 bytes | Three deflated text files at the archive root, no directories. |
valid-nested-dirs.zip | ZIP | 390 bytes | Archive with entries five directory levels deep. |
valid.tar | TAR | 4.0 KB | A USTAR tar archive with three files, including one in a subdirectory. |
valid.tar.gz | TAR+GZIP | 188 bytes | The gzip-compressed form of a tar archive - the ubiquitous .tar.gz. |
zip-slip-traversal.zip | ZIP | 357 bytes | Archive containing an entry named ../../../../tmp/qa-zip-slip.txt. The payload is a harmless text marker, but the path escapes the extraction directory. |