‹ 首页

file-upload-security

@goldenwing-360 · 收录于 1 周前

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.

适合你,如果需要在应用中安全地接收用户上传的文件

/ 通过 npx 安装 校验哈希
npx oh-my-skill add goldenwing-360/claude-security-skills/file-upload-security
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- goldenwing-360/claude-security-skills/file-upload-security
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify goldenwing-360/claude-security-skills/file-upload-security
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
13GitHub stars
~3.4K上下文体积 · 单文件
索引托管

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。