T05 · Unauthorized Access and Privilege Escalation
- Location
SKILL.md:73- Finding
Unscoped Access to Chrome Browser Cookies
- Content
View full analysis
Server IPs may get 412. Use `--cookies-from-browser chrome` or configure proxy. ``` ### Technical Analysis The suggested `--cookies-from-browser chrome` option directs `yt-dlp` to read authentication cookies from a Chrome browser profile. A general browser profile can contain active sessions for Bilibili and unrelated services. The instruction does not require explicit user consent, select a dedicated browser profile, restrict cookie extraction to a specific domain, or define controls for handling the extracted credentials. This violates least-privilege principles because a troubleshooting operation for one platform can grant the invoked process access to a broader browser credential store. ### Attack Path 1. A Bilibili request fails with an HTTP 412 response. 2. The agent follows the troubleshooting instruction and runs `yt-dlp` with `--cookies-from-browser chrome`. 3. The tool accesses Chrome's cookie database and any necessary local decryption facilities. 4. Authentication cookies available to the selected browser profile are exposed to the invoked process. 5. A compromised dependency, tool, or execution environment could misuse the accessible session data. ### Impact Assessment The invoked tool may obtain access to authenticated browser sessions held in the selected Chrome profile. The scope depends on the browser profile and local operating-system protections, but it may extend beyond the platform involved in the request. Misused session cookies could permit account access with the same effective privileges as the affected browser sessions. ]]>- Remediation
View remediation
