T09 · Insecure Skill Coding Practices
- Location
skill.md:63- Finding
Browser credential and session data copied into a predictable temporary directory
- Content
View full analysis
/dev/null ``` ### Technical Analysis The Skill instructs users to copy Chrome's `Cookies`, `Login Data`, `Web Data`, `Preferences`, and `Local State` files into the fixed path `/tmp/chrome_debug_profile`. These files may contain or facilitate access to: - Authenticated browser cookies and session tokens - Saved-login records - Autofill and other browser data unrelated to LinkedIn - Encryption metadata associated with stored browser secrets - Sensitive browser preferences and account state The Skill only requires an authenticated LinkedIn session. Copying entire credential and browser-data stores therefore exceeds data minimization and least-privilege requirements. The destination is a predictable temporary path. The instructions do not establish restrictive permissions, verify directory ownership, reject symbolic links, or remove the copied data after the operation. Suppressing errors with `2>/dev/null` also makes ownership, permission, and copy failures less visible. ### Attack Path 1. A user follows the Skill's setup instructions. 2. Chrome credential and session files are copied into `/tmp/chrome_debug_profile`. 3. An attacker with sufficient local access anticipates the fixed path and reads the copied data, or prepares a malicious directory or symbolic-link arrangement where platform permissions allow it. 4. The attacker extracts sensitive browser information or uses the copied profile through Chrome. 5. The data remains available after the Skill finishes because no cleanup procedure is specified. Successful exploitation depends on the attacker's local filesyst ...[truncated 553 chars]- Remediation
View remediation
