ToolTrust
C27/100
executeautomation

mcp-playwright

mcp1.0.12

@executeautomation

Playwright Model Context Protocol Server - Tool to automate Browsers and APIs in Claude Desktop, Cline, Cursor IDE and More ๐Ÿ”Œ

By executeautomation | 18 findings | Scanned 7/28/2026 | tooltrust-scanner/v0.3.19 | 5.6k

1 Critical5 Low12 Info

Risk Summary

Needs Approval

Excessive Permissions plus Dep Visibility raises enough risk that this tool should not be auto-trusted.

Potential impact: The agent may gain overly broad access to files, network, databases, or execution capabilities.

Recommended action: Keep this tool behind manual approval and avoid unattended runs until the risky capabilities are narrowed or removed.

Suggested policy: keep this tool behind manual approval, do not allow unattended runs, and re-scan after narrowing risky permissions.

Security Findings (18)

  • CriticalAS-006

    ๐Ÿ’ปArbitrary Code Execution

    heuristic signal

    run_js:tool name or description implies arbitrary script/code execution (evaluate_script, execute javascript, etc.)

    Fix: This tool can execute arbitrary code or shell commands on the host system. Remove it unless strictly required. If kept: (1) restrict access to trusted users/agents only, (2) require human approval before each invocation (Claude Desktop: set approval_required: true; other clients: enable equivalent confirmation), (3) use the most restrictive sandbox or read-only mode available, and (4) never expose this tool to untrusted input sources.

  • LowAS-011

    โ„น๏ธMissing Rate-Limit / Timeout ร—5

    tool performs network or execution operations but declares no rate-limit, timeout, or retry configuration

    take_screenshotextract_linksextract_tablesfill_formrun_js

    Fix: Declare explicit rate-limit, timeout, and retry configuration for all network and execution tools. Implement exponential back-off and surface resource state to the calling agent.

  • InfoAS-002

    โš ๏ธExcessive Permissions ร—6

    declared capabilities: network access

    scrape_urltake_screenshotextract_linksextract_tablesfill_form

    declared capabilities: code/command execution, network access

    run_js

    Fix: Tool requests broad permissions (exec/fs/network). Validate input parameters using Enums where possible, and restrict file system operations to explicit allowed directories.

  • InfoAS-014

    โ„น๏ธDependency Inventory Unavailable ร—6

    Tool did not expose metadata.dependencies or repo_url, so supply-chain coverage is limited.

    scrape_urltake_screenshotextract_linksextract_tablesfill_formrun_js

    Fix: Review and remediate the identified issue.

Scan this tool yourself

Reproduce this audit locally, integrate into CI, or let your agent audit its own tools.

Install once, then scan any MCP server:

$ curl -sfL https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-scanner/main/install.sh | bash
$ tooltrust-scanner scan --server "npx -y mcp-playwright"

Adjust the package name if your npm registry name differs from the tool ID. View source

Add badge to your README

Copy this Markdown to show your ToolTrust grade on GitHub.

[![ToolTrust Grade C](https://raw.githubusercontent.com/AgentSafe-AI/tooltrust-directory/main/docs/badges/grade-c.svg)](https://github.com/AgentSafe-AI/tooltrust-directory)