file-upload

Analyze source code for file upload vulnerabilities and unsafe archive extraction.

12|1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/florianbuetow/claude-code --skill file-upload-florianbuetow
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-upload
Source: https://github.com/florianbuetow/claude-code/tree/main/plugins/appsec/skills/file-upload
Command: npx skills add https://github.com/florianbuetow/claude-code --skill file-upload-florianbuetow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires semgrep, bandit, brakeman, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill identifies and helps you fix critical security vulnerabilities in file upload functionalities, protecting your applications from malicious file uploads, path traversal, and other exploits.

Core Features & Use Cases

  • Vulnerability Detection: Scans for insecure file handling, including missing validation, path traversal, and unsafe extraction.
  • Security Auditing: Assesses upload mechanisms against common threats like zip slip and unrestricted uploads.
  • Use Case: You've just implemented a new user profile picture upload feature. Run this Skill to ensure it's secure against attackers uploading malicious files or exploiting path traversal vulnerabilities.

Quick Start

Analyze the current codebase for file upload security issues.

Frequently Asked Questions about file-upload

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan my source code for file upload vulnerabilities?

To scan source code for file upload vulnerabilities, analyze the codebase to detect insecure file handling, missing content-type verification, and path traversal issues. This process identifies risks like unsafe extraction and client-only validation.

What is a zip slip vulnerability and how does it affect archive extraction?

A zip slip vulnerability occurs during archive extraction when filenames containing path traversal sequences cause files to be written outside the target directory. Security auditing detects this unsafe extraction logic to prevent breaches.

Does this code analysis tool work with multiple programming languages?

Yes, the code analysis supports security auditing of upload handlers and archive extraction logic across various programming languages by utilizing dependencies like semgrep, bandit, and brakeman for comprehensive vulnerability detection.

Can I use semgrep and bandit to detect path traversal in filenames?

Yes, you can use semgrep and bandit to detect path traversal in filenames. The analysis leverages these dependencies to identify missing magic byte checking and client-only validation issues in your upload mechanisms.

What is the best way to prevent unrestricted file uploads to webroot?

The best way to prevent unrestricted file uploads to webroot is to analyze your upload handlers for missing validation and execution risks. Security auditing identifies these flaws to secure your application against malicious uploads.