notebooklm
Fail
Audited by Gen Agent Trust Hub on Feb 16, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- Prompt Injection / Indirect Prompt Injection (HIGH): The skill implements a 'Follow-Up Mechanism' where it appends a mandatory instruction (
FOLLOW_UP_REMINDER) to every response retrieved from NotebookLM. This instruction directs the agent to 'STOP', 'ANALYZE', and 'ASK FOLLOW-UP', effectively overriding the agent's default reasoning loop with external, skill-defined logic. - Ingestion points:
scripts/ask_question.pyextracts text from.to-user-container .message-text-contentand[data-message-author='bot']selectors. - Boundary markers: None. The external content is returned as a raw string without delimiters or sanitization.
- Capability inventory: The skill possesses execution capabilities as it relies on the agent calling
python scripts/run.pywhich can execute arbitrary Python scripts within the skill directory. The scripts themselves usesubprocess.runfor environment management. - Sanitization: No sanitization or escaping is applied to the content retrieved from the web before it is returned to the agent.
- Data Exposure & Exfiltration (MEDIUM): The skill stores sensitive Google authentication session cookies in
~/.claude/skills/notebooklm/data/browser_state/state.json. While local, this data is highly sensitive and is manipulated by the skill's scripts (auth_manager.py,ask_question.py) to bypass standard Playwright session persistence limitations. - Unverifiable Dependencies / Remote Code (MEDIUM): The
scripts/setup_environment.pyscript automatically creates a virtual environment and installs dependencies fromrequirements.txtat runtime. This includespatchright, a third-party fork of Playwright. It also executespython -m patchright install chrome, which downloads and installs browser binaries from remote sources. - Command Execution (LOW): The skill heavily utilizes
subprocess.runandos.systemequivalents (via therun.pywrapper) to manage its execution environment. While intended for setup, this provides a platform for executing commands based on environment state.
Recommendations
- AI detected serious security threats
Audit Metadata