Create SECURITY.md to fix issue #213

Current best draft of SECURITY.md to help enable CodeQL alerts on master branch.
This commit is contained in:
Collin 2025-06-24 23:08:37 -05:00 committed by GitHub
parent f5ea9069e1
commit 5fb7f5b533
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

41
SECURITY.md Normal file
View File

@ -0,0 +1,41 @@
# X11Libre Security Policy
## Reporting Vulnerabilities
We take security seriously in X11Libre. If you discover any vulnerabilities, please report them responsibly.
- **Contact**: https://github.com/metux info@metux.net legendarydood@gmail.com
- **Preferred Method**: Email with detailed reproduction steps, logs, and system info
- **Public Disclosure**: Please wait until weve resolved the issue before making it public
## Supported Versions
| Version | Status |
| --------------- | ------------------------- |
| `master` branch | Supported and maintained |
| Older tags | No longer supported |
We recommend always using the latest release for performance and security fixes.
## Security Best Practices (User-Side)
To help protect your systems when using x11libre:
- Use minimal privileges when running X sessions
- Avoid setuid binaries unless required
- Keep your display manager and window manager updated
- Regularly audit any X11-forwarded connections, especially over SSH
- Use sandboxing or containerization when integrating third-party extensions
## Developer Guidelines
For contributors submitting PRs:
- Dont introduce new system calls without justification
- Avoid unsafe memory operations (especially in C/C++)
- Use compile-time and runtime hardening flags
- Submit fuzzing harnesses or test vectors for complex parsing logic
---
We appreciate your help in keeping x11libre safe for everyone. Lets build something resilient, secure, and libre.