Path traversal

From zakirkun/ice-tea · View interactive version

Path traversal is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects unsafe file access involving user input

How to use this skill

Skill file

Path Traversal

Overview

Path Traversal (Directory Traversal) occurs when user-supplied input is used to construct a file path without proper neutralization of special elements (like ../).

Remediation

Always sanitize user input, use filepath.Clean in Go, or os.path.abspath in Python, and verify that the final resolved path resides within the expected base directory.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.