scientific-schematics

Pass

Audited by Gen Agent Trust Hub on Oct 2, 2026

Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied diagram descriptions which are interpolated into larger prompt templates for generation and review.
  • Ingestion points: The prompt argument in scripts/generate_schematic.py and scripts/generate_schematic_ai.py.
  • Boundary markers: The review_prompt in scripts/generate_schematic_ai.py does not use clear delimiters to isolate the user request from the reviewer instructions.
  • Capability inventory: The skill has file system write access to the figures/ folder and network access to openrouter.ai via the requests library.
  • Sanitization: No input filtering or escaping is applied to the user prompt before interpolation.
  • [COMMAND_EXECUTION]: The entry script scripts/generate_schematic.py spawns a subprocess to run the internal logic in generate_schematic_ai.py. It uses a list-based argument structure and the default shell=False setting, which correctly avoids shell interpolation risks when passing user prompts.
  • [EXTERNAL_DOWNLOADS]: The skill communicates with the OpenRouter API (openrouter.ai) and documentation refers to installing the requests library, both of which are well-known and standard resources for AI applications.
  • [SAFE]: Sensitive credentials (API keys) are retrieved through standard environment variables and .env files, avoiding hardcoded secrets or insecure storage.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 2, 2026, 05:01 PM