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
evalcommand to parse and set shell variables from the output ofxcodebuild -showBuildSettings. - Evidence:
eval $(xcodebuild ... -showBuildSettings ... | awk -F' = ' '/ TARGET_BUILD_DIR =/{print "DIR=\""$2"\""} / FULL_PRODUCT_NAME =/{print "NAME=\""$2"\""}')in Step 4 ofSKILL.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
evalcommand could execute arbitrary code when the agent attempts to discover build paths. - [EXTERNAL_DOWNLOADS]: The skill recommends installing a third-party tool named
axefrom an unverified GitHub repository. - Evidence:
(install: brew install cameroncooke/axe/axe)in Step 6b ofSKILL.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-uiinSKILL.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
Bashtool to executeaxe tapcommands based on the ingested metadata. - Sanitization: No sanitization or escaping is performed on the
AXLabelorAXUniqueIdvalues. 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 likeaxe 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
evalandaxe tapfindings, 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