apple-intelligence
Pass
Audited by Gen Agent Trust Hub on Nov 4, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill provides detailed instructions for setting up the Apple Foundation Models development environment by downloading software from official and trusted sources. It references the 'apple-fm-sdk' (v0.2.1) Python package from the official PyPI registry and directs users to clone the 'python-apple-fm-sdk' and 'coreai-models' repositories from Apple's official GitHub organization.\n- [INDIRECT_PROMPT_INJECTION]: The skill documents APIs (such as 'LanguageModelSession') that process untrusted external data, which creates an inherent indirect prompt injection surface. This is addressed within the documentation through mitigation best practices.\n
- Ingestion points: Data enters the model context through user-supplied strings in 'LanguageModelSession.respond' calls and 'Prompt' objects, as documented in 'references/sessions/languagemodelsession.md' and 'references/sessions/prompt.md'.\n
- Boundary markers: The guides (e.g., 'references/transcripts/transcript-instructions-prompt.md') explicitly instruct developers to use 'Instructions' to define the role and behavior of the model, which is prioritized over user 'Prompts' to mitigate injection attacks.\n
- Capability inventory: The documented frameworks support model invocation, network-based processing via Private Cloud Compute ('references/models/private-cloud-compute-language-model.md'), and custom tool execution through the 'Tool' protocol ('references/tools/tool.md').\n
- Sanitization: The reference documentation recommends safety techniques including the use of structured '@Generable' types to constrain model output and the use of string templates to wrap user input before processing.
Audit Metadata