infographics

Pass

Audited by Gen Agent Trust Hub on Nov 22, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
  • [COMMAND_EXECUTION]: The wrapper script generate_infographic.py uses subprocess.run to execute the core AI generation script. This is an architectural choice to manage the environment and credentials for the underlying process.
  • [INDIRECT_PROMPT_INJECTION]: The skill implements a research phase using the Perplexity Sonar API. The retrieved content is used to build the generation prompt for the subsequent AI model. This creates an indirect prompt injection surface as external, untrusted data is processed without adequate sanitization or robust boundary markers.
  • Ingestion points: User-supplied prompt, context images, and external research results from Perplexity.
  • Boundary markers: The script uses simple text headers (e.g., "RESEARCH CANDIDATES:") which may not prevent adversarial instructions in the ingested data from influencing the model.
  • Capability inventory: Subprocess execution (subprocess.run), network requests (requests.post), local file reading (open), and image saving (open(..., 'wb')).
  • Sanitization: No explicit sanitization or escaping is performed on the data before prompt interpolation.
  • [DATA_EXFILTRATION]: The script supports a --context-image feature that reads local files and transmits their contents to the OpenRouter API. This allows for the potential exfiltration of sensitive local data if an attacker can manipulate the file paths provided to the tool.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 22, 2026, 01:31 PM