playwright-skill
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill navigates to external URLs and extracts content into the agent's context through commands like
extract,html, andopen. This creates an attack surface where a malicious website could host instructions designed to subvert the agent's logic. - Ingestion points: Web content retrieved from arbitrary URLs and processed by
page.query_selectororpage.content()inplaywright_skill.py. - Boundary markers: None. Extracted text is returned to the agent without delimiters or warnings to ignore embedded instructions.
- Capability inventory: The skill can execute JavaScript (
eval), fill and submit forms (type,click), and manage authentication tokens (cookies). - Sanitization: No sanitization or filtering is performed on content retrieved from the web.
- [DYNAMIC_EXECUTION]: The
evalcommand implementspage.evaluate(), allowing the agent to run arbitrary JavaScript within the browser context. This power is intended for automation but could be exploited to perform cross-site actions or exfiltrate data from a page if the agent is manipulated. - [EXTERNAL_DOWNLOADS]: The skill requires the installation of the
playwrightlibrary and browser binaries (Chromium). While these are provided by a well-known vendor, they represent the execution of external code and binaries required for the skill to function. - [CREDENTIALS_UNSAFE]: The
cookiescommand allows the agent to list all stored cookies for a session. This provides a direct method for accessing and potentially exfiltrating sensitive authentication tokens or session identifiers if the agent follows a malicious prompt.
Audit Metadata