Skip to content

Add file upload size validation#400

Description

@meshackyaro

Description

File upload endpoints accept files exceeding 10MB limit. DoS vector and resource waste.

Component

Backend

Difficulty

馃煝 Easy

Tasks

  • Enforce file size limits in multer config
  • Validate size before processing
  • Return clear error for oversized files
  • Document upload limits
  • Test with large files

Acceptance Criteria

  • Oversized files rejected immediately
  • Clear error message returned
  • DoS vector mitigated

Estimated Time

1 day

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions