path-traversal
What it does
This skill is a short playbook for finding path traversal flaws, where a crafted file name escapes the folder an app should use. It is for developers and reviewers who check code they are allowed to test.
When to use it
- ✓When a developer asks the agent to check whether user input can reach file download or upload code.
- ✓When the agent reviews archive extraction code for entries that point outside the target folder.
- ✓When a team needs to confirm that path checks run before the allowed-folder test.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/path-traversal/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you check our authorized app to see whether a file name from the user can reach files outside the uploads folder?”
5 new skills a week. 1 minute to read.
How it works
The agent finds the code that opens or sends files, traces the user input to those calls, and checks whether the path is limited to the intended folder.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Path Traversal Playbook
Find sinks
open(user_path),send_file(user_path), file download endpoints, archive extraction APIs.
Probe payload classes
- Relative traversal:
../../../../etc/passwd - Encoded traversal:
%2e%2e%2f - Mixed separators:
..\\..\\windows\\win.ini - Archive traversal: entries like
../../app/config.py
Verify controls
- Canonicalization done before allowlist check.
- Path confinement to intended root.
Validation
Confirm unauthorized file read/write outside allowed directory with positive and negative controls.
FAQ
What is path traversal?
It is when a crafted file name uses folder steps to reach files the app was not meant to share.
Why does the skill mention archives?
It says archive entries with folder steps can also escape the target folder when the archive is extracted.
What proves the flaw?
The skill asks for a positive test that reads a file outside the folder and a negative test that is blocked.
Details
Original description by the author
Hunt directory traversal and archive traversal (ZipSlip/TarSlip) from user input to filesystem operations.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #13964
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.