kw-uat-browser-check
Pass
Audited by Gen Agent Trust Hub on Sep 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
child_process.spawninscripts/cdp.mjsto launch a headless Chrome instance with specific debugging flags. It also utilizeschild_process.execSyncinscripts/marked-build.mjsto perform Git operations (status,checkout) and execute build commands (e.g.,npm run build) to facilitate testing of different application versions. - [DYNAMIC_EXECUTION]: The core driver provides
page.eval()andpage.addInitScript()functions, which execute JavaScript strings within the browser context. This is the primary mechanism for interacting with the DOM and instrumenting the application during testing. - [INDIRECT_PROMPT_INJECTION]: The skill implements methods to read text and DOM data from the browser via
page.text()andpage.eval(). This creates a vulnerability surface for indirect prompt injection if the agent is instructed to navigate to and process content from an untrusted external website. - Ingestion points: Browser DOM content is ingested into the agent context via
page.text()andpage.eval()inscripts/cdp.mjs. - Boundary markers: The implementation does not include specific boundary markers or 'ignore' instructions for data retrieved from the browser DOM.
- Capability inventory: The skill has the capability to spawn subprocesses (Chrome), read and write files (screenshots, browser profiles), and execute shell commands (git and npm build scripts via
marked-build.mjs). - Sanitization: No sanitization or escaping of the retrieved DOM content is performed before returning it to the agent.
Audit Metadata