mistral-sdk-patterns
Pass
Audited by Gen Agent Trust Hub on Mar 13, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill defines functions for handling chat completions that ingest untrusted message data, creating a potential surface for indirect prompt injection.
- Ingestion points: The
messagesparameter in thechatandstreamChatfunctions withinSKILL.md. - Boundary markers: The provided code patterns do not include explicit delimiters or instructions to ignore embedded commands within the message content.
- Capability inventory: The skill is configured with
Read,Write, andEdittool permissions, which could be targeted by successful injection attacks. - Sanitization: No sanitization, validation, or filtering of the message content is implemented in the code templates.
Audit Metadata