infographics
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The entry point script
scripts/generate_infographic.pyusessubprocess.runto invoke the core AI logic contained inscripts/generate_infographic_ai.py. The implementation is secure as it passes the command and arguments as a list, which prevents shell injection vulnerabilities. - [INDIRECT_PROMPT_INJECTION]: The skill features a research capability that ingests untrusted data from the web via Perplexity Sonar to enhance infographic accuracy.
- Ingestion points: External data is fetched from the Perplexity API in the
research_topicmethod withinscripts/generate_infographic_ai.py. - Boundary markers: The researched content is interpolated into the prompt with a descriptive label but lacks strict delimiters to fully isolate external data from internal instructions.
- Capability inventory: The skill's capabilities are limited to writing image files (.png) and research logs (.json), and performing network requests to the OpenRouter API.
- Sanitization: The skill does not perform explicit sanitization of the research data before inclusion in the AI prompt, though the impact is mitigated by the fact that the final output is a static image.
- [SAFE]: The skill follows security best practices by utilizing environment variables and
.envfile support for managing sensitive OpenRouter API keys, avoiding the risks of hardcoded credentials.
Audit Metadata