doc-smith-images
Pass
Audited by Gen Agent Trust Hub on Oct 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill incorporates external data (user descriptions and document content) into prompts for the underlying image generation model, creating a potential surface for indirect prompt injection.
- Ingestion points: Untrusted data enters via the
--descand--contextarguments inSKILL.mdand the corresponding parameters inscripts/generate.mjs. - Boundary markers: The skill uses Markdown templates (
scripts/prompts/user.md) with distinct headers (e.g., 'Description', 'Document Content') to separate instructions from user-provided data. - Capability inventory: The skill can write files to the local file system and perform network requests to download generated images.
- Sanitization: No specific text sanitization or escaping is applied to the input variables before interpolation into the prompt templates.
- [EXTERNAL_DOWNLOADS]: The skill uses
curlto download generated images from remote URLs returned by the AFS CLI backend. These downloads are integral to the skill's purpose and are fetched from service endpoints managed by the vendor. - [COMMAND_EXECUTION]: The skill executes several shell commands for environment setup and core functionality.
- It performs backend detection by checking environment variables and executing
which afsandlscommands. - It invokes
nodeto run its internal generation script andafs execto interface with the vendor's image generation actions.
Audit Metadata