run-simulator

Warn

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: MEDIUMDYNAMIC_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [DYNAMIC_EXECUTION]: The skill uses the eval command to parse and set shell variables from the output of xcodebuild -showBuildSettings.
  • Evidence: eval $(xcodebuild ... -showBuildSettings ... | awk -F' = ' '/ TARGET_BUILD_DIR =/{print "DIR=\""$2"\""} / FULL_PRODUCT_NAME =/{print "NAME=\""$2"\""}') in Step 4 of SKILL.md.
  • This pattern is risky because build settings in an Xcode project file can be manipulated by an attacker. If a project contains malicious build settings (e.g., shell metacharacters or command substitution in the product name), the eval command could execute arbitrary code when the agent attempts to discover build paths.
  • [EXTERNAL_DOWNLOADS]: The skill recommends installing a third-party tool named axe from an unverified GitHub repository.
  • Evidence: (install: brew install cameroncooke/axe/axe) in Step 6b of SKILL.md.
  • Recommending the installation of binaries from third-party sources that are not part of the trusted vendors or well-known organizations introduces a supply chain risk, as the integrity and safety of the external tool are not verified.
  • [INDIRECT_PROMPT_INJECTION]: The skill creates a surface for indirect prompt injection by reading accessibility labels and IDs from a running application and using them directly in shell commands.
  • Ingestion points: UI element metadata (labels, IDs) extracted via axe describe-ui in SKILL.md.
  • Boundary markers: None. The skill instructs the agent to filter the tool's JSON output but provides no instructions for sanitizing the resulting values.
  • Capability inventory: The skill uses the Bash tool to execute axe tap commands based on the ingested metadata.
  • Sanitization: No sanitization or escaping is performed on the AXLabel or AXUniqueId values. An application with a malicious accessibility label (e.g., "; rm -rf /; #) could trigger command injection if the agent interpolates it directly into a shell command like axe tap --id "<AXUniqueId>".
  • [COMMAND_EXECUTION]: The skill relies on constructing shell commands using data extracted at runtime from external tools and project files.
  • As documented in the eval and axe tap findings, the direct flow of data from untrusted or unverified sources into shell execution environments without explicit validation or escaping creates a pathway for command injection.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 10, 2026, 01:45 PM