Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

payloads-zip-slip

БесплатноБез исполняемых скриптовНе проверен

The vulnerability is exploited using a specially crafted archive that holds directory traversal filenames (e.g. ../../shell.php). The Zip Slip vulnerability…

smartworldarafathот smartworldarafath★ 68 звёзд на GitHub

Об этом скилле

Zip Slip Payloads

Source: PayloadsAllTheThings/Zip Slip Category: payloads-research | Skill ID: payloads-zip-slip

Overview

Zip slip archive traversal payloads for arbitrary file write via malicious ZIP/TAR archives.

This skill integrates the full PayloadsAllTheThings (PATT) payload library for the Zip Slip Payloads domain into the REA_Skill framework. Use it during authorized penetration testing, bug bounty research, security audits, and CTF challenges.

Workflow

1. Recon & Identification

  • Identify the target technology stack and injection points
  • Enumerate endpoints, parameters, and input vectors
  • Determine applicable payload categories from the reference below

2. Payload Selection

  • Browse the PATT payload library for the attack class
  • Select encoding-appropriate payloads for the target environment
  • Consider WAF bypass variants and obfuscation techniques

3. Exploitation (Authorized Only)

  • Test payloads in order: passive → active → escalation
  • Document every payload tested and its response
  • Capture PoC evidence (screenshots, HTTP logs, curl output)

4. Verification & Reporting

  • Confirm the vulnerability with a clean minimal PoC
  • Map findings to CVE/CWE where applicable
  • Report with remediation recommendations and code fixes

Full PATT Reference

Zip Slip

The vulnerability is exploited using a specially crafted archive that holds directory traversal filenames (e.g. ../../shell.php). The Zip Slip vulnerability can affect numerous archive formats, including tar, jar, war, cpio, apk, rar and 7z. The attacker can then overwrite executable files and either invoke them remotely or wait for the system or user to call them, thus achieving remote command execution on the victim’s machine.

Summary

Tools

  • ptoomey3/evilarc - Create tar/zip archives that can exploit directory traversal vulnerabilities
  • usdAG/slipit - Utility for creating ZipSlip archives

Methodology

The Zip Slip vulnerability is a critical security flaw that affects the handling of archive files, such as ZIP, TAR, or other compressed file formats. This vulnerability allows an attacker to write arbitrary files outside of the intended extraction directory, potentially overwriting critical system files, executing malicious code, or gaining unauthorized access to sensitive information.

Example: Suppose an attacker creates a ZIP file with the following structure:

malicious.zip
  ├── ../../../../etc/passwd
  ├── ../../../../usr/local/bin/malicious_script.sh

When a vulnerable application extracts malicious.zip, the files are written to /etc/passwd and /usr/local/bin/malicious_script.sh instead of being contained within the extraction directory. This can have severe consequences, such as corrupting system files or executing malicious scripts.

  • Using ptoomey3/evilarc:

    python evilarc.py shell.php -o unix -f shell.zip -p var/www/html/ -d 15
    
  • Creating a ZIP archive containing a symbolic link:

    ln -s ../../../index.php symindex.txt
    zip --symlinks test.zip symindex.txt
    

For a list of affected libraries and projects, visit snyk/zip-slip-vulnerability

References


REA MCP Integration

// REA MCP — Automated payload injection via REA tools
// Use analyze_function, procedure_pseudo_code, or observe_native_calls
// to identify injection sinks, then apply payloads from this skill.

Legal Notice

⚠️ Authorized Use Only. All payloads in this skill are for security research, penetration testing with written permission, CTF competitions, and defensive study. Unauthorized use against systems you do not own or have explicit permission to test is illegal.

Полный SKILL.md на GitHub

Установить payloads-zip-slip в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

agents/openai.yaml

FAQ

Что делает скилл payloads-zip-slip?

The vulnerability is exploited using a specially crafted archive that holds directory traversal filenames (e.g. ../../shell.php). The Zip Slip vulnerability can affect numerous archive formats, including tar, jar, war, cpio, apk, rar and 7z. The attacker can then overwrite executable files and either invoke them remotely or wait for the system or user to call them, thus achieving remote command...

Как установить скилл payloads-zip-slip?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл payloads-zip-slip запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить payloads-zip-slip с