Skip to content

Commit db447c4

Browse files
committed
fix: bandit-security fix
1 parent 29087d4 commit db447c4

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ jobs:
115115
run: |
116116
pip install bandit
117117
bandit -r app/ -f json -o bandit-report.json
118-
continue-on-error: true
119118
120119
# 📋 Project Health Check
121120
health-check:

backend/app/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,6 @@ async def websocket_endpoint(websocket: WebSocket, class_id: str):
156156
if __name__ == "__main__":
157157
import uvicorn
158158

159-
uvicorn.run(app, host="0.0.0.0", port=8000)
159+
# Binding to 0.0.0.0 is intentional for containerized deployments
160+
# In production, this should be behind a reverse proxy or firewall
161+
uvicorn.run(app, host="0.0.0.0", port=8000) # nosec B104

0 commit comments

Comments
 (0)