Back to Home
SDSU-CompE-561-Fall-2025 icon

ai-tutor

Verified Safe

by SDSU-CompE-561-Fall-2025

Overview

AI Tutor is a comprehensive learning platform that helps students study smarter by interacting with an AI model, generating educational videos, and providing learning insights, integrating with Google Drive for document management.

Installation

Run Command
docker-compose up -d

Environment Variables

  • DATABASE_URL
  • CLIENT_ID
  • CLIENT_SECRET
  • REDIRECT_URI
  • TOKEN_URI
  • SESSION_SECRET
  • FRONTEND_URL
  • BACKEND_URL
  • PROJECT_ID
  • MCP_SERVER
  • FERNET_KEY
  • OPENAI_KEY
  • ELEVEN_KEY
  • GEMINI_KEY
  • SECRET_KEY
  • ALGORITHM
  • ACCESS_TOKEN_EXPIRE_MINUTES

Security Notes

CRITICAL: The `docker-compose.yml` and `settings.py` files contain default placeholder secrets (`SESSION_SECRET`, `fernet_key`, `secret_key`) that must be changed in production to prevent severe security vulnerabilities. CRITICAL: The CORS middleware in `app.main.py` is set to `allow_origins=["*"]` which is explicitly noted for testing only and must be restricted in production to prevent cross-site request forgery (CSRF) and other related attacks. Minor: Broad exception handling (`except Exception as e`) in `google_drive.py` and `mcp/server/main.py` could potentially mask errors or leak sensitive information if error messages are not sanitized. However, the system uses strong password hashing (argon2), JWT for authentication, and Fernet encryption for sensitive data like OAuth tokens and chat messages, which are good practices. Input validation is also extensively used via Pydantic schemas.

Similar Servers

Stats

Interest Score32
Security Score4
Cost ClassHigh
Avg Tokens500
Stars2
Forks0
Last Update2025-12-13

Tags

AI TutoringEducationGoogle Drive IntegrationVideo GenerationFastAPI