playwright
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill automates web browsers, which involves ingesting untrusted data from external websites that could contain malicious instructions.
- Ingestion points: The
openandsnapshotcommands inSKILL.mdallow the agent to read arbitrary content from any URL. - Boundary markers: The instructions lack explicit requirements for using delimiters or "ignore embedded instructions" warnings when the agent processes content retrieved from web pages.
- Capability inventory: The
scripts/playwright_cli.shwrapper provides broad interaction capabilities includingclick,fill,type, andpress, which could be manipulated by content on a malicious page. - Sanitization: There is no evidence of DOM sanitization or filtering before the agent interprets the snapshot data.
- Mitigation: Consider wrapping external content in clear delimiters and providing an explicit instruction to ignore any commands found within the web data.
- [EXTERNAL_DOWNLOADS]: The skill fetches the official
@playwright/clipackage from the NPM registry to perform browser automation. - Evidence:
scripts/playwright_cli.shusesnpx --package @playwright/clito dynamically download and run the tool. - Note: This utilizes a well-known package from a reputable registry.
- [COMMAND_EXECUTION]: The skill uses a shell script to wrap and execute Playwright commands.
- Evidence: The
scripts/playwright_cli.shscript constructs a command array and usesexec "${cmd[@]}"to run the utility with user-provided arguments.
Audit Metadata