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, and validate_presentation.py use subprocess.run to execute local helper scripts or system utilities like pdflatex. These executions use argument lists rather than shell strings, which mitigates common command injection risks. The pdflatex call specifically includes the -no-shell-escape flag, a security measure that prevents the LaTeX engine from executing arbitrary shell commands during compilation.
  • [EXTERNAL_DOWNLOADS]: The skill uses the requests library to communicate with openrouter.ai to 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.py and generate_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 where user_prompt and file attachments enter 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
Risk Level
SAFE
Analyzed
Apr 12, 2026, 06:52 PM