scientific-schematics

Pass

Audited by Gen Agent Trust Hub on Oct 9, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it interpolates user-supplied diagram descriptions directly into the system prompts used for both diagram generation and quality review.
  • Ingestion points: User input enters the skill via the prompt command-line argument in scripts/generate_schematic.py and is passed to the generate_iterative method in scripts/generate_schematic_ai.py.
  • Boundary markers: The skill uses simple labels like USER REQUEST: {user_prompt} to delimit user input within the template, but these do not provide robust protection against adversarial instructions.
  • Capability inventory: The skill has the ability to write files (generated images and JSON review logs), perform network requests (to the OpenRouter API), and execute subprocesses (via the wrapper script).
  • Sanitization: No sanitization, escaping, or filtering of the user_prompt was observed before it is interpolated into the final prompt sent to the LLM.
  • [COMMAND_EXECUTION]: The main entry point scripts/generate_schematic.py uses subprocess.run to invoke the core AI generation script scripts/generate_schematic_ai.py. While this follows a standard wrapper pattern, it involves passing user-provided arguments directly to a shell command execution function.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 9, 2026, 08:22 AM