zip-slip-and-archive-extraction-attacks — Claude Code skill
zip-slip-and-archive-extraction-attacks is a Claude Code skill that audits archive extraction for path escapes and related flaws. It activates when an application unpacks archives supplied by users.
no license ★ 73 updated 2026-11-15
npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a claude-codeWhat zip-slip-and-archive-extraction-attacks does
The skill inspects extraction code for ZIP, TAR, 7z, APK, and Helm or OCI layers. It looks for paths that escape the destination, writes through symbolic or hard links, decompression bombs, and confusing TAR headers.
The audit checks whether each resolved output path stays inside the extraction directory. It also looks for checks performed on a raw name before path normalisation, which can leave an escape unchecked. Exploitation requires the extracting process to have read or write access to the reached location.
What it helps with
- find archive paths that escape the extraction directory
- catch writes that pass through archive links
- spot path checks performed before normalisation
- identify archives that expand into excessive output
Example prompts for the agent
- Audit user-uploaded ZIP extraction for paths that leave the destination directory.
- Check TAR handling for unsafe links and header paths.
- Inspect OCI layer extraction for decompression bombs.
How to install zip-slip-and-archive-extraction-attacks
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a claude-code2Manually: put the files in place
~/.claude/skills/zip-slip-and-archive-extraction-attacks/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/zip-slip-and-archive-extraction-attacks/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a codex2Manually: put the files in place
.agents/skills/zip-slip-and-archive-extraction-attacks/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a cursor2Manually: put the files in place
.cursor/skills/zip-slip-and-archive-extraction-attacks/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install W4L33Dx/Cyber-Monster red-team/web-and-application/zip-slip-and-archive-extraction-attacks2Manually: put the files in place
.github/skills/zip-slip-and-archive-extraction-attacks/SKILL.md1Skills CLI (Vercel)
npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a gemini-cli2Platform CLI
gemini skills install https://github.com/W4L33Dx/Cyber-Monster --path red-team/web-and-application/zip-slip-and-archive-extraction-attacksManually: put the files in place
.devin/skills/zip-slip-and-archive-extraction-attacks/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about zip-slip-and-archive-extraction-attacks
How do I install zip-slip-and-archive-extraction-attacks in Claude Code?
Run npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a claude-code. The skill file is at ~/.claude/skills/zip-slip-and-archive-extraction-attacks/SKILL.md.
What does zip-slip-and-archive-extraction-attacks do?
It audits archive extraction code for path escapes, link-based writes, decompression bombs, and TAR header issues.
Which archive formats does zip-slip-and-archive-extraction-attacks cover?
It covers ZIP, TAR, 7z, APK, and Helm or OCI layers.