Upload surfaces are high risk: server-side execution (RCE), stored XSS, malware distribution, storage takeover, and DoS. Modern stacks mix direct-to-cloud uploads, background processors, and CDNs—authorization and validation must hold across every step.
Validate execution - Can uploaded content execute on server or client?
Validation
Demonstrate execution or rendering of active content: web shell reachable, or SVG/HTML executing JS when viewed
Show filter bypass: upload accepted despite restrictions with evidence on retrieval
Prove header weaknesses: inline rendering without nosniff or missing attachment
Show race or pipeline gap: access before AV/CDR; extraction outside intended directory
Provide reproducible steps: request/response for upload and subsequent access
False Positives
Upload stored but never served back; or always served as attachment with strict nosniff
Converters run in locked-down sandboxes with no external IO and no script engines
AV/CDR blocks the payload and quarantines; access before scan is impossible by design
Impact
Remote code execution on application stack or media toolchain host
Persistent cross-site scripting and session/token exfiltration via served uploads
Malware distribution via public storage/CDN; brand/reputation damage
Data loss or corruption via overwrite/zip slip; service degradation via zip bombs
Pro Tips
Keep PoCs minimal: tiny SVG/HTML for XSS, a single-line PHP/ASP where relevant
Always capture download response headers and final MIME; that decides browser behavior
Prefer transforming risky formats to safe renderings (SVG→PNG) rather than complex sanitization
In presigned flows, constrain all headers and object keys server-side
For archives, extract in a chroot/jail with explicit allowlist; drop symlinks and reject traversal
Test finalize/complete steps in resumable flows; many validations only run on init
Verify background processors with EICAR and tiny polyglots
When you cannot get execution, aim for stored XSS or header-driven script execution
Validate that CDNs honor attachment/nosniff
10. Document full pipeline behavior per asset type
Summary
Secure uploads are a pipeline property. Enforce strict type, size, and header controls; transform or strip active content; never execute or inline-render untrusted uploads; and keep storage private with controlled, signed access.
How to use it
Copy the folder
Take asdfgh1445/strix•不安全文件上传 from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
Check the name does not clash
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.