baoyu-danger-gemini-web
Warn
Audited by Gen Agent Trust Hub on Jul 13, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill programmatically extracts sensitive Google authentication cookies (including
__Secure-1PSIDand__Secure-1PSIDTS) from a local Chrome/Chromium installation. - Evidence: Found in
scripts/gemini-webapi/utils/load-browser-cookies.tswhich usesbaoyu-chrome-cdpto connect to running browsers or launch instances to capture cookies. - Evidence: Extracted cookies are stored locally in a
cookies.jsonfile as seen inscripts/gemini-webapi/utils/cookie-file.ts. - [COMMAND_EXECUTION]: The skill executes shell commands to resolve environment paths and run its core logic.
- Evidence:
scripts/gemini-webapi/utils/paths.tsusesexecSyncto runcmd.exeandwslpathfor path resolution in WSL environments. - Evidence:
SKILL.mdinstructs the agent to execute TypeScript files usingbunornpx -y bun. - [DATA_EXFILTRATION]: The skill transmits the extracted authentication cookies to Google's servers to facilitate API requests.
- Evidence:
scripts/gemini-webapi/client.tsandscripts/gemini-webapi/utils/get-access-token.tsperform network requests togemini.google.comandaccounts.google.comusing the captured credentials. - [EXTERNAL_DOWNLOADS]: The skill downloads and saves images from external Google-hosted URLs.
- Evidence:
scripts/gemini-webapi/types/image.tsusesfetchto download images fromlh3.googleusercontent.comand saves them to the local file system. - [SAFE]: The skill implements a mandatory consent check flow (
Consent Check (REQUIRED)inSKILL.md) that requires the user to explicitly accept a disclaimer before any reverse-engineering or cookie extraction takes place.
Audit Metadata