playwright-cli
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill provides the
run-codeandevalcommands, enabling the execution of arbitrary JavaScript within the browser context. This functionality is used for geolocation emulation, permission overrides, and custom scraping logic. - Evidence: Commands such as
playwright-cli run-code "async page => ..."andplaywright-cli eval "document.title"are documented inSKILL.mdandreferences/running-code.md. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to browse and process content from external websites, creating a surface for instructions embedded in web pages to influence agent behavior.
- Ingestion points:
playwright-cli goto,playwright-cli snapshot, andplaywright-cli find(documented inSKILL.md). - Boundary markers: No explicit delimiters or instructions to ignore embedded content are implemented.
- Capability inventory: Includes file system writes (
screenshot,pdf,state-save), network request interception/mocking, and JavaScript execution. - Sanitization: No sanitization of ingested HTML or text content is described.
- [DATA_EXFILTRATION]: The skill allows for the retrieval and storage of sensitive browser data, including session cookies and local storage content.
- Evidence:
playwright-cli state-save,playwright-cli cookie-list, andplaywright-cli localstorage-getcommands inSKILL.mdandreferences/storage-state.md. - [EXTERNAL_DOWNLOADS]: The shell wrapper script fetches the
@playwright/clipackage from Microsoft's official npm registry if the global binary is unavailable. - Evidence:
scripts/playwright_cli.shcontains the commandnpx --yes --package @playwright/cli@latest playwright-cli.
Audit Metadata