path-traversal-anti-pattern
CommunityPrevent directory traversal attacks.
Authorigbuend
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill protects applications from attackers who exploit vulnerabilities in file path handling to access or modify files outside of the intended directory.
Core Features & Use Cases
- Vulnerability Detection: Identifies insecure code patterns where user input is directly concatenated into file paths.
- Secure Coding Guidance: Provides clear "BAD" and "GOOD" code examples demonstrating how to validate and sanitize file paths.
- Use Case: When reviewing code that handles file uploads or serves static content, use this Skill to ensure that user-provided filenames cannot be manipulated to access sensitive system files.
Quick Start
Review the current directory for path traversal vulnerabilities.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: path-traversal-anti-pattern Download link: https://github.com/igbuend/grimbard/archive/main.zip#path-traversal-anti-pattern Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.