Back to skill

Security audit

Chrome MCP Tools

Security checks for vulnerabilities and agentic risk

Overview

This browser-reading skill is purpose-aligned, but it automatically installs/upgrades a global npm tool and can access logged-in Chrome pages, so it needs user review.

Install only if you are comfortable with the skill attaching to your local Chrome session and reading pages you are logged into. Review the npm package source/version first, avoid automatic global upgrades where possible, and use a separate browser profile for sensitive accounts.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Error
Location
SKILL.md:69
Finding

Automatic Installation of Mutable and Unreviewed npm Dependencies

Content
View full analysis
`, then continue. Do not repeat this check for every page task unless a command call fails. ``` At `SKILL.md:134`: ```bash WORKSPACE="$(git rev-parse --show-toplevel 2>/dev/null || pwd -P)" cd "$WORKSPACE" && npm install @modelcontextprotocol/sdk ``` At `SKILL.md:141-149`: ```bash REMOTE_VERSION="$(npm view @mallocfeng/chromedev version 2>/dev/null || true)" LOCAL_VERSION="$(chromedev version 2>/dev/null | sed -E 's/^.*@([0-9]+\.[0-9]+\.[0-9]+).*$/\1/' || true)" if [ -z "$REMOTE_VERSION" ]; then echo "Could not read @mallocfeng/chromedev version from npm" elif [ -z "$LOCAL_VERSION" ] || node -e 'const [l,r]=process.argv.slice(1); const a=l.split(".").map(Number); const b=r.split(".").map(Number); process.exit(b[0]>a[0] || (b[0]===a[0] && b[1]>a[1]) || (b[0]===a[0] && b[1]===a[1] && b[2]>a[2]) ? 0 : 1)' "$LOCAL_VERSION" "$REMOTE_VERSION"; then npm install -g "@mallocfeng/chromedev@$REMOTE_VERSION" hash -r 2>/dev/null || true fi ``` ### Technical Analysis The skill instructs the agent to query the public npm registry on each session and automatically install the most recently published `@mallocfeng/chromedev` version whenever the local version is missing or older. Although the resulting installation command contains an explicit version number, that number is dynamically obtained from the registry immediately before installation. I ...[truncated 3366 chars]
Remediation
View remediation
``` If lifecycle scripts are required, review them before installation and execute them only in a sandbox. 7. Run the middleware under a restricted account or sandbox with narrowly scoped filesystem and network access. Do not expose the user's normal authenticated browser profile unless that access is necessary and explicitly authorized for the task. 8. Separate update management from page-extraction sessions. Package upgrades should occur through a controlled maintenance process rather than automatically whenever the skill is invoked. 9. Maintain an allowlist of reviewed package versions and fail closed when registry metadata is unavailable, unexpected, or newer than the approved version. ]]>
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · SKILL.md (reported line 27)May include surrounding context.

md
This workflow is otherwise a black box to the user, so visible progress output is required.
Output is not optional in this skill.

## Output rules

1. If the user explicitly asks for 摘要, 总结, 要点, recap, summary, then produce a summary.
2. Otherwise, return extracted page content faithfully and concisely.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly states it can use a live Chrome browser and the user's login state, but it does not present a clear user-facing warning about the privacy and security implications of accessing authenticated sessions and collecting rendered data. In this context, that omission is dangerous because the tool can read sensitive account content from already logged-in sites, and users may not realize the scope of access before invoking it.

Content

No source excerpt is available for this finding.