xcproj
Pass
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes a Python script (
scripts/check.py) that executes local Xcode command-line tools (xcrun xcprojformatterandxcodebuild -list). These calls are implemented usingsubprocess.runwith a list of arguments, which is a secure practice that prevents shell injection. - [INDIRECT_PROMPT_INJECTION]: The skill processes
project.xcprojfiles, which serves as an ingestion point for untrusted data. An attacker could potentially embed malicious instructions within project metadata (like target names or build settings) to influence the agent's actions during the editing workflow. - Ingestion points: The
project.xcprojfile is read during the editing workflow described inSKILL.mdand by thescripts/check.pyvalidation script. - Boundary markers: The skill lacks explicit markers or instructions to the agent to ignore natural language instructions found within the JSON data.
- Capability inventory: The skill allows the agent to write to the file system and execute shell commands through the
check.pyscript and manual ID generation. - Sanitization: There is no evidence of sanitization or validation of the content within the JSON project files before it is interpreted by the agent.
Audit Metadata