mirror of
https://github.com/UNITRONIX/BetterDesk.git
synced 2026-09-10 01:27:11 +00:00
1118fc2ba6
Remove internal LAN IP, SSH user, and developer paths from docs and examples; move deploy runbook to gitignored docs/private with a public template; drop Cursor debug logging leftovers; add CI checks to prevent regression. Co-authored-by: Cursor <cursoragent@cursor.com>
3.0 KiB
3.0 KiB
Security Policy
Supported Versions
| Version | Supported |
|---|---|
| 3.0.x | ✅ |
| 2.4.x | ✅ |
| < 2.4 | ❌ |
Reporting a Vulnerability
We take the security of BetterDesk seriously. If you discover a security vulnerability, please report it responsibly.
How to Report
- Do NOT open a public GitHub Issue for security vulnerabilities.
- Email your findings to krzysztof.nienartowicz2021@gmail.com with:
- Description of the vulnerability
- Steps to reproduce
- Affected component (Go server, Node.js console, desktop client, installer scripts)
- Potential impact assessment
- Any suggested fix (optional but appreciated)
What to Expect
| Timeline | Action |
|---|---|
| 24 hours | Acknowledgment of your report |
| 72 hours | Initial assessment and severity classification |
| 7 days | Fix development begins for Critical/High issues |
| 30 days | Patch released (or interim mitigation communicated) |
| 90 days | Public disclosure (coordinated with reporter) |
Severity Classification
| Severity | Examples |
|---|---|
| Critical | Remote code execution, authentication bypass, SQL injection, private key exposure |
| High | Privilege escalation, CSRF on sensitive actions, session fixation, brute-force without rate limiting |
| Medium | Information disclosure, XSS, insecure defaults, missing input validation |
| Low | Verbose error messages, minor information leakage, missing security headers |
Scope
The following components are in scope:
- BetterDesk Go Server (
betterdesk-server/) — signal, relay, API, database - Node.js Web Console (
web-nodejs/) — Express.js app, routes, middleware - Desktop Client (
betterdesk-client/) — Tauri app, Rust backend, TypeScript frontend - CDAP Agent (
betterdesk-agent/) — Go agent binary - Installer Scripts (
betterdesk.sh,betterdesk.ps1,betterdesk-docker.sh) - Docker Images (
Dockerfile*,docker-compose*.yml) - SDKs (
sdks/python/,sdks/nodejs/)
Out of Scope
- Third-party dependencies (report to upstream maintainers, but notify us if it affects BetterDesk)
- Social engineering attacks
- Denial of service via network flooding (volumetric attacks)
- Issues in archived components (
archive/)
Recognition
We gratefully acknowledge security researchers who report vulnerabilities responsibly:
- Your name (or alias) will be added to our Security Hall of Fame (with your permission)
- We will credit you in the relevant release notes
Security Best Practices for Deployers
- Always use TLS certificates for production deployments (
--tls-signal,--tls-relay) - Keep the web console bound to
127.0.0.1or behind a reverse proxy - Use PostgreSQL (not SQLite) for multi-user production environments
- Rotate API keys regularly
- Enable TOTP 2FA for all admin accounts
- Review audit logs periodically
- Keep BetterDesk updated to the latest supported version