path-traversal

Detect directory and archive traversal vulnerabilities in filesystem operations.

7|1|Updated Apr 14, 2026
One-click install
npx skills add https://github.com/ArianHobson333/claude-bug-bounty-stack --skill path-traversal-arianhobson333
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: path-traversal
Source: https://github.com/ArianHobson333/claude-bug-bounty-stack/tree/main/vendor/Decepticon/skills/analyst/path-traversal
Command: npx skills add https://github.com/ArianHobson333/claude-bug-bounty-stack --skill path-traversal-arianhobson333

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill identifies directory traversal and archive traversal (ZipSlip/TarSlip) vulnerabilities from user input to filesystem operations.

Core Features & Use Cases

  • Find sinks: Identifies potential sinks such as open(user_path), send_file(user_path), file download endpoints, and archive extraction APIs.
  • Probe payload classes: Includes relative traversal, encoded traversal, mixed separators, and archive traversal payloads.
  • Verify controls: Ensures canonicalization and path confinement to intended root.
  • Validation: Confirms unauthorized file read/write outside allowed directory with positive and negative controls.

Quick Start

Use the path-traversal skill to scan for directory traversal vulnerabilities in the given input.

Frequently Asked Questions about path-traversal

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect directory traversal vulnerabilities in user input?

To detect directory traversal vulnerabilities, you need to scan for relative and encoded traversal paths, mixed separators, and archive traversal payloads within user input leading to filesystem operations. This process verifies that path confinement and canonicalization controls prevent unauthorized file read or write outside allowed directories.

What is an archive traversal vulnerability and how does ZipSlip work?

An archive traversal vulnerability, such as ZipSlip or TarSlip, occurs when archive extraction APIs allow relative traversal paths to escape the intended target directory. Detecting it requires probing archive extraction inputs for malicious payloads and verifying that canonicalization confines the extracted paths to the allowed root directory.

How do I verify that path confinement controls are in place for filesystem operations?

To verify path confinement controls for filesystem operations, you must check that canonicalization is applied to user input and validate that unauthorized file read or write operations are blocked outside allowed directories using both positive and negative controls.

What payload classes should I test for when auditing directory traversal security?

When auditing directory traversal security, you should test payload classes including relative traversal, encoded traversal, mixed separators, and archive traversal payloads. These payloads probe file download endpoints, send_file functions, and open operations to bypass path confinement.

Does this vulnerability detection approach check for encoded traversal paths and mixed separators?

Yes, this vulnerability detection approach explicitly checks for encoded traversal paths and mixed separators. It probes user input leading to filesystem operations to ensure that canonicalization and path confinement controls successfully mitigate these directory traversal techniques.