ui-improvement
Pass
Audited by Gen Agent Trust Hub on Oct 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from web pages via the
inspect-ui.mjsandscan-ui.mjsscripts. An attacker could embed malicious instructions in the HTML/CSS of a site being scanned to influence agent behavior. - Ingestion points:
scripts/probe-ui.mjs(viaprobeUIandcheckpointfunctions) andscripts/inspect-element.mjs(viaelementFacts) extract data from target URLs. - Boundary markers: The scripts do not use explicit delimiters or 'ignore' warnings for extracted content.
- Capability inventory: The agent can execute shell commands (
bun), write local files, and perform browser automation with network access. - Sanitization:
elementFactsfilters out text nodes withininput,textarea, andselectelements to reduce the risk of PII leakage. - [COMMAND_EXECUTION]: The skill requires the execution of multiple JavaScript scripts using the
bunruntime. These scripts perform browser automation and interact with the local filesystem to save results. - [DYNAMIC_EXECUTION]: The inspection toolkit utilizes dynamic loading and evaluation.
- Dynamic Loading:
scripts/inspect-ui.mjsloads@playwright/testfrom a path derived fromprocess.cwd(), which is a dynamic path. - Runtime Evaluation: Standard browser automation patterns using
page.evaluate()are employed to execute extraction logic within the browser context.
Audit Metadata