CtrlK
BlogDocsLog inGet started
Tessl Logo

sast-pathtraversal

Detect path traversal vulnerabilities in a codebase using a three-phase approach: recon (find file-loading sinks with dynamic paths), batched verify (trace user input and mitigations in parallel subagents, 3 sinks each), and merge (consolidate batch results). Requires sast/architecture.md (run sast-analysis first). Outputs findings to sast/pathtraversal-results.md. Use when asked to find path traversal, directory traversal, or file disclosure bugs.

67

Quality

81%

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

The canonical home for this skill is sast-pathtraversal in utkusen/sast-skills

SKILL.md
Quality
Evals
Security

Quality

Content

71%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.

Highly actionable with concrete subagent prompts, output templates, and multi-language code examples, plus a well-sequenced three-phase workflow with a validation gate. Weaker on conciseness (mitigation guidance repeated three times, conceptual intro) and progressive disclosure (everything inlined in one long file with no reference files).

Suggestions

Move the per-language vulnerable/secure code examples and the file-loading sink function lists into a dedicated reference file (e.g., references/examples.md) and link to it from the main body, shrinking SKILL.md to an overview.

Deduplicate the mitigation guidance — 'Patterns That Prevent Path Traversal', Phase 2 'Check B', and 'Important Reminders' all re-explain realpath/basename/allowlist; keep one canonical reference and point the others to it.

Trim the conceptual 'What is Path Traversal' intro; Claude already knows this concept — retain only the skill-specific classification boundaries (the IS/NOT lists).

DimensionReasoningScore

Conciseness

The body is ~545 lines with a conceptual 'What is Path Traversal' intro explaining a concept Claude already knows, and the mitigation guidance (realpath/basename/allowlist) is re-explained three times — in 'Patterns That Prevent', Phase 2 'Check B', and 'Important Reminders'. It is not 2 because the bulk is genuinely actionable reference material rather than generic padding, and not 4 because the repetition and conceptual intro could clearly be tightened.

3 / 5

Actionability

Provides fully executable guidance: copy-paste subagent prompts, exact markdown output templates, concrete batching procedures, and runnable vulnerable/secure code examples across Python, Node, PHP, Ruby, Java, Go, and C#. It is not 4 because examples cover the common cases comprehensively rather than having minor gaps.

5 / 5

Workflow Clarity

Three phases are clearly sequenced with an explicit validation gate after Phase 1 ('If the recon found zero file-loading sinks ... skip Phase 2 and Phase 3 entirely') and stated phase dependencies plus cleanup. It is not 5 because there is no findings-quality feedback loop or completeness check that all sinks were batched before merge, and not 3 because a real validation checkpoint exists rather than validation being absent.

4 / 5

Progressive Disclosure

No bundle/reference files exist and all content is inlined into one 545-line SKILL.md, including per-language code examples and sink function lists that read as reference material belonging in separate files. It is not 4 because the file is reference-heavy with nothing split out, and not 2 because section structure is clear and navigable rather than minimal.

3 / 5

Total

15

/

20

Passed

Description

92%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.

A strong, specific description that clearly states what the skill does (three-phase path traversal detection) and when to use it, with natural trigger terms and minimal conflict risk. The only minor gap is a few missing natural synonyms for trigger term coverage.

DimensionReasoningScore

Specificity

Lists multiple concrete actions across the three phases — 'recon (find file-loading sinks with dynamic paths)', 'batched verify (trace user input and mitigations in parallel subagents, 3 sinks each)', and 'merge (consolidate batch results)' — giving comprehensive coverage of what the skill does. It is not a 4 because coverage is broad and specific rather than having only minor gaps.

5 / 5

Completeness

Explicitly answers both: the 'what' ('Detect path traversal vulnerabilities ... using a three-phase approach') and the 'when' ('Use when asked to find path traversal, directory traversal, or file disclosure bugs') with concrete trigger phrases. It is not 4 because the 'when' is fully explicit rather than only somewhat specific.

5 / 5

Trigger Term Quality

Includes natural trigger phrases users would say — 'path traversal, directory traversal, or file disclosure bugs' — with synonyms, but a few natural variants (e.g., 'file inclusion', 'dotdot slash', 'symlink escape') are absent. It is not 5 because coverage is good rather than comprehensive, and not 3 because synonyms and natural phrasing are clearly present.

4 / 5

Distinctiveness Conflict Risk

Occupies a clear niche (path traversal detection) with distinct triggers and an explicit boundary note ('Requires sast/architecture.md (run sast-analysis first)') that disambiguates it from sibling SAST skills. It is not 4 because conflict risk is minimal, not merely reduced.

5 / 5

Total

19

/

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.

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (545 lines); consider splitting into references/ and linking

Warning

Total

15

/

16

Passed

Repository
utkusen/sast-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.