CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

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.

Quality

65%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

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

50%Weight 40%Scale 1-5

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

The body is operationally rich — real commands, payload catalogs, tool recipes, and remediation code — and well sectioned, but it functions as a monolithic dump rather than a skill: concept explanations and reference lists that Claude already knows inflate token cost, content is duplicated across phases, and RCE payloads are redacted placeholders. Verification steps for confirming successful traversal (and for batch fuzzing results) are implicit rather than explicit checkpoints.

Suggestions

Move the payload catalogs, Linux/Windows target-file lists, and encoding-variant tables into one-level-deep reference files (e.g., references/payloads.md, references/targets.md), keeping a lean core workflow in SKILL.md and removing the duplicated Quick Reference/Phase 9 repetitions.

Cut the concept-explanation padding (Phase 1's 'what is path traversal' prose and attack-principle bullets) and trust Claude's existing knowledge of traversal mechanics.

Add explicit verification checkpoints to the testing methodology — e.g., confirm success by checking the response for 'root:' / '[boot loader]' markers, and instruct filtering ffuf/wfuzz output by response size and signature — so the batch fuzzing workflow includes a validate-then-escalate feedback loop.

DimensionReasoningScore

Conciseness

The ~480-line body inlines large reference lists (18 candidate parameters, dozens of Linux/Windows target files, encoding variants) that Claude largely already knows, explains basic concepts it knows ("'../' sequence moves up one directory", "Chain multiple sequences to reach root", an intro on what path traversal is), and duplicates content across sections — Phase 9 repeats the payloads of Phases 3-4 and the Quick Reference tables repeat Phase 5/6 target files. This matches the 'noticeably verbose; several unnecessary explanations or padded sections' anchor. It is above 1 because the material is accurate and much of it is operational reference rather than filler.

2 / 5

Actionability

Concrete, executable commands throughout: copy-paste curl tests, ffuf/wfuzz invocations with real wordlist paths, step-numbered Burp Intruder instructions, and complete PHP/Python remediation code — matching 'mostly executable guidance with minor gaps'. Not 5 because the LFI-to-RCE section uses placeholders ("[REDACTED_RCE_PAYLOAD]", "[REDACTED_BASE64_PAYLOAD]") and a commented-out ssh command, so those payloads are not copy-paste ready as written.

4 / 5

Workflow Clarity

A sequence exists (Phases 1-10 plus the 8-step methodology in Phase 9) and a Troubleshooting table gives some error recovery, but verification checkpoints are missing or only implicit — the methodology steps have no 'verify the response contains...' checks, and batch fuzzing operations (ffuf/wfuzz wordlist runs) lack explicit success-validation steps beyond a buried Burp note ('filter responses by size/content'). Per the rubric cap for batch operations without validation, workflow clarity cannot exceed 3.

3 / 5

Progressive Disclosure

Section structure is good and navigable (numbered phases, quick-reference tables, troubleshooting), but the skill is a single monolithic file: the ~300 lines of payload lists, OS-specific target-file catalogs, and encoding variants clearly belong in one-level-deep reference files (e.g., references/payloads.md, references/targets.md). This fits 'some structure but could be better organized; content that should be separate is inline'. Not 2 because headers and tables make it easy to navigate, unlike the no-structure anchor.

3 / 5

Total

12

/

20

Passed

Description

66%Weight 40%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 states a clear, concrete capability (identifying and exploiting path traversal to read arbitrary files, with named target types) in appropriately third-person voice. Its main weakness is the complete absence of 'when to use' trigger guidance, which caps completeness, and the omission of common community terms like LFI/local file inclusion.

Suggestions

Add an explicit trigger clause, e.g. "Use when testing web applications for path traversal, directory traversal, or local file inclusion (LFI) vulnerabilities, or when a file/path parameter appears to load files from the filesystem."

Include the common synonyms "LFI" and "local file inclusion" alongside "file path traversal (directory traversal)" to improve natural trigger-term coverage.

Briefly extend the 'what' to cover the testing workflow scope (e.g., payload bypass techniques, automated fuzzing, and remediation guidance) so the capability list matches what the body actually delivers.

DimensionReasoningScore

Specificity

"Identify and exploit file path traversal (directory traversal) vulnerabilities" plus "read arbitrary files on the server, potentially including sensitive configuration files, credentials, and source code" names the domain and several concrete actions with concrete target types, matching the 'several specific actions; minor gaps' anchor. It falls short of 5 because coverage is limited to reading — no mention of bypass techniques, automation, or escalation capabilities that would make it comprehensive; it is above 3 because more than 1-2 discrete actions are explicitly listed.

4 / 5

Completeness

The 'what' is clear and specific (identify and exploit path traversal to read arbitrary files), but there is no 'Use when...' clause or equivalent trigger guidance anywhere in the description, so completeness is capped at 3 per the judging guidelines. It is above 2 because the 'what' is concrete, not vague; it cannot be 4 without any 'when' guidance.

3 / 5

Trigger Term Quality

"file path traversal", "directory traversal", "read arbitrary files", "credentials", and "source code" give good natural keyword coverage including the primary synonym pair. Not 5 because common variations practitioners actually say — "LFI", "local file inclusion", "dot-dot-slash" — are absent; not 3 because both main synonyms and several natural target terms are present rather than missing.

4 / 5

Distinctiveness Conflict Risk

Path traversal / directory traversal is a well-defined niche with distinctive terminology, so it is mostly distinguishable from unrelated skills. Not 5 because the description overlaps a closely related local file inclusion (LFI) skill territory without carve-out language, and a general 'web vulnerability scanning' or 'LFI' skill could plausibly compete for the same triggers.

4 / 5

Total

15

/

20

Passed

Validation

93%

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

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

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

Warning

Total

15

/

16

Passed

Repository

administrakt0r/AI-Agents-Safe-Coding-Skills

Path

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

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.