Guides

Reject an archive entry whose data fails integrity checks

Follow these steps using a local file and keep the original.

Reject an archive entry whose data fails integrity checks
Actual local tool workspace with a synthetic sample.

Prepare the example

Reproduce with these original sample files: sample.zip. Make a copy before following any rename, truncation or byte-edit instruction.

On a disposable ZIP copy change a byte within its first local data payload.

Run the workflow

  1. Open the related tool below and load the prepared file(s).
  2. Extract sample.txt; invalid compressed data or CRC mismatch must be rejected.

Verified example result

This example was reproduced in Chrome on 2026-12-04 using FileTypeKit 0.9.0 and synthetic data. The expected result or expected refusal was checked; this does not establish support for every real file.

The downloaded output was checked against the expected properties below.

Observed status: Compressed input was truncated.

Limitations and what to verify

Do not suppress integrity errors to recover unknown bytes; obtain a trusted copy.

Open related toolDownload sample