mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-24 13:57:02 +00:00
The `.ghe.com` suffix check ran on a normalized string that still allowed `?`, `#`, `\` and spaces, and that string was interpolated straight into the request URL. `evil.com?.ghe.com` in a hosts.json key passes the suffix check but builds a URL whose host is `api.evil.com`, so the Authorization header lands on a host that was never approved. Verified on macOS: URL(string:) parses it as host `api.evil.com`, path `/`. Both readers now require the normalized host to look like a DNS name before an endpoint is derived; anything else fails as an unsupported host, with no request sent. |
||
|---|---|---|
| .. | ||
| Data | ||
| Resources/ProviderIcons | ||
| Security | ||
| Theme | ||
| Views | ||
| AppStore.swift | ||
| AppVersion.swift | ||
| CapacityDockController.swift | ||
| CapacityDockMotion.swift | ||
| CapacityDockPlacement.swift | ||
| CapacityDockPointerUpdateCoalescer.swift | ||
| CodeBurnApp.swift | ||
| CurrencyState.swift | ||
| MenubarScope.swift | ||
| ProviderIcon.swift | ||
| QuotaRefreshDecision.swift | ||
| RefreshCadence.swift | ||
| SessionCountLabel.swift | ||
| StatusItemContextMenuPolicy.swift | ||
| StatusItemPlacementPolicy.swift | ||