swift-app-lifecycle
Pass
Audited by Gen Agent Trust Hub on Oct 14, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [SAFE]: The skill provides comprehensive and standard architectural patterns for Swift and SwiftUI applications. It covers app entry points, multi-window support, and system integrations using official Apple frameworks like SwiftUI, BackgroundTasks, and UserNotifications.
- [SAFE]: Data persistence mechanisms implemented in templates follow best practices for iOS/macOS state management, utilizing the Application Support directory and UserDefaults for local storage.
- [INDIRECT_PROMPT_INJECTION]: The skill provides code for handling deep links and fetching remote configurations. Ingestion points: 'onOpenURL' handler in SKILL.md and 'RemoteJSONVersionChecker' in templates/ForceUpdateChecker.swift. Boundary markers: None present in the provided templates to distinguish embedded instructions. Capability inventory: Network requests via 'URLSession', opening external URLs via 'UIApplication', and file system persistence in 'StateRestorationManager.swift'. Sanitization: The implementation uses standard JSON decoding and URL component parsing but lacks explicit sanitization for downstream logic. As a developer resource, the severity is reduced to safe.
Audit Metadata