You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Viewer proxy forwards only paths inside the /agentmemory/ prefix #36
The viewer on the Operator's LAN-facing port refuses any request whose path, after URL normalization (dot segments resolved, percent-encoded dots and slashes decoded first), does not begin with /agentmemory/. Such requests are answered 404 locally and never reach the REST port, so the daemon secret is only ever attached to a request that passed the check.
Acceptance criteria
HTTP test with a fake upstream: /agentmemory/../other, /agentmemory/%2e%2e/other and a bare /other never reach upstream and get 404
A legitimate /agentmemory/health reaches upstream with the bearer attached
No request outside the prefix is ever observed carrying the bearer
Activity
possiblyneal commentedon Sep 22, 2026
Closed by 29248bb on fix/security. Bare paths are 404 rather than rewritten; the viewer client always sends the prefix.
fix(viewer): forward only canonical /agentmemory/ paths to the REST port