We take the security of Study-AI seriously. This document outlines the security policies, supported versions, and vulnerability reporting procedures.
Only the latest release version is supported with security updates.
| Version | Supported |
|---|---|
| 1.0.x (Latest) | ✅ Yes |
| < 1.0.0 (Legacy) | ❌ No |
We strive to maintain high security standards in this project. Please ensure the following:
- SQL Injection Prevention: All database query operations inside the servlet controllers must utilize
PreparedStatementto parameterize inputs. Direct string concatenations inside raw SQL queries are strictly prohibited. - Environment Credentials: Never commit plaintext MySQL passwords or URLs to source control. Use the environment variables
DB_URL,DB_USER, andDB_PASSWORDto configure production parameters. - Cross-Site Scripting (XSS): When rendering database strings inside JSP files, perform escaping or use JSTL
<c:out>if possible to prevent raw script execution.
If you discover a security vulnerability within this project, please do not open a public issue. Instead:
- Draft a detailed report describing the vulnerability, affected components, and steps to reproduce.
- Email your report to the project maintainers.
- We will acknowledge your report within 48 hours and work on a patch within 7 days.