| Version | Supported |
|---|---|
| 0.1.x | ✅ |
DO NOT open a public issue for security vulnerabilities.
Instead, please report security issues via GitHub Security Advisories or email the maintainers directly.
Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
We will respond within 48 hours and provide a timeline for fixing the issue.
- Never commit API keys to version control
- Use environment variables for sensitive data
- API keys are never logged
- All file paths are validated to prevent traversal
- Code inputs are parsed safely using Python's AST module
- Size limits enforced on file uploads
- Dependencies scanned with
safetyandpip-audit - Automated dependency updates via Dependabot
- Security advisories monitored
- LLM API calls are rate-limited
- Configurable timeouts for all external requests
- Retry logic with exponential backoff
-
Store API Keys Securely
# Use environment variables export OPENAI_API_KEY="your-key" # Or use .env file (add to .gitignore!) echo "OPENAI_API_KEY=your-key" > .env
-
Limit File Access
[docpilot] include = ["src/**/*.py"] # Explicit allowlist exclude = ["**/.env", "**/secrets/**"]
-
Review Generated Documentation
- Always review before committing
- May contain code patterns from training data
- Verify no sensitive info exposed