Download for macOS
Skill

file-upload

@thejefflarson Updated 2026-07-31

Detects file upload handlers that accept executable content or write to web- accessible paths without validation. Use when writing file upload handlers, processing multipart form data, saving uploaded files to disk or cloud storage. Also invoke when accepting user-supplied filenames or storing uploads in a web-accessible directory.

llmssecurityskills

Install

With your agent

Install OMGSkills skill "thejefflarson/soundcheck:.claude/skills/file-upload" into this agent's normal skills directory: use the OMGSkills MCP get_skill tool, install only the pinned_install commit and path, verify SKILL.md against pinned_install.skill_md_sha, and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/thejefflarson/soundcheck /tmp/soundcheck && ln -s /tmp/soundcheck/.claude/skills/file-upload ~/.claude/skills/file-upload

From README

File Upload Security Check (A04:2025) What this checks Protects against unrestricted file upload attacks where an attacker uploads executable files (web shells, scripts, HTML with embedded JS) that the server later serves or executes. Exploitation leads to remote code execution, stored XSS, or full server compromise. Vulnerable patterns Upload handler that writes the user-supplied filename directly to disk, enabling path traversal and extension bypass Upload destination inside the web-accessible document root, so uploaded content is served directly by the web server No extension allowlist, or an extension denylist that misses novel or case-varied extensions No upload-size cap enforced at the framework or reverse-proxy level MIME type taken from the client-supplied Content-Type header rather than the file's magic bytes Fix immediately Flag the vulnerable code and explain the risk.