infographics
Pass
Audited by Gen Agent Trust Hub on Jun 29, 2026
Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection through its research feature. When the
--researchflag is used, the scriptscripts/generate_infographic_ai.pyfetches content from the web using Perplexity. This untrusted data is then directly interpolated into the generation prompt for the image model in the_enhance_prompt_with_researchmethod without any sanitization, filtering, or strict boundary markers (like XML tags or 'ignore' instructions). A malicious web page could provide data that overrides the agent's instructions for the image generation task. - Evidence (Ingestion points):
scripts/generate_infographic_ai.py research_topicmethod uses theperplexity/sonar-promodel to retrieve web data.- Evidence (Sanitization): None present; the content is concatenated directly into the prompt string.
- [EXTERNAL_DOWNLOADS]: The skill makes network requests to the well-known service OpenRouter to access various AI models, including Perplexity for research, Gemini 3 Pro for image generation, and Gemini 3.1 Pro for quality review. These operations are essential to the skill's primary function.
- Evidence:
scripts/generate_infographic_ai.py - Uses the
requestslibrary to communicate withhttps://openrouter.ai/api/v1. - [COMMAND_EXECUTION]: The main wrapper script uses subprocesses to execute internal helper scripts. While it correctly avoids shell injection by passing arguments as a list with
shell=False, it represents the execution of code across different processes. - Evidence:
scripts/generate_infographic.py - Uses
subprocess.run(cmd, check=False, env=env)to launch the AI generation script.
Audit Metadata