notebooklm
Pass
Audited by Gen Agent Trust Hub on Nov 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes
subprocess.runacross several files (run.py,setup_environment.py,__init__.py) to manage its execution environment. Specifically, it creates a Python virtual environment, upgrades pip, installs dependencies fromrequirements.txt, and manages the installation of browser binaries. - [CREDENTIALS_UNSAFE]: To provide a seamless user experience, the skill automates Google account authentication and stores session cookies (
state.json) and browser profile data locally in thedata/directory. These files contain sensitive authentication tokens that could allow access to the user's Google account if the local directory is compromised or accidentally shared. - [EXTERNAL_DOWNLOADS]: During its first-time setup, the skill downloads and installs external components, including the
patchrightPython package and Google Chrome/Chromium browser binaries. These downloads are performed to establish the infrastructure required for browser automation. - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from Google NotebookLM, which synthesizes answers from user-provided documents. There is a potential risk of indirect prompt injection if an attacker embeds malicious instructions within a document that the skill subsequently queries and processes. The skill lacks explicit sanitization or boundary markers for the data returned from the browser-automated tool.
- [DYNAMIC_EXECUTION]: The
scripts/run.pyscript serves as a central dispatcher that dynamically constructs and executes shell commands to run other utility scripts (ask_question.py,auth_manager.py, etc.) based on arguments provided by the agent. This mechanism ensures scripts run within the correct virtual environment but represents a dynamic execution pattern.
Audit Metadata