playwright-cli
Warn
Audited by Gen Agent Trust Hub on Sep 11, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONPRIVILEGE_ESCALATIONCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The skill facilitates the execution of arbitrary JavaScript within the browser context via the
run-codeandevalcommands. This allows for complex automation but could be leveraged to execute malicious scripts if the input is influenced by untrusted sources. - [DATA_EXFILTRATION]: The tool provides direct access to sensitive browser storage through commands like
cookie-list,localstorage-get, andstate-save. These features allow an agent to read and persist authentication tokens, session cookies, and other private data to the local file system. - [INDIRECT_PROMPT_INJECTION]: By processing content from external websites (using
snapshotandconsolecommands) while maintaining high-privilege browser control (network access, JS execution), the skill is vulnerable to indirect prompt injection where a malicious site could attempt to manipulate the agent's actions. - [PRIVILEGE_ESCALATION]: The skill demonstrates how to use the
grantPermissionsAPI to programmatically allow access to sensitive browser features such as geolocation, the camera, the microphone, and the clipboard, effectively bypassing user-facing security prompts. - [COMMAND_EXECUTION]: The instructions encourage the use of system-level tools like
npmandnpxfor installing dependencies and running test suites, which grants the agent significant control over the host environment's software configuration.
Audit Metadata