首页/ AI 技能 / @skilllib/skill-2014279377838616577
Skill站外收录 @skilllib/skill-2014279377838616577

file-uploads

专精于安全高效地处理各类文件上传与云存储任务,支持对象存储服务集成、预签名 URL 生成、分片上传及图片优化,能可靠应对大文件传输场景。

0.0 (0) 177 次安装 原作者 编程导航
收录于 2026-01-22

Skills.MD

# 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 |

评论 0

还没有评论,来抢沙发。