oscar-admin/SECURITY.md
Oscar Admin Contributors 5116b13d0c Harden admin security and encrypt Gotify tokens
Encrypt per-user Gotify tokens at rest with sodium/openssl, add app_secret config, security headers, Apache .htaccess hardening, and restrictive permissions for stored settings.
2026-12-03 18:32:16 -05:00

27 lines
1.1 KiB
Markdown

# Security Policy
## Supported versions
The latest version on the default branch is the supported version.
## Reporting a vulnerability
Please **do not** open a public issue for a suspected security vulnerability.
Instead, report it privately to the maintainers with:
- A description of the issue and impact
- Steps to reproduce or proof of concept
- Affected files/endpoints/configuration
- Any suggested mitigation
If you need a private contact channel, use the repository owner's preferred security contact method listed on their GitHub/Git profile.
## Security notes for deployers
- Keep `config.php`, `audit.log`, and `gotify-users.php` outside public access and out of git.
- Set a strong `app_secret` in `config.php`; Gotify tokens are encrypted at rest.
- **Never expose the OSCAR Management API publicly.** Bind it to localhost or a trusted private network.
- Serve the admin panel behind HTTPS.
- Restrict access at the web server where appropriate (VPN/IP allowlist/auth proxy).
- Review web server rules to deny direct access to sensitive files (`.htaccess` is included for Apache; nginx example in README).