Skill / SKILL.md

File Upload Security

GoldenWing-360/claude-security-skills

Accept user file uploads without introducing remote code execution, stored XSS, or polyglot attacks. Covers magic-byte validation, strict type allowlists, image re-encoding to defang embedded payloads, EXIF stripping, virus scanning, path-safe storage keys, and serving via a separate origin with Content-Disposition. Invoke when adding upload to a new endpoint or migrating from local-disk storage to object storage.
2 views 23 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Accept user file uploads without introducing remote code execution, stored XSS, or polyglot attacks. Covers magic-byte validation, strict type allowlists, image re-encoding to defang embedded payloads, EXIF stripping, virus scanning, path-safe storage keys, and serving via a separate origin with Content-Disposition. Invoke when adding upload to a new endpoint or migrating from local-disk storage to object storage.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/GoldenWing-360/claude-security-skills' skill-source

Use the complete skill-source/file-upload-security directory with your client’s skill installer.

Source directory file-upload-security

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
67c06c9312636f084a748004830477fd2665cc260701e5630072af364e05bb32
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills