SkillTrust

← All skills

file-path-traversal-detection

100 / 100 · Low risk

Fine to try.

By Tencent/AI-Infra-Guard (GitHub) · security · 7,468 stars · scanned at commit 29e589c

Detect unsafe file handling and path traversal in upload/save/extract flows. Focuses on user-controlled paths or filenames, not data leakage.

Works with any agent that supports SKILL.md skills.

What this skill can do

We found nothing in the files we read that matches our rules. That does not prove the skill is safe: see the limits of static scanning.

Install

Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.

if [ -e ~/.agents/skills/'file-path-traversal-detection' ] || [ -L ~/.agents/skills/'file-path-traversal-detection' ]; then echo 'A skill folder named file-path-traversal-detection already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/Tencent/AI-Infra-Guard' "$d" && git -C "$d" checkout --quiet '29e589c88471a0fff732d8c38004ff2487be461c' -- 'agent-scan/agent_scan/prompt/skills/file-path-traversal-detection' && mkdir -p ~/.agents/skills && cp -R "$d"/'agent-scan/agent_scan/prompt/skills/file-path-traversal-detection' ~/.agents/skills/'file-path-traversal-detection' && rm -rf "$d"; fi

Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'file-path-traversal-detection' ~/.claude/skills/'file-path-traversal-detection' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.

Badge for your README

The badge for Tencent/AI-Infra-Guard shows the score of its lowest-scoring skill.

SkillTrust badge for Tencent/AI-Infra-Guard

[![SkillTrust](https://zalavijaysinh.github.io/skilltrust/badges/Tencent/AI-Infra-Guard.svg)](https://zalavijaysinh.github.io/skilltrust/repos/Tencent/AI-Infra-Guard/)

Score history

DateVersionScore
2026-11-1129e589c100
2026-11-0876146bf100
2026-11-0776146bf100