peer-review

Pass

Audited by Gen Agent Trust Hub on Jul 12, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The wrapper script scripts/generate_schematic.py uses subprocess.run to execute the core logic in scripts/generate_schematic_ai.py. This is a controlled execution of internal code used to facilitate the AI-powered image generation process.
  • [EXTERNAL_DOWNLOADS]: The skill performs network operations to openrouter.ai to communicate with LLMs for generating and reviewing scientific schematics. This process requires an OPENROUTER_API_KEY provided by the user and is consistent with the skill's stated purpose.
  • [EXTERNAL_DOWNLOADS]: The SKILL.md instructions refer to an external script skills/scientific-slides/scripts/pdf_to_images.py for converting PDF presentations to images. This script is not included in the provided file set and represents an external dependency for the presentation review workflow.
  • [PROMPT_INJECTION]: The generate_schematic_ai.py script accepts arbitrary natural language descriptions from the user to generate diagrams. This input is interpolated into prompts sent to external AI models. While this is the intended function, it creates a surface for indirect prompt injection where the external model's behavior could be influenced by maliciously crafted descriptions.
Audit Metadata
Risk Level
SAFE
Analyzed
Jul 12, 2026, 03:13 PM