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.pyis vulnerable to indirect prompt injection. It accepts user-provided text descriptions through thepromptargument and interpolates them directly into a system prompt string sent to the OpenRouter API viaf-stringformatting. 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
promptcommand-line argument inscripts/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
Bashtool and scripts capable of executing shell commands viasubprocess.run. It also uses therequestslibrary 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.pyandscripts/validate_presentation.pyutilize thesubprocess.run()function to execute shell commands (e.g., calling other Python scripts or thepdflatextool). 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