T05 · Unauthorized Access and Privilege Escalation
- Location
# Export to JSON browser-use python "code" # Execute Python (variables persist across calls) browser-use python --file script.py # Run file browser-use python --vars # Show defined variables browser-use python --reset # Clear namespace ``` Additional authorized functionality can store cloud credentials, expose local services, and synchronize browser profiles: ```bash browser-use cloud login <api-key> # Save API key (or set BROWSER_USE_API_KEY) b ...[truncated 2965 chars]:4- Finding
Overbroad browser-use Permission Exposes Arbitrary Execution and Sensitive Browser Capabilities
- Content
View full analysis
# Real Chrome with Default profile (existing logins/cookies) browser-use --profile "Profile 1" open # Real Chrome with named profile ``` It also includes cookie export and arbitrary persistent Python execution: ```bash browser-use cookies export # Export to JSON browser-use python "code" # Execute Python (variables persist across calls) browser-use python --file script.py # Run file browser-use python --vars # Show defined variables browser-use python --reset # Clear namespace ``` Additional authorized functionality can store cloud credentials, expose local services, and synchronize browser profiles: ```bash browser-use cloud login # Save API key (or set BROWSER_USE_API_KEY) browser-use tunnel # Start Cloudflare tunnel (idempotent) browser-use profile sync --all # Sync profiles to cloud ``` ### Technical Analysis The wildcard declaration at line 4 authorizes the entire `browser-use` CLI even though the Skill's primary purpose is ordinary browser navigation, page interaction, screenshots, and data extraction. This violates the principle of least privilege because the same authorization covers materially more sensitive operations: - Running arbitrary Python code in a persistent local process. - Opening browser profiles containing existing authenticated sessions and cookies. - Exporting cookies into local JSON files. - Synchronizing browser profiles to a cloud service. - Saving a cloud ...[truncated 2085 chars]- Remediation
View remediation
