The following versions of PMOVES-DoX are currently supported with security updates:
| Version | Supported |
|---|---|
| 1.x.x | ✅ |
| < 1.0 | ❌ |
We take security vulnerabilities seriously. If you discover a security issue, please report it responsibly.
- Do NOT create a public GitHub issue for security vulnerabilities
- Email security concerns to the repository maintainers via GitHub private messaging
- Include as much detail as possible:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Acknowledgment: Within 48 hours of your report
- Initial Assessment: Within 1 week
- Resolution Timeline: Depends on severity
- Critical: 24-72 hours
- High: 1-2 weeks
- Medium: 2-4 weeks
- Low: Next scheduled release
- We will work with you to understand the issue
- We will develop and test a fix
- We will credit you in the security advisory (unless you prefer anonymity)
- We will coordinate disclosure timing with you
- Never commit
.envfiles with real credentials - Use
.env.exampleas a template - Rotate credentials regularly
- Use strong, unique passwords
- Keep Docker images updated
- Use non-root users in containers
- Limit container privileges
- Scan images for vulnerabilities
- Use strong database passwords
- Enable SSL/TLS for database connections
- Regularly backup data
- Limit database access to necessary services
- Use HTTPS in production
- Implement rate limiting
- Validate all inputs
- Keep dependencies updated
PMOVES-DoX implements JWT-based authentication using Supabase JWT validation:
-
Algorithm: HS256 (HMAC-SHA256) with shared secret
-
Dependency:
python-jose[cryptography] >= 3.5.0(CVE fixes included) -
Environment Variables:
SUPABASE_JWT_SECRET: Required for JWT validation in productionENVIRONMENT: Defaults toproduction(set todevelopmentfor bypass mode)FRONTEND_ORIGIN: CORS-allowed origins (comma-separated)
-
Authentication Modes:
require_auth: Requires valid JWT, rejects anonymous tokensget_current_user: Returns authenticated user IDoptional_auth: Allows anonymous access with logging
-
Production Safeguards:
- Startup raises
RuntimeErrorifpython-josenot installed in production - Startup raises
RuntimeErrorifSUPABASE_JWT_SECRETnot configured in production - Anonymous Supabase tokens (role="anon") are explicitly rejected
- Startup raises
-
Protected Endpoints:
/search/rebuild- Search index rebuild (authentication required)/documents/delete/*- Document deletion (authentication required)- Database reset operations (authentication required)
- SQLite database is stored locally
- Ensure proper file permissions on
backend/db.sqlite3
- Credentials shared with PMOVES.AI ecosystem
- Ensure network isolation between services
- Use environment variable substitution for secrets
Security updates are released as patch versions. Subscribe to repository releases to stay informed.
We follow responsible disclosure practices. Please allow us reasonable time to address vulnerabilities before public disclosure.
Thank you for helping keep PMOVES-DoX secure!