enhance-ux-laws
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides instructions for the agent to scrape content from a web page using a Playwright probe script to diagnose UX issues and generate code fixes. If the target web page contains malicious instructions designed to manipulate the agent, there is a risk of the agent executing unintended actions, such as writing malicious code during the Fix step. \n- Ingestion points: The
ux-laws-probe.jsscript (referenced inreferences/probe.md) extractsdocument.body.innerTextand various attribute values from the target website. \n- Boundary markers: The skill does not provide specific instructions to the agent to treat the scraped content as untrusted or to ignore instructions embedded within the page text. \n- Capability inventory: The skill specifies a Fix step inSKILL.mdwhere the agent is expected to repair broken flows and make changes to shared components or tokens. \n- Sanitization: No sanitization or validation of the scraped data is mentioned before it is processed by the agent.\n- [COMMAND_EXECUTION]: The skill provides a shell script inreferences/probe.mdthat uses the Playwright CLI to automate browser actions like opening routes, resizing the viewport, and taking screenshots. These operations are core to the skill's diagnostic functionality.\n- [EXTERNAL_DOWNLOADS]: The diagnostic process involves runningnpx --yes @playwright/cli@latest, which downloads the Playwright package from the NPM registry. Playwright is a well-known browser automation tool maintained by Microsoft.\n- [DYNAMIC_EXECUTION]: The skill uses the Playwright CLIevalcommand to execute the providedux-laws-probe.jsscript within the browser context to collect page metrics and element data.
Audit Metadata