stem-illustration
Pass
Audited by Gen Agent Trust Hub on Aug 3, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted user data (such as 'pathway_description', 'workflow_description', and 'research_topic') and interpolates it into predefined scenario templates without sanitization or boundary markers. This could allow an attacker to influence the final prompt generated by the agent, potentially leading to the consumption of image generation credits for unintended purposes.
- Ingestion points: The skill uses 24 different scenario templates (e.g., references/templates/01-signaling-pathway.json) that include placeholders for user-supplied descriptions.
- Capability inventory: The skill can execute local Python scripts (
scripts/generate_image.pyandscripts/generate_geometry.py) which perform network requests and write files to disk. - Boundary markers: No explicit boundary markers (e.g., delimiters) or "ignore embedded instructions" warnings are used when interpolating user data into prompts.
- Sanitization: No escaping or validation of external content is performed before interpolation into the final prompt.
- [EXTERNAL_DOWNLOADS]: The skill performs network operations to external image generation APIs (like OpenAI or apimart.ai) as configured by the user. The
scripts/generate_image.pyscript sends the user-providedIMG_API_KEYin the Authorization header to theIMG_BASE_URLdefined in the environment. This is the intended functionality but relies on the security of the user-provided endpoint. - [COMMAND_EXECUTION]: The skill instructions direct the agent to execute local Python scripts to fulfill its primary functions. This includes
scripts/generate_image.pyfor API-based image generation andscripts/generate_geometry.pyfor creating mathematically accurate plots using the matplotlib library.
Audit Metadata