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.md direct the execution of npx --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.mjs incorporates a remote dependency from https://github.com/EmergeTools/SnapshotPreviews-iOS.git that is fetched and linked during the build process.
  • [COMMAND_EXECUTION]: The script scripts/swiftui-preview-browser.mjs invokes multiple system utilities including xcodebuild, xcrun, and swift. Additionally, the Swift template scripts/templates/FocusedPreviewApp.swift utilizes dlopen and dlsym to 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.swift and 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 xcodebuild and xcrun, filesystem writes, and dynamic library loading.
  • Sanitization: Employs JSON.stringify for some values but lacks validation for logic contained within the user-controlled source files.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Jun 14, 2026, 08:47 PM
Security Audit — agent-trust-hub — ios-simulator-browser