vuln-file-upload

Test server-side file upload filters against extension, MIME-type, and magic-byte bypasses.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill vuln-file-upload
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vuln-file-upload
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/vuln-file-upload
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill vuln-file-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the risk of insecure file uploads by providing a structured, safe methodology to test server-side validation logic without exposing systems to uncontrolled RCE or malicious payloads.

Core Features & Use Cases

  • Bypass Testing: Systematically tests extension, MIME-type, and magic-byte filters using inert probe files.
  • Risk-Gated Execution: Enforces strict authorization and destructive-risk approval before any attempt to confirm code execution.
  • Evidence Collection: Automates the generation of a standardized bypass matrix to document server posture and remediation requirements.

Quick Start

Use the vuln-file-upload skill to initiate a baseline assessment of the target upload endpoint by testing extension blocklist bypasses with inert probe files.

Frequently Asked Questions about vuln-file-upload

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

FAQPage Schema
How do I safely test file upload validation filters during a pentest?▼

To safely test file upload validation filters during a pentest, use inert probe files to systematically test extension, MIME-type, and magic-byte bypasses without exposing systems to uncontrolled RCE.

What is a magic-byte bypass and how does it affect file upload security?▼

A magic-byte bypass is a technique that manipulates file headers to spoof server-side MIME-type validation, affecting file upload security by allowing potentially dangerous payloads to bypass extension blocklists.

Does this file upload security testing approach require explicit authorization?▼

Yes, this file upload security testing approach requires explicit authorization, including strict adherence to destructive-risk approval gates and policy-compliant probe execution, to ensure authorized penetration testing engagements.

How do I document server posture and remediation requirements for insecure file uploads?▼

You document server posture and remediation requirements for insecure file uploads by automating the generation of a standardized bypass matrix that records evidence of server-side filter validation failures.

Why does my file upload bypass testing need inert probe files?▼

Your file upload bypass testing needs inert probe files to provide a structured, safe methodology that validates server-side logic without risking uncontrolled remote code execution or deploying malicious payloads.