You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Security] Chrome extension broadcasts auth token to all listeners via health message #673
extension/background.js:80 — The auth token is included in chrome.runtime.sendMessage({ type: 'health', data: { ...healthData, token: authToken } }) which broadcasts to ALL extension components. If the sidepanel has an XSS vulnerability, the token is immediately compromised and can be used to make authenticated requests to the browse server.
Impact
Medium — violates principle of least privilege. The token should only be delivered to the component that needs it, not broadcast to all listeners.
Fix
PR #664 removes the token from the health broadcast. The sidepanel now requests it via a targeted getToken message with sendResponse, which only delivers to the requesting component.
Found via sqry AST-based semantic code graph analysis.
Fixed in commit c151fabf (PR #664, v0.15.13.0). Auth token removed from health broadcast. Sidepanel now requests it via targeted getToken message that only responds to non-tab contexts.
Activity
garrytan commentedon Apr 13, 2026
Fixed in commit
c151fabf(PR #664, v0.15.13.0). Auth token removed from health broadcast. Sidepanel now requests it via targetedgetTokenmessage that only responds to non-tab contexts.