axiom-foundation-models-diag
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill serves as a diagnostic and educational resource for the Foundation Models framework. All code snippets provided are standard Swift implementations for local AI model interaction on Apple platforms.
- [INDIRECT_PROMPT_INJECTION]: The skill provides patterns for processing user-supplied data through LLM sessions (e.g.,
session.respond(to: userInput)). While this identifies a potential attack surface where untrusted data could influence model behavior, the skill specifically guides developers on how to handle safety-related framework responses. - Ingestion points: The skill demonstrates passing
userInputto theLanguageModelSession.respondmethod inSKILL.md(Patterns 2b, 2c, and 3c). - Boundary markers: The snippets focus on error handling rather than prompt construction; explicit delimiters for user input are not demonstrated.
- Capability inventory: The code patterns illustrate text generation, structured data parsing using the
@Generablemacro, and external integration via theToolprotocol. - Sanitization: The skill highlights best practices for safety, such as catching
guardrailViolationerrors and advising against storing potentially harmful user input in logs.
Audit Metadata