baoyu-danger-gemini-web
Warn
Audited by Gen Agent Trust Hub on Mar 28, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill automates local browser instances (Chrome, Edge, Chromium) to extract sensitive authentication cookies (
__Secure-1PSID,__Secure-1PSIDTS) using the Chrome DevTools Protocol (CDP). - [CREDENTIALS_UNSAFE]: It attempts to hijack existing browser sessions by connecting to running debugging ports to extract credentials without creating new windows (
scripts/gemini-webapi/utils/load-browser-cookies.ts). - [CREDENTIALS_UNSAFE]: Extracted authentication cookies are stored in a local JSON file (
cookies.json) in the user's application data directory, making them accessible to other local processes. - [COMMAND_EXECUTION]: The skill spawns browser processes with remote debugging enabled (
--remote-debugging-port) and uses system commands likeps auxto discover running browser instances. - [COMMAND_EXECUTION]: Uses
execSyncto resolve user profile paths and WSL path mapping when running in a Windows Subsystem for Linux environment. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection as it processes untrusted data from external files and reference images.
- Ingestion points: Reads content from files specified via
--promptfilesand--referenceinscripts/main.tsand from stdin. - Boundary markers: Absent; external content is concatenated directly into the prompt structure.
- Capability inventory: Can perform network requests to Google APIs, write files to the local filesystem (images, sessions, cookies), and spawn browser processes.
- Sanitization: No sanitization or escaping of external content is performed before it is sent to the LLM backend.
Audit Metadata