Repository navigation
fix(playback): block OAuth-style stream credentials from CORS proxy fallback - #541
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
ePlus OnAir — PR Preview🗃️ Preview expired. This PR is closed; the Preview link is hidden. Preview is noindex; the full catalog is available on Staging after merge. |
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
Verified issue
buildPlaybackSourcessuppresses proxy fallback fortokenandaccessKey, but its sensitive query matcher does not recognize common credential keys such asaccess_token,refresh_token,id_token,auth_token,session_token,session_key, andclient_secret. A plain MP3 stream URL with these parameters therefore generates a second candidate that forwards its query string to the configured third-party CORS proxy. This risks disclosure when direct playback fails.Fix
quality=highURL retains its proxy fallback.Verification
npm test,npm ci, Node 24.15.0, Nuxt build and browser QA not run: GitHub git host is not reachable from execution container; await PR CI.Acceptance criteria
proxiedbehavior unchangednpm testand build passRisk
Low, but some stream endpoints using these credential parameter names may lose automatic CORS fallback. This is intentional to avoid forwarding credentials to a third-party proxy. Review any affected catalog sources before merge. No deployment or release requested.