mirror of
https://github.com/stablyai/orca.git
synced 2026-11-19 04:23:57 +00:00
Security review of A1/A2 (egress-docs): - F1: the Copilot PAT never reaches the firewall. Eligibility is decided per secret (firewallEligibleSecret): no credential the proxy narrows on any host (response filtering, paths, per-host paths). Before, its Copilot API host entries had no paths and compiled to transforms, putting a user's GitHub PAT in the policy store. - F2: claims are ordered but landed writes weren't. After a write, if a newer generation was claimed meanwhile, the write is redone from current state, so a stale compile (say from before a share) is never the last to land. - F3: a config-hash change fails closed only when it removes access or custody (firewall to proxy, a firewall class removed, an account provider turned off, open to limited). Anything else retries via policy_stale_at, so a deploy during a provider blip can't sleep every workspace. The stamp now carries the deciding inputs; a pre-F3 bare-hash stamp is retried.