file-upload

Tests web application file upload endpoints for validation bypasses and exploitation paths.

Updated Sep 17, 2026
One-click install
npx skills add https://github.com/karenrebecag/spec-driven-standards --skill file-upload-karenrebecag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-upload
Source: https://github.com/karenrebecag/spec-driven-standards/tree/main/plugins/security/skills/offensive-file-upload
Command: npx skills add https://github.com/karenrebecag/spec-driven-standards --skill file-upload-karenrebecag

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security testers need a systematic way to assess file upload functionality, which is a common entry point for remote code execution, stored XSS, and SSRF. This Skill provides a structured offensive checklist so no bypass technique or impact scenario is missed during an assessment. ## Core Features & Use Cases - Bypass Technique Coverage: MIME type manipulation, extension tricks (double extensions, null bytes, case variation, trailing characters), magic byte forging, and polyglot files. - Impact Scenario Testing: Web shell upload for RCE, SVG/GIF-based stored XSS, XXE and SSRF via crafted files, path traversal in filenames, archive attacks (Zip Slip, symlink abuse), and race conditions. - Use Case: During a bug bounty engagement, you find an avatar upload endpoint. Use this Skill to walk through extension bypasses, Content-Type manipulation, and SVG XSS payloads, then verify whether uploaded files are executable or rendered in an unsafe context. ## Quick Start Use the file-upload skill to assess the upload endpoint at the target URL and report which validation bypasses succeed.

Frequently Asked Questions about file-upload

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

FAQPage Schema
How do I test file upload vulnerabilities in a web application?

Start by mapping all upload functionality, then test baseline uploads before attempting bypasses: extension manipulation, Content-Type header changes, magic byte forging, and polyglot files. Verify impact by checking whether uploaded files execute, render active content, or traverse directories.

What are common file upload bypass techniques?

Common bypasses include double extensions (shell.php.jpg), alternate executable extensions (.phtml, .php5), case variation (.PhP), null bytes, trailing dots or spaces, MIME type spoofing, and prepending valid magic bytes like GIF89a to malicious payloads.

Can SVG file uploads lead to XSS?

Yes. SVG files can contain embedded JavaScript that executes when rendered in a browser, producing stored XSS. They can also carry XXE entities or external image references that trigger SSRF against internal services.

What tools are used for file upload vulnerability testing?

The methodology references Burp Suite or OWASP ZAP for request interception, ExifTool for metadata injection, Fuxploider as a dedicated upload scanner, ffuf for fuzzing endpoints and extensions, and Weevely for web shell generation.

When should file upload testing not be performed?

Only test upload endpoints within an authorized scope such as a sanctioned pentest or bug bounty program. Uploading web shells or malicious payloads to systems without written permission is illegal and outside this checklist's intended use.