security-review-owasp-file-upload

Analyze file upload security flaws across validation, storage, and processing.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/sjinks/ai-owasp-skillset --skill security-review-owasp-file-upload
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review-owasp-file-upload
Source: https://github.com/sjinks/ai-owasp-skillset/tree/main/.github/skills/security-review-owasp-file-upload
Command: npx skills add https://github.com/sjinks/ai-owasp-skillset --skill security-review-owasp-file-upload

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps reviewers find security weaknesses in file upload features before attackers can use them to store, execute, overwrite, or expose malicious content.

Core Features & Use Cases

  • Upload Validation Review: Checks extension, MIME type, signature, and filename handling for bypasses and parser confusion.
  • Storage and Serving Review: Evaluates whether uploaded files are isolated from web-accessible paths and protected by proper access controls.
  • Processing Risk Review: Assesses archive extraction, document handling, content scanning, and other dangerous post-upload processing steps.
  • Use Case: Use this Skill when auditing an application that accepts user avatars, documents, archives, or media uploads and needs a clear security finding list.

Quick Start

Use the security-review-owasp-file-upload skill to review the attached codebase for upload validation, storage exposure, authorization, and unsafe file processing issues.

Frequently Asked Questions about security-review-owasp-file-upload

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

FAQPage Schema
How do I review file upload security flaws in my application code?

Reviewing file upload security flaws involves checking upload endpoints for extension, MIME type, signature, and filename validation bypasses. It also requires evaluating storage exposure, authorization checks, CSRF, rate limiting, and dangerous execution paths.

What security checks are needed for user file uploads and document processing?

User file uploads require validation of extensions, MIME types, and file signatures to prevent parser confusion. Storage must isolate files from web-accessible paths, and document processing needs assessment for archive extraction risks and content scanning.

How can I prevent malicious file execution from uploaded content?

Preventing malicious file execution requires isolating uploaded files from web-accessible directories and validating file signatures. You must also assess dangerous post-upload processing paths, including archive extraction and document handling operations.

Does this file upload review cover CSRF and rate limiting on upload endpoints?

Yes, file upload security review covers CSRF and rate limiting on upload endpoints. It analyzes authorization checks, storage exposure, and unsafe file processing to identify vulnerabilities in code, configuration, architecture, and operational controls.

How do I audit file storage exposure and authorization for uploaded media?

Auditing file storage exposure requires verifying that uploaded media is isolated from web-accessible paths and protected by proper access controls. The review checks authorization mechanisms and storage configuration to prevent unauthorized access.

What are the limitations of reviewing file upload validation without checking archive handling?

Reviewing file upload validation without checking archive handling misses critical extraction risks. Archive processing, document handling, and content scanning represent dangerous post-upload steps that can introduce execution paths and storage vulnerabilities.