other
- Location
SKILL.md:16- Finding
Browser Session Cookies Exposed to a Third-Party CLI
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 16-17
Vulnerability Type: Sensitive Credential Access
Risk Level: MediumCode Snippet:
markdown spogo setup - Import cookies: `spogo auth import --browser chrome`Technical Analysis
The documented authentication procedure instructs the user to let the third-party
spogoexecutable import cookies from Chrome. Browser cookies are sensitive authentication material and may include reusable Spotify session credentials.The reviewed file does not demonstrate credential exfiltration or malicious behavior by
spogo. Nevertheless, this authentication method expands the executable's access to sensitive browser data compared with a standard OAuth or device-authorization flow. If the installed executable or its distribution channel is compromised, the cookie-import operation provides an opportunity to read, retain, or transmit session credentials.Attack Path
- The user installs the recommended
spogoexecutable. - The user runs
spogo auth import --browser chromeas instructed. - The executable requests or receives access to Chrome's cookie storage.
- A compromised or malicious build extracts reusable Spotify session data.
- The attacker uses any successfully extracted credentials within their validity and authorization scope.
This path depends on compromise or malicious behavior in the third-party executable; the project file itself contains no evidence that credentials are transmitted.
Impact Assessment
Potential impact includes disclosure of Spotify authentication cookies, unauthorized Spotify account access, and actions permitted by the affected session, such as playback control or account-related operations exposed through the client. The exact scope depends on Chrome's platform-specific access controls, the cookies available to the process, Spotify's session protections, and whether the credentials remain valid.
- The user installs the recommended
- Remediation
View remediation
Remediation Suggestions
- Prefer Spotify's OAuth authorization-code flow, PKCE flow, or device authorization instead of importing browser cookies.
- Clearly disclose which browser files, cookie domains, and credential fields the command accesses.
- Require explicit user consent before browser credential access.
- Apply least privilege and ensure the client reads only Spotify-related data.
- Avoid using a browser profile containing unrelated authenticated sessions.
- Store any imported credentials in an operating-system credential manager rather than plaintext configuration files.
- Document credential revocation, logout, and cleanup procedures.
