Skip to main content
skill CX Codex

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

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add W4L33Dx/Cyber-Monster --skill zip-slip-and-archive-extraction-attacks -a claude-code
Open on GitHub

What 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-code

2Manually: put the files in place

~/.claude/skills/zip-slip-and-archive-extraction-attacks/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/zip-slip-and-archive-extraction-attacks/

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.

Similar skills

All skills for Security →

From the same set61

The whole set →
usb-and-peripheral-forensics usb-and-peripheral-forensics is a Claude Code skill that analyses USB connection records and peripheral activity. Investigates Windows storage artefacts during forensic reviews. CX Codex +1 ★ 73repo stars memory-forensics-process-and-injection-analysis memory-forensics-process-and-injection-analysis is a Claude Code skill for examining Windows processes and possible code injection in memory dumps. It activates for work on hidden processes, altered images, and suspicious memory regions. CX Codex +1 ★ 73repo stars network-forensics-and-pcap-malicious-traffic-identification network-forensics-and-pcap-malicious-traffic-identification is a Claude Code skill that detects C2 beacons and exfiltration in PCAP captures. Runs during suspicious traffic analysis. CX Codex +1 ★ 73repo stars saas-workspace-and-entra-unified-audit-forensics saas-workspace-and-entra-unified-audit-forensics is a Claude Code skill for examining Microsoft and Google audit records during BEC and SaaS tenant investigations. It traces OAuth grants, mail forwarding, and session-token replay. CX Codex +1 ★ 73repo stars windows-forensic-artifact-parser-development windows-forensic-artifact-parser-development is a Claude Code skill that guides forensic Python parser creation for Windows artifacts. Runs when building DFIR timelines, Prefetch, or hive decoders. CX Codex +1 ★ 73repo stars heap-exploitation heap-exploitation is a Claude Code skill for corruptions across glibc, Windows heap, and jemalloc. It activates on heap buffer overflows, double-free bugs, and use-after-free states. CX Codex +1 ★ 73repo stars windows-artifact-forensics windows-artifact-forensics is a Claude Code skill that examines Windows artefacts to reconstruct program execution and user activity. It activates during a Windows host investigation. CX Codex +1 ★ 73repo stars heap-exploitation-house-of-techniques heap-exploitation-house-of-techniques is a Claude Code skill that maps heap write primitives to House of * techniques and glibc mitigations. It activates when triaging allocator corruption. CX Codex +1 ★ 73repo stars

Project sponsors

Companies that keep this analytics open