CtrlK
BlogDocsLog inGet started
Tessl Logo

file-path-traversal

Identify and exploit file path traversal (directory traversal) vulnerabilities that allow attackers to read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code.

51

Quality

56%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Critical

Do not install without reviewing

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills/skills/file-path-traversal/SKILL.md

The canonical home for this skill is file-path-traversal in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

46%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

This skill is comprehensive in coverage but severely over-long and verbose for its purpose. It explains many concepts Claude already knows (filesystem basics, what path traversal is, HTTP structure) and inlines extensive reference material (target file lists, encoding tables) that should be in separate files. The actionability is its strongest dimension with concrete commands and payloads, but the workflow lacks validation checkpoints critical for security testing.

Suggestions

Remove the 'Understanding Path Traversal' explanation, prerequisites 'Required Knowledge' section, and impact bullets — Claude already knows these concepts. Focus only on the novel testing methodology and payloads.

Extract the target file lists (Phases 5-6), encoding reference tables, and prevention code into separate bundle files (e.g., TARGET_FILES.md, ENCODINGS.md, REMEDIATION.md) and reference them from the main skill.

Add explicit validation steps to the workflow: how to confirm a traversal succeeded (e.g., check for 'root:x:' in response for /etc/passwd), how to differentiate false positives, and what to do when results are ambiguous.

Consolidate the 10 phases into 3-4 focused steps: Identify parameters → Test payloads (with bypass progression) → Verify and document findings → Escalation (optional).

DimensionReasoningScore

Conciseness

The skill is heavily verbose, explaining concepts Claude already knows (what path traversal is, how ../ works, what /etc/passwd contains, HTTP request structure). The 'Understanding Path Traversal' section, impact bullet points, prerequisites listing 'Required Knowledge', and extensive target file lists are largely unnecessary padding. The content could be cut by 50%+ while retaining all actionable value.

2 / 5

Actionability

The skill provides concrete, executable curl commands, ffuf/wfuzz commands, and code examples for both exploitation and remediation. The payloads are copy-paste ready. Minor gaps include redacted RCE payloads (understandable for safety) and some sections that list files without showing how to confirm successful exploitation beyond visual inspection.

4 / 5

Workflow Clarity

The phases provide a rough sequence from identification through exploitation to prevention, but there are no explicit validation checkpoints or feedback loops. Phase 9 ('Testing Methodology') attempts a structured approach but lacks verification steps (e.g., how to confirm a traversal succeeded vs failed). For a skill involving potentially destructive/sensitive operations, the absence of validation steps caps this at 3.

3 / 5

Progressive Disclosure

The content is a monolithic wall of text with no bundle files or references to external documents. The extensive target file lists (Phases 5-6), encoding tables, and prevention code examples would be better placed in separate reference files. Everything is inlined in a single very long document with no navigation aids beyond section headers.

2 / 5

Total

11

/

20

Passed

Description

66%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description does a good job of specifying the domain (path traversal vulnerabilities) and listing concrete outcomes like accessing credentials and source code. However, it lacks an explicit 'Use when...' clause, which limits Claude's ability to confidently select this skill from a large pool. Adding trigger guidance and a few more synonyms would strengthen it.

Suggestions

Add an explicit 'Use when...' clause, e.g., 'Use when the user mentions path traversal, directory traversal, LFI, or reading arbitrary files on a server.'

Include common synonyms and abbreviations such as 'LFI', 'local file inclusion', 'dot-dot-slash', '../', and 'path manipulation' to improve trigger term coverage.

DimensionReasoningScore

Specificity

The description names the domain (file path traversal vulnerabilities) and lists several specific outcomes (read arbitrary files, access sensitive configuration files, credentials, source code). It could be more specific about the concrete actions/techniques used (e.g., crafting payloads, testing input parameters, bypassing filters).

4 / 5

Completeness

The description clearly answers 'what' (identify and exploit path traversal vulnerabilities) but lacks an explicit 'when' clause. There is no 'Use when...' guidance to help Claude know when to select this skill over others.

3 / 5

Trigger Term Quality

Includes strong natural trigger terms like 'file path traversal', 'directory traversal', 'read arbitrary files', 'sensitive configuration files', 'credentials', and 'source code'. Missing some common synonyms like 'LFI' (local file inclusion), 'dot-dot-slash', '../', or 'path manipulation'.

4 / 5

Distinctiveness Conflict Risk

The description is fairly distinct, focusing specifically on path/directory traversal vulnerabilities. There is minor overlap risk with other web security or vulnerability scanning skills, but the specific vulnerability type is clearly called out.

4 / 5

Total

15

/

20

Passed

Validation

90%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation10 / 11 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

10

/

11

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.