Skip to content

a5-part2 - #17

Open
richardwang1236 wants to merge 8 commits into
mainfrom
a5-part2
Open

a5-part2#17
richardwang1236 wants to merge 8 commits into
mainfrom
a5-part2

Conversation

@richardwang1236

Copy link
Copy Markdown
Collaborator

No description provided.

richardwang1236 and others added 8 commits November 12, 2025 17:18
…lidation

- Add security module (rate_limiter.py, input_validator.py)
- Apply rate limiting to all endpoints (predict, batch_predict, login, register, etc.)
- Add input validation with Marshmallow schemas
- Implement path traversal protection for model switching
- Add request size limits (1MB for main app, 2GB for auth app)
- Add SQL injection and XSS protection
- Enforce password strength requirements
- Add error handlers for 413 and 429 status codes
- Update requirements.txt with marshmallow dependency
- Clean up README formatting (remove emojis)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants