Repository navigation
fix: Step 3 security hardening - dependencies, CORS, rate limiting, Dockerfile - #20
Closed
Alcides1123 wants to merge 4 commits into
Closed
Alcides1123 wants to merge 4 commits into
Alcides1123 wants to merge 4 commits into
Conversation
Added PowerShell command syntax for windows developers ENhanced security section with git check-ignore examples, fixed .gitignore rules for .env file handling, expanded environment setup instructions, updated CI/CD workflow documentation, added default account security warnings
…s, Non-admin users caan no longer manage roles/permissions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔒 Step 3: Security Hardening - Dependencies, CORS, Rate Limiting, Dockerfile
Part of the ongoing security audit and hardening effort for the codebase.
📦 Changes Overview
This PR implements Step 3 of the security hardening plan, focusing on dependency management, CORS configuration, rate limiting, and Docker security improvements.
✅ What's Changed
1. Dependency Management (
requirements.txt)pip-auditfor automated vulnerability scanning2. CORS Configuration (
app.py)*origins with explicit allowed originsALLOWED_ORIGINS)3. Rate Limiting (
app.py)4. Dockerfile Security
rootuser to non-rootUSER appuser5. Configuration & Documentation
.env.exampletemplate for required environment variables🔧 Configuration Required
New Environment Variables: