An analysis of nine archive formats tested how a single bit flip affects data recovery. The study used two 10 MB datasets: one containing 450 Python source files and another mixed with random bytes. Researchers performed 200 random bit-flip tests per format to measure error detection and file loss.

The tar.br format frequently failed to detect corruption, returning a success code despite damaged files. In contrast, most other formats consistently returned error codes. While zip typically lost only one file due to its individual file compression, formats like tar.xz and bzip2 often suffered total data loss for all files following the corrupted bit.

The study highlights that disabling checksums, such as using --no-check or --ignore-check, increases the risk of undetected corruption. Conversely, enabling checksums in lz4 can sometimes lead to excessive file loss by truncating output. Brotli showed inconsistent behavior, often failing to report errors even when the output stream differed from the original.

The research suggests that relying solely on tar -xf for verification is insufficient, as it may misinterpret corrupted data as the end of an archive. Recommendations include maintaining separate sha256 hashes for archives, avoiding the disabling of built-in checksums, and using native decompression tools for integrity checks.