mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-21 22:52:19 +03:00
The cursor / kiro / raycast auto-import routes read host-local credential files, but the broad /api/oauth/ PUBLIC prefix classified them PUBLIC — which skips the LOCAL_ONLY tier entirely, so the loopback-only guard never ran. They are now excluded from PUBLIC (classify MANAGEMENT) and added to LOCAL_ONLY_API_PREFIXES, so a non-loopback caller is rejected before the handler runs. OAuth callbacks and browser flows under /api/oauth/ stay PUBLIC. Reported by @ntdat812 via GHSA-wgwc-crjm-pmwv and @koyokr via GHSA-gxv4-955v-v6cm.