mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-21 22:52:19 +03:00
/a2a is outside the authz proxy matcher, so the REQUIRE_API_KEY posture the pipeline enforces for /v1 never ran there — the route accepted every caller whenever OMNIROUTE_API_KEY was unset (the shipped default). authenticate() now applies the same posture directly: a valid OmniRoute key when REQUIRE_API_KEY is on, the legacy explicit A2A key otherwise, and keyless local-first only when nothing is configured (matching /v1). A2A stays off by default. Reported by @rafaelfiguereod-stack via GHSA-v54m-6rm3-p565.