Playwright Browser Automation
Warn
Audited by Gen Agent Trust Hub on Nov 1, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill is designed to custom-write JavaScript automation scripts at runtime and save them to the
/tmpdirectory. It also includes an "Inline Execution" pattern where arbitrary code strings are passed directly to a Node.js wrapper (node run.js "..."). This dynamic generation and execution of code is a core feature but represents a significant security surface. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to browse and interact with external websites. This exposes the agent to untrusted data that could contain malicious instructions.
- Ingestion points: The agent navigates to target URLs and interacts with the DOM, potentially reading content that contains embedded instructions.
- Boundary markers: There are no specific delimiters or instructions defined to prevent the agent from following instructions found on the web pages it visits.
- Capability inventory: The agent has full Playwright access, including the ability to take screenshots, fill forms, interact with internal services (localhost), and execute scripts locally via Node.js.
- Sanitization: The skill does not implement sanitization or filtering for the content it encounters during browser automation.
- [COMMAND_EXECUTION]: The skill relies on shell command execution for its critical workflows, including server detection (
node -e), environment setup (npm run setup), and the execution of generated test scripts (node run.js). These commands are executed in the local environment where the agent is running.
Audit Metadata