screenwright
Warn
Audited by Gen Agent Trust Hub on Jun 24, 2026
Risk Level: MEDIUMEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands to facilitate its workflow.
- Uses
curlto download theaxe-coreaccessibility library to a local temporary directory (/tmp/screenwright/axe.min.js) inreferences/playwright-loop.md. - References the execution of
npx impeccable detectfor performing design quality audits inreferences/verification.md. - [COMMAND_EXECUTION]: Utilizes high-privilege MCP tools to perform browser-based verification.
- Relies on
browser_run_code_unsafeto execute complex JavaScript logic within the browser for the verification loop (Phase 4), which includes rendering and inspecting UI surfaces. - [EXTERNAL_DOWNLOADS]: Fetches code and configuration from external repositories.
- Downloads the
axe-corelibrary from the well-known CDNjsdelivr.net. - Retrieves design templates from a third-party GitHub repository at
github.com/VoltAgent/awesome-design-mdinreferences/brand-ladder.md. - [REMOTE_CODE_EXECUTION]: Injects and executes downloaded or generated content within a browser context.
- Uses
page.addScriptTagto load the downloadedaxe-corescript into the active page to perform audits. - Utilizes
page.setContentto render dynamically generated HTML that may incorporate untrusted user input. - [PROMPT_INJECTION]: The skill presents an attack surface for indirect prompt injection through its data processing flow.
- Ingestion points: Ingests user-provided briefs, mockup images, and existing UI code as described in
references/intake.md. - Boundary markers: Lacks explicit boundary markers or instructions to isolate untrusted data from the agent's internal logic during the generation phase.
- Capability inventory: Employs powerful capabilities including
browser_run_code_unsafe,page.setContent, and file system writes (references/playwright-loop.md,references/handoff.md). - Sanitization: Does not specify sanitization or validation routines for ingested data before it is interpolated into the generation and verification loops.
Audit Metadata