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
promptcommand-line argument inscripts/generate_schematic.pyand is passed to thegenerate_iterativemethod inscripts/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_promptwas observed before it is interpolated into the final prompt sent to the LLM. - [COMMAND_EXECUTION]: The main entry point
scripts/generate_schematic.pyusessubprocess.runto invoke the core AI generation scriptscripts/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