T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:29- Finding
Unverified Remote Installer Is Piped Directly into a Shell
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill’s stated login purpose is coherent, but it handles Google session cookies with an overly exposed browser-debugging setup and incomplete cleanup.
Review before installing. This skill is not shown to exfiltrate data or act deceptively, but it creates and stores reusable Google/NotebookLM session material and leaves too much browser-debugging and temporary-profile exposure. Use only in a trusted local environment, avoid running as root, pin and review dependencies, delete stale /tmp/nlm-chrome-profile data, stop any Chrome process using port 9222 after use, and understand that saved cookies can grant account access until revoked or expired.
SKILL.md:29Unverified Remote Installer Is Piped Directly into a Shell
scripts/login.py:27Chrome DevTools Is Configured to Accept Arbitrary Origins on a Predictable Port
scripts/login.py:22Authentication-Bearing Chromium Profile and Process Are Not Cleaned Up
SKILL.md:43Unpinned Third-Party Package Is Resolved and Executed at Runtime
The skill requires shell access and network-capable actions but does not declare any explicit tool scope or permission boundaries. That makes the skill harder to govern safely and increases the chance an agent executes sensitive commands or network operations without clear user-visible authorization, especially in a login workflow handling authentication material.
This skill extracts Google authentication cookies from a live browser session and saves them locally, but the description does not present that as an explicit upfront warning. Because browser cookies are bearer credentials, inadequate disclosure can mislead users into approving a workflow that grants persistent account access and creates a high-impact credential exposure risk if the files are copied or mishandled.
The skill invokes an MCP/CLI package by name without pinning a specific version, which creates a supply-chain and reproducibility risk. A future or maliciously substituted package version could change login behavior, exfiltrate cookies, or execute unexpected code during authentication checks.
subprocess module calls execute external commands. Without careful input validation, this enables command injection.
def launch_chrome():
os.makedirs(TMP_PROFILE, exist_ok=True)
proc = subprocess.Popen(
[CHROME, f"--remote-debugging-port={PORT}",
"--no-first-run", "--no-default-browser-check",
"--disable-extensions", f"--user-data-dir={TMP_PROFILE}",
The script extracts Google authentication cookies via Chrome DevTools Protocol and persists them to disk, effectively creating a reusable authenticated session token set. If those cookies or the saved profile are read by another local user, malware, or a later compromised process, an attacker could hijack the user's NotebookLM/Google session without needing credentials or MFA.
The installation guidance pipes a remotely fetched script directly into sh, which allows arbitrary code execution from the network without verification. If the source is compromised, intercepted, or replaced, a user running the documented command could execute attacker-controlled code on the host.
which chromium-browser && which uv
If missing, install Chromium (`apt install chromium-browser`) and uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`).
### 2. Run the login script
The printed login instruction is written only in Chinese, which imposes a specific language on users without opt-in. There is no indication that this script is intended exclusively for Chinese-speaking users or that alternative locales are supported.