We actively support the following versions with security updates:
| Version | Supported | End of Support |
|---|---|---|
| 1.x.x | ✅ Yes | TBD |
| 0.9.x | 2025-12-31 | |
| < 0.9 | ❌ No | Ended |
We take security seriously. If you discover a security vulnerability, please follow these steps:
- Email: security@beanspath.com
- Subject: "SECURITY: [Brief Description]"
- Include:
- Detailed description of the vulnerability
- Steps to reproduce
- Potential impact
- Suggested fix (if any)
- Your contact information
DO NOT disclose the vulnerability publicly until we've had a chance to address it.
- Acknowledgment: Within 24 hours
- Initial Assessment: Within 72 hours
- Status Update: Weekly until resolved
- Fix Deployment: Varies by severity (see below)
| Severity | Response Time | Examples |
|---|---|---|
| Critical | 24-48 hours | Remote code execution, database exposure |
| High | 1 week | Privilege escalation, authentication bypass |
| Medium | 2 weeks | XSS, CSRF, information disclosure |
| Low | 1 month | Minor information leaks, configuration issues |
- ✅ Google OAuth 2.0 for authentication
- ✅ Session-based token management
- ✅ Role-based access control (RBAC)
- ✅ Multi-factor authentication support (planned)
- ✅ Session timeout (configurable)
- ✅ TLS/SSL encryption for data in transit
- ✅ Encrypted database connections
- ✅ Secure password storage (OAuth only, no passwords stored)
- ✅ Input validation and sanitization
- ✅ Output encoding to prevent XSS
- ✅ Docker container security (non-root user)
- ✅ Regular dependency updates
- ✅ Automated vulnerability scanning (Trivy)
- ✅ Security headers (HSTS, CSP, X-Frame-Options)
- ✅ Rate limiting
- ✅ DDoS protection (via CDN)
-
Environment Variables
- Never commit
.env.local - Use strong, random passwords
- Rotate credentials regularly
- Use separate credentials per environment
- Never commit
-
Database Security
- Restrict database access to application only
- Use connection pooling with limits
- Enable query logging for auditing
- Regular backups (tested restores)
-
Server Security
- Keep system packages updated
- Configure firewall (only ports 80, 443, 22)
- Disable root SSH login
- Use SSH keys (not passwords)
- Enable fail2ban for brute force protection
-
Monitoring
- Enable error tracking (Sentry)
- Monitor logs for suspicious activity
- Set up alerts for critical events
- Review audit logs regularly
-
Code Security
- Follow OWASP Top 10 guidelines
- No hardcoded secrets
- Use prepared statements (SQL injection protection)
- Validate all user input
- Sanitize output
-
Dependencies
- Run
npm auditregularly - Update dependencies monthly
- Review dependency changelogs
- Use lockfiles (
package-lock.json)
- Run
-
Pre-commit Checks
- TypeScript type checking
- ESLint security rules
- No console.log statements - Secrets scanning (planned)
-
API Keys in Frontend
- Google Maps API key exposed in frontend
- Mitigation: API key restrictions configured in Google Cloud Console
- Planned: Move to backend proxy (Phase 6)
-
Gemini API Key
- Currently in frontend environment
- Planned: Move to backend service (Phase 6)
-
No Backend API Yet
- Direct database access from frontend (mock data)
- Planned: Full backend API implementation (Phase 7)
-
Session Storage
- User data in sessionStorage (browser only)
- Mitigation: Automatic session timeout
- Risk: Low (OAuth tokens not stored)
- Backend API with authentication middleware
- API rate limiting per user
- Two-factor authentication (2FA)
- Security audit logging
- Penetration testing
- Bug bounty program
- OWASP Top 10: Web application security risks
- CWE Top 25: Most dangerous software weaknesses
- GDPR: General Data Protection Regulation
- CCPA: California Consumer Privacy Act
- **SOC 2`: Service Organization Control (planned)
See our Privacy Policy for details on:
- Data collection and usage
- User rights (GDPR/CCPA)
- Data retention and deletion
- Cookie policy
| Date | Type | Scope | Status |
|---|---|---|---|
| 2025-11 | Internal | Full codebase | ✅ Passed |
| TBD | External | Penetration test | Planned |
| TBD | Compliance | GDPR audit | Planned |
In case of a security breach:
-
Immediate Actions (0-2 hours)
- Isolate affected systems
- Assess scope and impact
- Notify security team
- Begin incident logging
-
Short-term Response (2-24 hours)
- Contain the breach
- Preserve evidence
- Notify affected users (if required)
- Deploy emergency fixes
-
Long-term Recovery (1-7 days)
- Root cause analysis
- Implement permanent fixes
- Update security measures
- Post-mortem report
-
Follow-up (1-4 weeks)
- User communication
- Regulatory reporting (if required)
- Process improvements
- Security training
| Role | Response Time | |
|---|---|---|
| Security Team | security@beanspath.com | 24 hours |
| CTO | cto@beanspath.com | 48 hours |
| DPO | dpo@beanspath.com | 48 hours |
Emergency Hotline: +XXX-XXX-XXXX (24/7 for critical issues)
We believe in responsible disclosure and will:
- ✅ Acknowledge your report within 24 hours
- ✅ Provide regular updates on the fix progress
- ✅ Credit you in our security advisories (unless you prefer anonymity)
- ✅ Consider bug bounty rewards for significant findings (program TBD)
We will recognize security researchers who help us improve BeansPath:
| Researcher | Date | Severity | Description |
|---|---|---|---|
| Coming Soon | - | - | First entry! |
This security policy is reviewed quarterly and updated as needed. Last review: November 2025.
For questions about this policy: security@beanspath.com