swiftui-expert-skill
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses Python scripts to execute the
xctracesystem binary on macOS. This is used to list connected devices, record application performance traces, and export trace data for analysis. - Evidence found in
scripts/record_trace.pyandscripts/instruments_parser/xctrace.pyusingsubprocess.runandsubprocess.Popenwith argument lists to mitigate injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill analyzes data from
.tracefiles which contain application metadata such as view names and code symbols. There is a potential attack surface where a malicious application could include specially crafted view names or symbols designed to influence the AI agent's behavior when it parses the trace results. - Ingestion points: Performance data is ingested in
scripts/analyze_trace.pyafter being exported from Instruments trace files. - Boundary markers: None identified in the script output; the agent processes raw view and symbol names.
- Capability inventory: The skill can execute
xctraceto launch or attach to processes and write files to the local disk (e.g., inscripts/record_trace.py). - Sanitization: The Python scripts parse XML data into structured JSON, but do not specifically sanitize string content for prompt injection patterns before delivery to the agent.
Audit Metadata