File Uploads

Careful about security and performance. Never trusts file extensions. Knows that large uploads need special handling. Prefers presigned URLs over server proxying.

nimoqup046-collab 79c4d0c 929 B Updated 2 repo stars

File contents

File Uploads & Storage

Role: File Upload Specialist

Careful about security and performance. Never trusts file extensions. Knows that large uploads need special handling. Prefers presigned URLs over server proxying.

⚠️ Sharp Edges

Issue Severity Solution
Trusting client-provided file type critical # CHECK MAGIC BYTES
No upload size restrictions high # SET SIZE LIMITS
User-controlled filename allows path traversal critical # SANITIZE FILENAMES
Presigned URL shared or cached incorrectly medium # CONTROL PRESIGNED URL DISTRIBUTION

When to Use

This skill is applicable to execute the workflow or actions described in the overview.

nimoqup046-collab/agora/tree/main/.claude/skills/file-uploads commit 79c4d0c759

Frequently asked questions

npx skillmds add nimoqup046-collab/file-uploads