We release patches for security vulnerabilities for the following versions:
| Version | Supported |
|---|---|
| 2.0.x | ✅ |
| < 2.0 | ❌ |
If you discover a security vulnerability within the Generator Labs Python SDK, please send an email to security@generatorlabs.com. All security vulnerabilities will be promptly addressed.
Please do not report security vulnerabilities through public GitHub issues.
When reporting a vulnerability, please include:
- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact
- Suggested fix (if any)
- Initial Response: Within 48 hours
- Status Update: Within 5 business days
- Fix Timeline: Varies by severity (Critical: < 7 days, High: < 14 days, Medium: < 30 days)
When using this SDK:
- Never commit credentials - Use environment variables or secure configuration management
- Keep dependencies updated - Regularly update to the latest version
- Use HTTPS only - The SDK enforces HTTPS for API calls
- Validate input - Sanitize user input before passing to API methods
- Monitor rate limits - Implement proper error handling for 429 responses
- Secure credential storage - Use secure vaults or environment variables for API credentials
This SDK uses:
- mypy strict mode - Static type checking for type safety
- CodeQL - Automated security vulnerability scanning
- Dependabot - Automated dependency updates and vulnerability alerts
- pip audit - Security audits of dependencies
Run security checks locally:
pip install pip-audit
pip-audit # Check for known vulnerabilities
mypy generatorlabs --strict # Run type checking- API credentials (account SID and auth token) are transmitted using HTTP Basic Authentication over HTTPS
- The SDK validates credential format but does not validate credential strength
- Retry logic includes exponential backoff to prevent accidental DoS
- Session objects maintain connection pooling for performance