docs: add SECURITY.md with WebSocket and branch protection guidelines
Some checks failed
CI / test (pull_request) Failing after 52s
CI / validate (pull_request) Failing after 59s
Review Approval Gate / verify-review (pull_request) Successful in 9s

This commit is contained in:
2026-04-15 12:38:26 +00:00
parent 27aa29f9c8
commit b696536242

17
SECURITY.md Normal file
View File

@@ -0,0 +1,17 @@
# Security Policy
## WebSocket Security
The Nexus WebSocket gateway (`server.py`) is restricted to `127.0.0.1` by default to prevent unauthorized remote access to the cognition layer.
### Remote Access
If remote access is required, you must:
1. Set `NEXUS_WS_HOST=0.0.0.0`
2. Provide a secure `NEXUS_WS_AUTH_TOKEN`
## Branch Protection
We enforce rebase-before-merge to ensure a clean, linear history. Please rebase your branches against `main` before submitting for final review.
## Reporting Vulnerabilities
Please report any security concerns directly to the Timmy Foundation core team.