minimal-api-file-upload
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a developer resource for secure implementation practices in .NET 8+.
- [SAFE]: It provides explicit warnings and code for mitigating path traversal vulnerabilities by avoiding user-supplied filenames.
- [SAFE]: The implementation examples demonstrate content validation via magic bytes (file signatures) to prevent file type spoofing.
- [SAFE]: It correctly manages security features like anti-forgery tokens for form-bound endpoints, providing guidance on protecting against CSRF attacks.
Audit Metadata