generating-swift-package-docs
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: SAFEDATA_EXFILTRATIONPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- Indirect Prompt Injection (LOW): The skill processes untrusted data from external Swift package repositories which could contain instructions designed to influence the AI agent.
- Ingestion points:
scripts/generate_docs.py(line 98) reads all markdown files generated byinterfazzleand the package'sREADME.mdfile. - Boundary markers: Absent. The content is concatenated directly without delimiters or safety warnings for the agent.
- Capability inventory: The script writes the documentation to the project filesystem; the agent is instructed by
SKILL.mdto read these files to answer user questions. - Sanitization: No sanitization or validation is performed on the markdown content before it is presented to the agent.
- Data Exposure (LOW): The skill accesses the user's Xcode
DerivedDatadirectory to retrieve package information. - Evidence:
scripts/swift_packages.py(line 38) accesses~/Library/Developer/Xcode/DerivedData. - Context: Access to this directory is necessary for the skill's primary purpose and does not target sensitive credential files.
- Command Execution (SAFE): The script executes
gitandinterfazzleusing the subprocess module. - Evidence:
scripts/generate_docs.py(line 39) usessubprocess.runwith list arguments. - Context: This is a secure implementation that avoids shell injection vulnerabilities.
Audit Metadata