ios-simulator-browser
Fail
Audited by Gen Agent Trust Hub on Jun 14, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill instructions in
SKILL.mddirect the execution ofnpx --yes serve-sim@latest, which downloads and runs code from an external package registry. This package is not from a verified or well-known source. - [EXTERNAL_DOWNLOADS]: The Xcode project generator in
scripts/lib/xcode-project.mjsincorporates a remote dependency fromhttps://github.com/EmergeTools/SnapshotPreviews-iOS.gitthat is fetched and linked during the build process. - [COMMAND_EXECUTION]: The script
scripts/swiftui-preview-browser.mjsinvokes multiple system utilities includingxcodebuild,xcrun, andswift. Additionally, the Swift templatescripts/templates/FocusedPreviewApp.swiftutilizesdlopenanddlsymto dynamically load and execute code from compiled libraries at runtime. - [PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection as it processes local source files and manifests to generate build configurations.
- Ingestion points:
Package.swiftand project source files accessed during the build and watch process. - Boundary markers: Absent in the instructions for processing external package content.
- Capability inventory: Shell command execution via
xcodebuildandxcrun, filesystem writes, and dynamic library loading. - Sanitization: Employs
JSON.stringifyfor some values but lacks validation for logic contained within the user-controlled source files.
Recommendations
- AI detected serious security threats
Audit Metadata