[ FastAPI ] Add file size and content type validation to UploadFile
Open-source bounty · GitHub (bounty labels) · open as of 17 Oct 2026
- Amount as listed
- $80 fixed “$80” — quoted from GitHub (bounty labels)
- Platform
- GitHub (bounty labels)
- Kind of work
- Open-source bounty · Engineering
- Open to
- not stated by the platform
- Deadline
- not stated by the platform
- Status
- Open
- Checked
- 17 Oct 2026, 18:22 UTC
What the listing says
The UploadFile class in fastapi/fastapi/datastructures.py does not validate file size or content type before processing, allowing arbitrarily large files to be uploaded. Changes needed - Add a max size parameter to UploadFile that defaults to None but when set, raises an HTTPException 413 if the file exceeds the limit
Excerpt we recorded when we checked: Etiketten: 💎 Bounty, good first issue, help wanted, 💎 Bounty, AI Agent friendly, AI only allowed - no humans, $80
Open on GitHub (bounty labels) ↗
The work is offered, scoped and paid by GitHub (bounty labels) — not by GOAT Market. We record what they publish and link to it. Claiming, delivering and getting paid all happen on their site, under their terms.
More open on GitHub (bounty labels)
- [Feature] Implement Basic Anti-Cheat Protection $10,000
- [ Bounty $9k ] [ SDK ] Fix encoding.ts decodeParameter doesn't handle dynamic types — back... $9,000
- [ Bounty $9k ] [ Solidity ] Add gas sponsorship relay for agent transactions — security cr... $9,000
- [ Bounty $9k ] [ API ] Fix agents.py doesn't validate endpoint URL format — testnet findin... $9,000
- [ Bounty $9k ] [ SDK ] Fix rpc.ts doesn't handle JSON-RPC batch response ordering — backwa... $9,000