We release patches for security vulnerabilities in the following versions:
| Version | Supported |
|---|---|
| 2.1.x | ✅ |
| 2.0.x | ✅ |
| < 2.0 | ❌ |
We take the security of dev-companion seriously. If you discover a security vulnerability, please follow these steps:
Please do not create a public GitHub issue for security vulnerabilities. This helps protect users while we work on a fix.
Send details to: security@dev-companion.dev (or create a private security advisory on GitHub)
Include:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Fix Timeline: Depends on severity
- Critical: 1-7 days
- High: 7-14 days
- Medium: 14-30 days
- Low: 30-90 days
- We confirm the vulnerability
- We develop and test a fix
- We release a security patch
- We publicly disclose the vulnerability (with credit to reporter, if desired)
-
Protect API Keys:
- Never commit
.envfiles to version control - Use environment variables for credentials
- Rotate keys regularly
- Never commit
-
Keep Dependencies Updated:
pip install --upgrade -r requirements.txt
-
Review Generated Code:
- Always review AI-generated code before using in production
- Test thoroughly in a safe environment
- Be cautious with code that handles sensitive data
-
Limit Permissions:
- Use read-only GitHub tokens when possible
- Restrict watsonx.ai API key permissions
- Follow principle of least privilege
-
Code Review:
- All code changes require review
- Security-sensitive changes need extra scrutiny
- Use static analysis tools
-
Dependencies:
- Keep dependencies minimal
- Audit new dependencies before adding
- Monitor for known vulnerabilities
-
Input Validation:
- Validate all user inputs
- Sanitize code before processing
- Prevent injection attacks
-
Secrets Management:
- Never hardcode credentials
- Use
.envfiles (excluded from git) - Document required environment variables
Risk: API keys in .env files could be accidentally committed.
Mitigation:
.envis in.gitignore.bobignoreblocks Bob from accessing secrets- Documentation emphasizes key protection
Risk: Malicious code in user input could be executed.
Mitigation:
- Code is analyzed, not executed
- Sandboxed processing
- Input validation and sanitization
Risk: Third-party packages may have vulnerabilities.
Mitigation:
- Minimal dependency footprint
- Regular dependency updates
- Automated vulnerability scanning (planned)
Risk: AI-generated code may contain vulnerabilities.
Mitigation:
- Clear warnings in documentation
- Encourage code review
- Validation and testing of outputs
- ✅ Environment variable-based credential management
- ✅
.gitignorefor sensitive files - ✅
.bobignorefor Bob IDE protection - ✅ Input validation in API client
- ✅ Token caching with secure storage
- ⏳ Automated dependency vulnerability scanning
- ⏳ Code signing for releases
- ⏳ Security audit logging
- ⏳ Rate limiting for API calls
- ⏳ Encrypted credential storage
- No Data Collection: We don't collect or store user data
- API Usage: Code is sent to IBM watsonx.ai per their terms
- GitHub Access: Only with explicit user authorization
- MIT License allows commercial use
- Dependencies are MIT/Apache 2.0 compatible
- No GPL or restrictive licenses
- Primary: security@dev-companion.dev
- GitHub: Create a private security advisory
- Maintainer: @self-reliantkid
We appreciate security researchers who responsibly disclose vulnerabilities. Contributors will be:
- Credited in security advisories (if desired)
- Listed in SECURITY_CONTRIBUTORS.md
- Thanked in release notes
Last Updated: 2026-05-18
Version: 2.1.0