macos-swift-e2e

Pass

Audited by Gen Agent Trust Hub on Nov 26, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: Harness scripts execute system commands such as open, screencapture, swift build, and xcodebuild via subprocess.run to manage the lifecycle and testing of macOS applications. It also invokes the cua-driver CLI for background UI interaction.
  • [EXTERNAL_DOWNLOADS]: The skill instructions direct the installation of the toolkit from the author's GitHub repository and suggest downloading the cua-driver runtime dependency from the provider's official source (cua.ai).
  • [REMOTE_CODE_EXECUTION]: The harness provides instructions for installing dependencies using automated scripts from the provider's website, such as the cua-driver installation script.
  • [DATA_EXFILTRATION]: The tool reads macOS Accessibility (AX) trees and captures window screenshots, which provides access to application content. While the skill instructs the agent to keep this data local, these privileged capabilities allow the observation of potentially sensitive information.
  • [INDIRECT_PROMPT_INJECTION]: The tool processes external data from AX trees and screenshots, creating a surface where malicious application content could influence the agent's instructions.
  • Ingestion points: harness/macos_e2e_harness/ax.py (Accessibility tree) and harness/macos_e2e_harness/windows.py (screenshots).
  • Boundary markers: SKILL.md warns that AX trees can expose sensitive data and advises keeping audit dumps local.
  • Capability inventory: subprocess.run (CLI commands) and SafeDriver (UI automation).
  • Sanitization: UI content is processed without filtering to support testing assertions.
  • [DYNAMIC_EXECUTION]: The toolkit generates executable scripts from templates and compiles local Swift source code into .app bundles at runtime for testing purposes. It also uses dynamic module loading for environment-based configuration.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 26, 2026, 10:37 AM