swiftui-expert-skill
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONMETADATA_POISONING
Full Analysis
- [COMMAND_EXECUTION]: The skill includes Python scripts that use the
subprocessmodule to interface with the systemxctraceutility for recording and exporting performance data. scripts/record_trace.pyexecutesxctrace recordviasubprocess.Popen.scripts/instruments_parser/xctrace.pyexecutesxctrace exportandxctrace versionviasubprocess.run.- [INDIRECT_PROMPT_INJECTION]: The skill processes Xcode Instruments
.tracefiles, which ingest external, potentially untrusted data into the agent's context. - Ingestion points:
scripts/analyze_trace.pyparses XML data exported from Instruments traces, which contains application-level logs and symbol names. - Boundary markers: Data extracted from traces is presented as structured JSON or markdown without explicit delimiters or instructions for the agent to ignore instructions embedded within the trace content.
- Capability inventory: The skill can execute shell commands and perform file operations via its included Python scripts.
- Sanitization: No sanitization is performed on user-controlled strings (like log messages or symbols) extracted from trace data.
- [METADATA_POISONING]: The skill documentation and metadata contain significant amounts of fictional/misleading technical data presented as authoritative.
- Evidence: Extensive references to non-existent OS versions (iOS 26, iOS 27), hypothetical design systems ('Liquid Glass'), and fictional hardware ('iPhone Duo').
- Risk: This deceptive content can mislead the agent into providing incorrect technical advice or generating code for non-existent APIs, effectively poisoning the model's knowledge for SwiftUI development tasks.
Audit Metadata