xcode
Pass
Audited by Gen Agent Trust Hub on Oct 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The Python script
scripts/xcode.pydownloads and executes themcporter@0.13.11package from the public npm registry at runtime using thenpm execcommand. - [COMMAND_EXECUTION]: The skill uses
subprocess.runwithinscripts/xcode.pyto execute shell commands, including thenpmbinary and the Xcode bridge servicexcrun mcpbridge(as configured inmcp.json). - [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection through the processing of Apple-platform project data and external tool arguments.
- Ingestion points: External data is ingested from a JSON file specified by the
--args-fileparameter inscripts/xcode.pyand from the output of Xcode tools. - Boundary markers: No explicit delimiters or instructions are used to protect the agent from malicious instructions embedded within the processed project files or tool arguments.
- Capability inventory: The skill can execute local commands via subprocesses and perform file system operations through the Xcode toolchain.
- Sanitization: Input from the arguments file is validated for valid JSON structure, but the content is not sanitized for potential injection patterns before being passed to the toolchain.
Audit Metadata