playwright-cli
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill documents and encourages the use of the
run-codecommand, which executes arbitrary JavaScript or Node.js code within the browser and local environment. - Evidence: Examples in
running-custom-code.mdandadvanced-workflows.mdshow the execution of custom scripts, including the use of Node.js core modules likefs(file system) to read local fixtures. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest data from untrusted websites while possessing high-privilege capabilities, creating a significant indirect prompt injection surface.
- Ingestion points: The agent reads external content via
open,snapshot, and various scraping patterns defined inadvanced-workflows.mdandtest-generation.md. - Boundary markers: There are no instructions or delimiters provided to help the agent distinguish between skill instructions and potentially malicious instructions embedded in the web pages being automated.
- Capability inventory: The skill provides the agent with the ability to execute code (
run-code), read/write files (upload,download,screenshot,pdf), and access authentication artifacts (state-save). - Sanitization: No sanitization, validation, or filtering of ingested web content is performed before the agent processes it.
- [DATA_EXFILTRATION]: The skill includes features for managing and accessing sensitive browser storage, including authentication cookies and tokens.
- Evidence:
storage-and-auth.mddetails the usage ofstate-save,cookie-list, andlocalstorage-get, which allow for the extraction of session credentials. Additionally, theuploadcommand allows the agent to read arbitrary files from the local system for use in web forms. - [COMMAND_EXECUTION]: The skill relies on the execution of the
playwright-clitool and its subcommands to perform all automation tasks. - Evidence: The entire skill is built around providing instructions and examples for executing these CLI commands to drive browser behavior.
Audit Metadata