Repository navigation
v0.3.1: Security hardening
Security release
v0.3.1 closes broken access control and namespace isolation gaps in the REST API. It only affects deployments running with REQUIRE_API_KEY_AUTH=true (multi-tenant or network exposed); single tenant local setups with auth off are unchanged. Upgrading is strongly recommended for any shared deployment.
Highlights:
- Every agent management route now enforces authentication and ownership. Rotating a key, deleting an agent, exports/imports, and per-agent config are no longer reachable without a valid key, and a non-admin key acts only on its own namespace.
- Raw Cypher (
/query/cypher) is admin only and runs in a read transaction, so a non-admin cannot read another agent by UUID and APOC write bypasses are rejected by the database. - Ingestion, feedback, analytics, graph, replay, and synthesize routes are authenticated and namespace scoped; fleet-wide views (multiverse graph, top agents, swarm health and live log) are admin only.
- Node deletion no longer trusts a spoofable header; WebSocket and the swarm SSE log authenticate via a
?token=key; deleting an agent now revokes its keys; privilege escalation via agent create/update is closed. - The backend logs a loud warning at startup when
REQUIRE_API_KEY_AUTHis off. The first admin is provisioned withbackend/scripts/bootstrap_admin.py.
Full detail is in CHANGELOG.md.
What's Changed
Bug fixes
Full Changelog: v0.3.0...v0.3.1