ZIP Archive Security Preflight — Inspect Before You Extract
Check a ZIP for traversal paths, symlinks, zip-bomb ratios and executables by reading its directory only — nothing is extracted.
The dangerous moment with an unknown ZIP is extraction, not download. A crafted archive can name an entry ../../something, plant a symbolic link and then write through it, or expand a few kilobytes into gigabytes. Once extracted, the damage is already placed — so this check reads the one part of the file that lists everything in advance: the central directory.
Drop a ZIP here or click to choose one
Only the archive directory is read. Nothing is extracted, nothing is uploaded.
Quick answers
How can I check a ZIP file before extracting it?
Read its central directory: names, sizes, ratios and attributes reveal traversal paths, symlinks and bombs without extracting anything.
This tool parses that directory locally in your browser and rates each risky pattern. A clean directory is not a malware verdict — it means the archive is safe to extract into an empty folder and scan normally.
What makes a ZIP archive dangerous?
Entries named with ../ or absolute paths, symlink entries, executable files, and extreme compression ratios.
Those patterns attack the extraction step itself: files written outside the folder you chose, links that redirect later writes, or a small download expanding until the disk fills.
How to use
About this tool
The directory records every entry’s name, stored size, expanded size, compression method, encryption flag and the file attributes the archive was created with. That is enough to spot traversal paths, absolute paths, symlink entries, absurd compression ratios, nested archives and executables hiding in a "documents" bundle — without decompressing a single byte of content.
What this cannot do is judge the contents. A clean directory says nothing about malware inside an ordinary-looking file, and encrypted entries stay opaque until opened with their password. Treat a pass here as "safe to extract into an empty folder and scan", not as "safe to run".
How it works
C
h
e
c
k
s
:
e
n
t
r
y
n
a
m
e
s
a
g
a
i
n
s
t
.
.
/
s
e
g
m
e
n
t
s
,
l
e
a
d
i
n
g
/
a
n
d
d
r
i
v
e
-
l
e
t
t
e
r
p
a
t
t
e
r
n
s
a
n
d
b
a
c
k
s
l
a
s
h
s
e
p
a
r
a
t
o
r
s
;
t
h
e
U
n
i
x
m
o
d
e
s
t
o
r
e
d
i
n
e
x
t
e
r
n
a
l
a
t
t
r
i
b
u
t
e
s
f
o
r
s
y
m
l
i
n
k
e
n
t
r
i
e
s
(
0
o
1
2
0
0
0
0
)
;
p
e
r
-
e
n
t
r
y
a
n
d
t
o
t
a
l
e
x
p
a
n
d
e
d
-
v
s
-
s
t
o
r
e
d
r
a
t
i
o
s
(
f
l
a
g
g
e
d
a
b
o
v
e
1
0
0
:
1
w
i
t
h
r
e
a
l
s
i
z
e
b
e
h
i
n
d
i
t
)
;
s
i
n
g
l
e
e
n
t
r
i
e
s
e
x
p
a
n
d
i
n
g
p
a
s
t
1
G
B
;
e
n
t
r
y
c
o
u
n
t
s
p
a
s
t
1
0
,
0
0
0
;
e
x
e
c
u
t
a
b
l
e
a
n
d
n
e
s
t
e
d
-
a
r
c
h
i
v
e
e
x
t
e
n
s
i
o
n
s
;
t
h
e
e
n
c
r
y
p
t
i
o
n
f
l
a
g
i
n
e
a
c
h
e
n
t
r
y
h
e
a
d
e
r
.
Worked examples
: A 40 MB "assets.zip" from a new contractor: directory is clean, ratio 2.1:1, no executables. Extract into an empty folder, then virus-scan as usual.
: An invoice ZIP shows one entry named ../../../tmp/run.sh plus a symlink entry. Verdict: do not extract — the names alone are the attack.
: Your own backup expands 900:1 because it is mostly empty database dumps. The ratio flag fires, and the entry names confirm it is your file — context decides, the tool just surfaces it.
Frequently asked questions
Is it safe to check a malicious ZIP here?
The checker never extracts or executes anything: it parses the directory records at the end of the file with plain byte reads. A hostile archive gets no more access than any other file you read in a browser tab.
What is a zip bomb?
An archive designed to expand enormously — a few kilobytes becoming gigabytes, sometimes recursively through nested archives — to exhaust disk or memory during extraction or scanning. High ratio plus large expanded size is its fingerprint.
Does a clean result mean the files are safe?
No. This is a structural preflight, not antivirus. It catches archives that attack the extraction step itself. Contents still need a normal malware scan after extraction.
Why flag encrypted entries?
Not as a threat — as a blind spot. Encrypted entries cannot be scanned by any tool until they are opened, so the report lists them instead of silently passing them.
Are TAR, RAR or 7z archives supported?
No — this reads ZIP central directories only. Nested archives of other formats are flagged so you can check them with their own tools after extraction.
First time embedding? Read the step-by-step guide →
More free tools
QR Code Generator
Turn any link or text into a scannable QR code in seconds.
Word Counter
Count words, characters, sentences and reading time as you type.
Percentage Calculator
Work out percentages, increases and discounts in one click.
Age Calculator
Find your exact age in years, months and days.
BMI Calculator
Check your Body Mass Index in seconds.
Tip Calculator
Split the bill and work out the tip in seconds.