37cfe87508af36f66d186f7e86fa7d9ad9a8192d
Origin validation compared the request's Origin against the daemon's own direct connection: scheme from r.TLS, host from r.Host. Behind a TLS- terminating reverse proxy the browser sends Origin: https://host while the daemon sees a plain HTTP connection, so every dashboard mutation was refused as cross-origin. Taking X-Forwarded-Proto/-Host unconditionally would be worse than the bug: any client can set them, so an exposed daemon would let an attacker forge the scheme half of the CSRF check. They are honoured only when web.trust_forwarded_headers is explicitly enabled, which is off by default and documented as safe only behind a proxy that overwrites or strips untrusted forwarded headers. authorizeTaskMutation becomes a method because the decision now depends on server configuration; its three call sites move with it.
Description
Archie connects events from your systems to agents that can investigate, reason, and act.
Define what an event means, map its data into a workflow, and give that workflow an agent equipped for the job: its own execution environment, tools, and identity.
https://archie.catlow.cloud
133 MiB
0 Stars
1 Watchers
0 Forks
Releases
11
Archie v1.62.0
Latest
Languages
Go
76.7%
Vue
13.1%
TypeScript
7.8%
JavaScript
1.2%
Shell
0.6%
Other
0.4%