mcpField
F
file-access-vuln

file-access-vuln

github.com/yaklangSecurity2.6k3.7k installsUpdated 6w ago
Repository

About file-access-vuln

A triage skill for security testers and agents examining filesystem paths, downloads, uploads, and previews. It helps distinguish path traversal or LFI from upload-validation and processing-chain issues, then points to relevant skills.

Key features

  1. 01Identify path and download entry points
  2. 02Locate upload processing stages
  3. 03Route path traversal and LFI cases
  4. 04Route upload validation and processing cases

Use cases

  1. 01Check whether parameters affect file paths
  2. 02Analyze a file preview or download flow
  3. 03Classify an issue as traversal or upload processing

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/yaklang/hack-skills --skill file-access-vuln

After installing, type/file-access-vulnin Claude Code to confirm it loaded.

Details

From the project README

File Access Router

This is the routing entry point for filesystem paths, download endpoints, upload pipelines, and file preview handling.

When to Use

  • Parameters, filenames, download endpoints, or import flows influence file paths
  • The target supports upload, preview, transcoding, extraction, sharing, download, or proxied file access
  • You need to decide whether this is path traversal/LFI or an upload-validation/processing-chain issue

Skill Map

  • Path Traversal LFI: path traversal, file read, wrapper abuse, include chains
  • Upload Insecure Files: upload validation, storage paths, processing chains, overwrite risk, preview/share boundaries

Recommended Flow

  1. First identify whether the entry point is a path parameter, download endpoint, or upload workflow
  2. Then locate whether the issue appears in accept, store, process, or serve stages
  3. Small path-chain and upload-bypass samples are merged into the main topic skills; no separate payload entry is needed

Related Categories

Comments

Markdown supported