playwright-v1
Warn
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The
run.jsscript dynamically assembles and executes JavaScript code at runtime. It takes input from file paths, command-line arguments, orstdin, wraps it in an async IIFE template, writes it to a temporary file (.temp-execution-*.js), and then executes it usingrequire(tempFile). This pattern allows the agent to execute arbitrary code, which could be exploited if malicious input is provided to the agent. - [REMOTE_CODE_EXECUTION]: The skill automatically manages its environment by executing shell commands to install software. The
run.jsscript usesexecSyncto runnpm installandnpx playwright install chromiumif dependencies are missing. While targeting the official Playwright registry, this involves downloading and executing code from external sources during the skill's operation. - [INDIRECT_PROMPT_INJECTION]: As a browser automation tool, the skill is designed to ingest and process content from external websites via Playwright. This represents a significant attack surface where a malicious website could embed instructions designed to manipulate the agent's behavior when it parses the page content.
- Ingestion points: Browser page content is read via
extractTexts,extractTableData, andpage.evaluateinlib/helpers.js. - Boundary markers: The code does not implement explicit delimiters or instruction-bypass guards when processing extracted text.
- Capability inventory: The skill has access to the filesystem (writing temp files), network (browser navigation), and local command execution (
execSync,require). - Sanitization: There is no evidence of sanitization or filtering of the content extracted from web pages before it is returned to the agent.
- [COMMAND_EXECUTION]: The skill invokes system-level commands through
execSyncinrun.jsand via thescriptssection inpackage.jsonto manage package installation and browser binaries.
Audit Metadata