We actively support the following versions of AmaniQuery with security updates:
| Version | Supported |
|---|---|
| Latest | ✅ |
| < Latest | ❌ |
We recommend always using the latest version of AmaniQuery to ensure you have the most recent security patches.
We take the security of AmaniQuery seriously. If you believe you have found a security vulnerability, please report it to us as described below.
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report them via one of the following methods:
- Email: Send an email to [INSERT SECURITY EMAIL] with the subject line "Security Vulnerability: [Brief Description]"
- GitHub Security Advisory: Use GitHub's private vulnerability reporting feature (if enabled)
- Private Contact: Contact the maintainers directly through GitHub (if you have access)
When reporting a vulnerability, please include:
- Description: A clear description of the vulnerability
- Impact: The potential impact of the vulnerability
- Steps to Reproduce: Detailed steps to reproduce the issue
- Affected Versions: Which versions of AmaniQuery are affected
- Suggested Fix: If you have a suggested fix, please include it (optional but appreciated)
- Proof of Concept: If possible, include a proof of concept (be careful not to exploit the vulnerability)
- Acknowledgment: You will receive an acknowledgment within 48 hours
- Initial Assessment: We will provide an initial assessment within 7 days
- Updates: We will keep you informed of our progress
- Resolution: We will work to resolve the issue as quickly as possible
- Disclosure: After the issue is resolved, we may publicly disclose the vulnerability (with your permission)
- We will work with you to coordinate public disclosure of the vulnerability
- We will credit you for discovering the vulnerability (if you wish)
- We will not disclose your identity without your explicit permission
- We aim to disclose vulnerabilities within 90 days of the initial report, or sooner if a patch is available
When using AmaniQuery, please follow these security best practices:
- Never commit API keys or secrets to version control
- Use environment variables or secure secret management systems
- Rotate API keys regularly
- Use separate API keys for development and production
- Store sensitive configuration in
.envfiles (not committed to git) - Use strong, unique passwords for database connections
- Keep your
.envfile secure and never share it
- Keep all dependencies up to date
- Review Dependabot security alerts regularly
- Run
npm auditandpip checkregularly
- Use strong database passwords
- Restrict database access to necessary IPs only
- Enable SSL/TLS for database connections when possible
- Regularly backup your database
- Use HTTPS in production
- Implement rate limiting
- Validate and sanitize all user inputs
- Use authentication and authorization where appropriate
- Keep Docker images updated
- Scan images for vulnerabilities
- Use non-root users in containers when possible
- Limit container resources
AmaniQuery crawls and processes data from various sources. Be aware that:
- Crawled data may contain sensitive information
- Always review and sanitize data before storing
- Respect
robots.txtand rate limits - Be mindful of copyright and data usage rights
When using LLM providers (OpenAI, Anthropic, Moonshot, etc.):
- API keys are sensitive and must be protected
- Review data sent to LLM providers (may be logged)
- Be aware of rate limits and costs
- Use appropriate model configurations for your use case
When using the SMS gateway (Africa's Talking):
- Protect your API credentials
- Implement rate limiting for SMS endpoints
- Monitor SMS usage and costs
- Be mindful of SMS content and regulations
Security updates will be released as:
- Patch versions (e.g., 1.0.0 → 1.0.1) for critical security fixes
- Minor versions (e.g., 1.0.0 → 1.1.0) for security improvements
- Security advisories published on GitHub
Subscribe to repository notifications to be alerted about security updates.
We periodically conduct security audits of:
- Dependencies (via Dependabot and manual reviews)
- Code (via CodeQL and manual reviews)
- Infrastructure (Docker images, deployment configurations)
- API endpoints and authentication mechanisms
For security-related questions or concerns, please contact:
- Security Email: [INSERT SECURITY EMAIL]
- GitHub Issues: Use the "Security" label for non-sensitive security questions
- Maintainers: Contact project maintainers directly
Thank you for helping keep AmaniQuery secure!