scientific-schematics

Pass

Audited by Gen Agent Trust Hub on Oct 14, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: The wrapper script scripts/generate_schematic.py uses subprocess.run to execute a companion Python script scripts/generate_schematic_ai.py. This process passes user-supplied arguments, such as the diagram description, directly to the sub-process.
  • [EXTERNAL_DOWNLOADS]: The core logic in scripts/generate_schematic_ai.py performs network requests to the OpenRouter API at https://openrouter.ai/api/v1 to generate images and conduct quality reviews using remote AI models.
  • [INDIRECT_PROMPT_INJECTION]: The skill takes untrusted natural language input from the user and interpolates it into prompts for secondary AI models (Nano Banana Pro and Gemini 3 Pro) via OpenRouter.
  • Ingestion points: The user_prompt parameter in scripts/generate_schematic_ai.py is derived from command-line arguments.
  • Boundary markers: There are no delimiters or specific instructions provided to the secondary AI models to ignore potentially malicious instructions embedded within the user's diagram description.
  • Capability inventory: The skill possesses file system write capabilities (writing to the figures/ directory) and network access capabilities (communicating with the OpenRouter API).
  • Sanitization: The user-provided prompt is not sanitized or escaped before being interpolated into the f-string templates used for API requests.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 14, 2026, 03:51 AM