scientific-slides
Pass
Audited by Gen Agent Trust Hub on Apr 12, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
generate_slide_image.py,generate_schematic.py, andvalidate_presentation.pyusesubprocess.runto execute local helper scripts or system utilities likepdflatex. These executions use argument lists rather than shell strings, which mitigates common command injection risks. Thepdflatexcall specifically includes the-no-shell-escapeflag, a security measure that prevents the LaTeX engine from executing arbitrary shell commands during compilation. - [EXTERNAL_DOWNLOADS]: The skill uses the
requestslibrary to communicate withopenrouter.aito send slide descriptions and image data to Google Gemini models. This external communication is the intended mechanism for creating the presentation content and utilizes a well-known AI service. - [PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface. In
generate_slide_image_ai.pyandgenerate_schematic_ai.py, user-supplied text and attached image data are concatenated directly into the instructions sent to the AI model. The absence of boundary markers or instructions to the model to treat this external data as untrusted could allow malicious inputs to override the skill's design goals. Evidence includes: 1) Ingestion points whereuser_promptand fileattachmentsenter the LLM context. 2) Absence of boundary markers or delimiters in the f-string prompts. 3) A capability inventory that includes process execution (subprocess.run), network requests (requests.post), and file operations (open). 4) Lack of sanitization or validation for user-provided text or attached image content.
Audit Metadata