Only the latest released version receives security updates. Please upgrade to the newest release before reporting a vulnerability.
| Version | Supported |
|---|---|
| latest (1.x) | ✅ |
| older | ❌ |
We take security seriously. If you discover a security vulnerability in trendspyg, please report it privately.
Please DO NOT open a public issue for security vulnerabilities.
Instead:
- Email: Send details to ali.marodis2@gmail.com with subject "SECURITY: trendspyg vulnerability"
- GitHub Security Advisory: Use GitHub's private vulnerability reporting at https://github.com/flack0x/trendspyg/security/advisories/new
Please provide:
- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact
- Suggested fix (if you have one)
- Your contact information
- Initial response: Within 48 hours
- Status update: Within 7 days
- Fix timeline: Depends on severity
- Critical: 1-3 days
- High: 1-2 weeks
- Medium: 2-4 weeks
- Low: Next planned release
trendspyg does not:
- Store user credentials
- Collect personal data
- Send data to third-party services (except Google Trends public endpoints)
- Execute arbitrary code from external sources
We regularly monitor dependencies for known vulnerabilities using:
- GitHub Dependabot alerts
- Manual security audits
To check dependencies yourself (reads the installed environment / pyproject directly — no requirements.txt needed):
pip install pip-audit
pip-auditWhen using CSV download functionality:
- Selenium is used for browser automation
- Chrome/Chromium browser is required
- Downloads are saved to a specified local directory
- No data is sent to external services
Security recommendations:
- Keep Chrome/Chromium updated
- Only download trends from trusted geographic regions
- Review downloaded files before processing
RSS mode is more secure:
- No browser automation required
- Direct HTTPS requests to Google Trends RSS
- XML parsed with the standard library, trusting the HTTPS response from Google. (stdlib ElementTree is not hardened against maliciously-crafted XML, so this path's safety rests on the Google Trends endpoint being trustworthy over TLS.)
-
Keep trendspyg updated:
pip install --upgrade trendspyg
-
Use virtual environments:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate pip install trendspyg
-
Validate inputs:
- Use only validated geo codes
- Sanitize user inputs before passing to trendspyg
-
Review output:
- Check downloaded data before use
- Be aware that trend data comes from public Google sources
- Selenium dependency: CSV mode requires browser automation (potential attack vector if Chrome has vulnerabilities)
- Network requests: RSS mode makes HTTP requests to Google (ensure network security)
- File downloads: CSV mode saves files locally (ensure proper permissions)
- Vulnerabilities will be disclosed publicly after a fix is released
- Credit will be given to reporters (unless anonymity is requested)
- Security advisories will be published on GitHub
Subscribe to security updates:
- Watch this repository for security advisories
- Follow releases: https://github.com/flack0x/trendspyg/releases
- Check CHANGELOG.md for security-related fixes
For non-security questions, please open a regular issue.
For security concerns, email: ali.marodis2@gmail.com
Thank you for helping keep trendspyg secure! 🔒