windows-ui-automation
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes the
ctypeslibrary to interface with low-level Win32 APIs inuser32.dllandkernel32.dll, enabling operations such as input simulation (SendInput), window management (SetForegroundWindow), and process interaction. These capabilities are necessary for the skill's primary function and are documented alongside defensive patterns including input rate limiting and application blocklists. - [INDIRECT_PROMPT_INJECTION]: The skill implements patterns for element discovery and property retrieval that read text from external application UI elements, creating an attack surface for instructions embedded in third-party software.
- Ingestion points:
references/advanced-patterns.md(ElementDiscovery.find_element_path),SKILL.md(SecureUIAutomation.find_element). - Boundary markers: The skill emphasizes process identity validation and integrity checks but lacks explicit instructions for using delimiters or boundary markers when processing raw UI text strings.
- Capability inventory: System-level interaction capabilities including Win32 input simulation, focus management, and COM automation via
comtypesandUIAutomationClient.dll. - Sanitization: Includes a
ProcessValidatorclass for verifying executable integrity, aSafeInputSimulatorto block dangerous system key combinations, and asanitize_property_valuefunction inreferences/security-examples.mdto remove control characters from retrieved data.
Audit Metadata