infographics
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_infographic.pyusessubprocess.runto invoke a secondary scriptscripts/generate_infographic_ai.py. This execution is performed securely by calling the current Python interpreter (sys.executable) and passing arguments directly rather than through a shell, minimizing command injection risks. Additionally, it uses a restricted set of forwarded environment variables to prevent leaking sensitive system information to the child process.\n- [EXTERNAL_DOWNLOADS]: The skill makes network requests to well-known AI services, including OpenRouter and Perplexity, to perform research and generate imagery. These operations are core to the skill's functionality and use standard API endpoints.\n- [INDIRECT_PROMPT_INJECTION]: The skill automatically researches topics using the Perplexity API and interpolates the results into the prompt sent to the image generation model. This creates a surface for indirect prompt injection if the search results contain malicious instructions designed to influence the model.\n - Ingestion points: External data is fetched via the
research_topicandweb_searchfunctions inscripts/generate_infographic_ai.py.\n - Boundary markers: The researched data is identified with a header label ('RESEARCHED DATA AND FACTS') but lacks cryptographically secure delimiters or explicit 'ignore embedded instructions' directives.\n
- Capability inventory: The skill possesses the ability to make outbound network requests via
requestsand execute internal scripts viasubprocess.run.\n - Sanitization: No explicit sanitization or filtering is applied to the research data before it is processed by the downstream image generation model.
Audit Metadata