If you suspect you have found a security vulnerability in OpenCase, please report it responsibly by creating a private security advisory on GitHub or sending an email to the maintainers.
Please include:
- A clear and concise description of the vulnerability
- Where it is exposed in the code
- Steps to reproduce the issue
- Any best practices that might apply to patching it
All reports will be reviewed in a timely manner. If the issue is confirmed, a patch will be released as soon as possible.
When contributing to OpenCase, please follow these security guidelines:
- Never commit sensitive data - API keys, secrets, and credentials should use environment variables
- Validate all inputs - Sanitize user inputs to prevent injection attacks
- Use parameterized queries - Prevent SQL injection by using D1's parameterized queries
- Keep dependencies updated - Regularly update npm packages to patch vulnerabilities
- Follow OWASP guidelines - Be aware of common web security vulnerabilities