Report vulnerabilities against the default branch. There is no long-term support
window yet; fixes land on Master and are expected to be pulled promptly.
Do not open a public issue for security reports.
Use GitHub Security Advisories for this repository, or email the maintainers listed on the repository page. Include:
- the affected commit or tag
- a minimal reproduction
- impact (auth bypass, cost abuse, data leak, RCE)
You should receive an acknowledgement within 7 days. Please give us a reasonable window to patch before public disclosure.
- Inbound auth is fail-closed. Set
GATEWAY_API_KEY(or issue keys) unless you explicitly setGATEWAY_ALLOW_OPEN=1for loopback-only work. - Set
GATEWAY_KEY_PEPPERwhen auth is on, when any issued key exists, and before a new key is hashed. That includesGATEWAY_ALLOW_OPEN=1. Open mode with an empty key file may still serve the legacy gateway key. Compose forcesGATEWAY_ALLOW_OPEN=0and will not start without a pepper. - Memory search, add, and delete use the authenticated key. A client
user_idcannot read or delete another key's memories. Unknown or foreign ids return 404. WEB_CONCURRENCYorUVICORN_WORKERSgreater than 1 withoutREDIS_URLrefuses to start.GATEWAY_ALLOW_SPLIT_BUDGET=1restores a warning. That hatch does not share the key file ordata/runtime-flags.json. Supported topology is one worker, or Redis for cache, RPM, and the daily budget only.GET /healthzis public liveness.GET /healthandGET /readystay behind thereadscope.- Compose binds
127.0.0.1:8000and forcesGATEWAY_ALLOW_OPEN=0. - Provider
*_API_KEYvalues stay in.env. Do not put them inNEXT_PUBLIC_*. Operator policy lives inconfig/realmm.yaml. Env overrides YAML.