infographics
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_infographic.pyexecutes an internal Python script usingsubprocess.run. This is implemented safely by passing a list of arguments and omitting the shell environment, which prevents command injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill incorporates a research phase that gathers data from the Perplexity Sonar API to populate infographic content.
- Ingestion points: External data is ingested into the system context via the
research_topicmethod inscripts/generate_infographic_ai.py. - Boundary markers: The
_enhance_prompt_with_researchfunction appends external data directly to the user prompt without using protective delimiters or instructions to the model to ignore embedded commands. - Capability inventory: The skill possesses capabilities for network requests and writing image and log files to the filesystem.
- Sanitization: No sanitization or filtering is performed on the research data before it is interpolated into the generation prompt. While an injection surface exists, the impact is restricted to the visual and descriptive content of the generated infographic image.
Audit Metadata