scientific-slides

Pass

Audited by Gen Agent Trust Hub on Sep 5, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The script scripts/generate_slide_image_ai.py is vulnerable to indirect prompt injection. It accepts user-provided text descriptions through the prompt argument and interpolates them directly into a system prompt string sent to the OpenRouter API via f-string formatting. This allows untrusted data to influence the instructions sent to the LLM, potentially leading to the generation of unintended content or manipulation of the AI's critique logic.
  • Ingestion points: The prompt command-line argument in scripts/generate_slide_image_ai.py (line 331).
  • Boundary markers: Absent; the user input is concatenated directly into the LLM prompt templates.
  • Capability inventory: The skill possesses the Bash tool and scripts capable of executing shell commands via subprocess.run. It also uses the requests library to communicate with the external OpenRouter API.
  • Sanitization: None; the script does not escape or validate the contents of the user-provided prompt before interpolation.
  • [COMMAND_EXECUTION]: The scripts scripts/generate_slide_image.py and scripts/validate_presentation.py utilize the subprocess.run() function to execute shell commands (e.g., calling other Python scripts or the pdflatex tool). While these calls use list-based arguments which mitigate common shell injection vulnerabilities, they represent a significant capability surface within the skill's operational environment.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 5, 2026, 11:07 AM