π Keeping RepoSage secure for everyone
We take the security of RepoSage and our users seriously. This document outlines our supported versions, how to report vulnerabilities, and security best practices for contributors.
We provide security patches for the following versions:
| Version | Status | Support Level |
|---|---|---|
latest (main branch) |
β Active | Full security support β patches applied promptly |
| Previous minor release | Critical security fixes only | |
| Older versions | β End of Life | No security updates β please upgrade |
Important
We strongly recommend always running the latest version of RepoSage. Security patches are only guaranteed for the current release.
If you discover a security vulnerability, please follow responsible disclosure practices. Do not disclose it publicly or file a GitHub issue.
-
π§ Email us directly:
-
Include the following details:
- π A clear description of the vulnerability
- π Step-by-step instructions to reproduce the issue
- π₯οΈ Environment details (OS, browser, Node.js/Python version)
- π₯ Potential impact and severity assessment
- π§ Suggested fix or mitigation (if any)
- π Proof-of-concept (PoC) code or screenshots (if available)
-
Use this subject line format:
[SECURITY] Brief description of vulnerability
| Timeline | Action |
|---|---|
| Within 24 hours | Acknowledgment of your report |
| Within 48 hours | Initial assessment and severity classification |
| Within 7 days | Development of a fix or mitigation plan |
| Within 14 days | Patched release (for critical/high severity) |
Note
We are committed to coordinated disclosure. We will work with you to determine an appropriate disclosure timeline after the fix is released.
RepoSage follows a Coordinated Vulnerability Disclosure process:
- π Private Report β Reporter sends details via email (not public issues)
- β Acknowledgment β We confirm receipt within 24 hours
- π Triage β We assess severity using CVSS v3.1 scoring
- π§ Remediation β We develop and test a fix internally
- π¦ Release β We publish the patched version
- π’ Advisory β We publish a security advisory with credit to the reporter
- π Recognition β Reporter is credited in the advisory (unless anonymity is requested)
| Severity | CVSS Score | Response Time |
|---|---|---|
| π΄ Critical | 9.0 β 10.0 | Patch within 48 hours |
| π High | 7.0 β 8.9 | Patch within 7 days |
| π‘ Medium | 4.0 β 6.9 | Patch within 14 days |
| π’ Low | 0.1 β 3.9 | Patch in next scheduled release |
When contributing to RepoSage, please follow these security guidelines:
- Never commit API keys, tokens, passwords, or secrets to the repository
- Use environment variables (
.envfiles) for all sensitive configuration - Ensure
.envfiles are listed in.gitignore - Use placeholder values in example/config files (e.g.,
YOUR_API_KEY_HERE)
- Validate all inputs β Never trust user-supplied data; sanitize and validate
- Avoid SQL injection β Use parameterized queries and ORM methods
- Prevent XSS β Sanitize HTML output in the frontend; avoid
dangerouslySetInnerHTML - Secure dependencies β Run
npm auditandpip auditbefore submitting PRs - Use HTTPS β All external API calls must use HTTPS endpoints
- Minimize permissions β Request only the GitHub OAuth scopes you need
- Keep dependencies up to date with
npm updateandpip install --upgrade - Review new dependencies before adding them β prefer well-maintained packages
- Run
npm audit fixto resolve known vulnerabilities in Node.js packages - Pin dependency versions in production environments
- Never store tokens in localStorage β use httpOnly cookies or secure session storage
- Implement proper rate limiting on all API endpoints
- Use CSRF protection for state-changing requests
- OWASP Top 10 β Most critical web application security risks
- Node.js Security Checklist β Best practices for Node.js
- Python Security Best Practices β Secure Python development
- GitHub Security Advisories β Managing security advisories
We sincerely appreciate the efforts of security researchers and contributors who help keep RepoSage safe. Responsible reporters will be:
- π Credited in our security advisories
- π Listed in our Hall of Fame (with consent)
- π Thanked by the maintainer team
π Security is everyone's responsibility.
Thank you for helping keep RepoSage safe for the community.
Made with β€οΈ by RepoSage & the open-source community