knowledge-base/backend/requirements.txt
Pratik Narola 50edce2d3c security hardening: add auth, rate limiting, fix info disclosure
- Add auth to /models and /users endpoints
- Add rate limiting to all endpoints (10-120/min based on operation type)
- Fix 11 info disclosure issues (detail=str(e) -> generic message)
- Fix 2 silent except blocks with proper logging
- Fix 7 raise e -> raise for proper exception chaining
- Fix health check to not expose exception details
- Update tests with X-API-Key headers and security tests
2026-01-15 22:41:24 +05:30

39 lines
428 B
Text

# Core Framework
fastapi
uvicorn[standard]
python-multipart
# Mem0 and AI
mem0ai
openai
google-genai
cohere
# Database
qdrant-client
neo4j
langchain-neo4j
rank-bm25
ollama
# Utilities
pydantic
pydantic-settings
python-dotenv
httpx
aiofiles
requests
# Logging and Monitoring
structlog
python-json-logger
# CORS and Security
python-jose[cryptography]
passlib[bcrypt]
# Rate Limiting
slowapi
# MCP Server
mcp[server]>=1.0.0