brand-kit
Pass
Audited by Gen Agent Trust Hub on Aug 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
gen.mjsandproviders.mjsscripts utilize thedlazycommand-line tool viachild_process.spawnto perform image generation and retrieve task statuses. - [EXTERNAL_DOWNLOADS]: The
gen.mjsscript downloads generated image buffers from AI provider URLs (such as those from Replicate or OpenAI) to store them in the localoutputdirectory. - [DATA_EXFILTRATION]: Local image references and brand visual descriptions are transmitted to external AI service endpoints, including OpenAI, Google Gemini, Fal.ai, and Replicate, to facilitate the image generation process.
- [INDIRECT_PROMPT_INJECTION]: The skill ingests user-controlled content from
brand.yamlconfiguration files which is then interpolated into prompts for image generation models. - Ingestion points: Data is read from
brand.yaml(specifically fields liketone,description,body, andphotographyattributes) inscripts/brand.mjs. - Boundary markers: The
buildBrandfunction wraps these values in descriptive labels (e.g., 'Model must stay consistent: ', 'Color grade: ') which provides basic structural delimitation. - Capability inventory: The skill possesses the ability to execute a local binary (
dlazy), perform HTTP POST requests to multiple AI APIs, and write image files to the local disk. - Sanitization: The custom YAML parser in
scripts/lib/miniyaml.mjsperforms type coercion and basic string trimming but does not implement security-specific filtering for prompt injection patterns.
Audit Metadata