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.pyscript 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
promptstring inscripts/generate_slide_image_ai.pyandscripts/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 therequestslibrary 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.pyandscripts/validate_presentation.pyscripts utilize thesubprocessmodule 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