playwright
Warn
Audited by Gen Agent Trust Hub on Jun 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
run.jsfile utilizesexecSyncto perform system-level operations, specificallynpm installandnpx playwright install chromiumduring its automatic setup routine. - [REMOTE_CODE_EXECUTION]: The skill implements a dynamic execution pattern in
run.jswhere arbitrary code received from user requests or external sources is wrapped in a template, written to a temporary file (.temp-execution-*.js), and then executed using therequire()function. - [EXTERNAL_DOWNLOADS]: The skill is configured to download the
playwrightdependency from the NPM registry and fetch browser binaries from Microsoft's distribution servers during the setup phase defined inpackage.jsonandrun.js. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it processes untrusted data from web pages using a high-privilege browser automation tool.
- Ingestion points: User instructions for automation and the content of external websites accessed via Playwright (
SKILL.md). - Boundary markers: Absent; there are no delimiters or specific instructions to the agent to treat external content as untrusted.
- Capability inventory: The skill has full file system access (via
fs), network access (via Playwright), and shell execution capabilities (viarun.jsandexecSync). - Sanitization: No validation, sanitization, or sandboxing is applied to the generated scripts before they are executed.
Audit Metadata