If you discover a security vulnerability, please report it responsibly:
- Do NOT open a public GitHub issue for security vulnerabilities
- Email the maintainer directly or use GitHub's private vulnerability reporting
- Include a description of the vulnerability and steps to reproduce
- Allow reasonable time for a fix before public disclosure
This project uses API keys for DeepSeek AI and NewsAPI. Please follow these practices:
- Use
.env.exampleas a template, never commit.env - Store API keys in environment variables or
.envfiles only - Use different API keys for development and production
- Rotate keys regularly
- Monitor API usage for unauthorized access
- Never hardcode API keys in
.mq5,.py, or any source file - Never commit
.envfiles to version control - Never share API keys in public channels, issues, or pull requests
- Never log API keys to output files
- Immediately revoke the compromised key from the provider's dashboard
- Generate a new key
- Remove the key from git history:
git filter-branch --force --index-filter 'git rm --cached --ignore-unmatch Backend/.env' HEAD - Force push:
git push --force
- Only enable "Allow WebRequest" for trusted API domains
- Never run EAs with real money on unverified code
- Test all changes on demo accounts first
- Review EA permissions before deployment
- Keep Python dependencies updated:
pip install --upgrade -r requirements.txt - Monitor for vulnerabilities:
pip audit - Docker images should use official Python base images
This security policy applies to the latest version of DAX V2 on the main branch.