scientific-slides

Pass

Audited by Gen Agent Trust Hub on Aug 6, 2026

Risk Level: SAFEPROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
  • [PROMPT_INJECTION]: The scripts/generate_slide_image_ai.py script is vulnerable to indirect prompt injection. User-supplied slide descriptions and image attachments are interpolated directly into a larger prompt sent to the Nano Banana Pro AI model through the OpenRouter service.
  • Ingestion points: User-provided prompt string in scripts/generate_slide_image_ai.py and scripts/generate_slide_image.py.
  • Boundary markers: Absent. User-supplied text is not wrapped in protective delimiters or accompanied by instructions to ignore potentially malicious embedded content.
  • Capability inventory: The skill has access to subprocess.run (used for local script execution), file system write capabilities to save generated slides, and network operations via the requests library to communicate with the external API.
  • Sanitization: No escaping, validation, or filtering is performed on the user-supplied content before it is processed by the AI service.
  • [EXTERNAL_DOWNLOADS]: The skill facilitates communication with the OpenRouter API (openrouter.ai) to leverage Google Gemini models for image generation and review. This involves transmitting local data, including text descriptions and image attachments, to an external service. While OpenRouter is a well-known provider, users should be aware of data sharing with third-party AI platforms.
  • [COMMAND_EXECUTION]: The scripts/generate_slide_image.py and scripts/validate_presentation.py scripts utilize the subprocess module to execute local Python scripts and LaTeX compilation tools. The scripts use list-based argument passing which helps prevent direct command injection, but they rely on local execution of external binaries to perform their core tasks.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 6, 2026, 08:42 AM