scientific-schematics

Pass

Audited by Gen Agent Trust Hub on Nov 4, 2026

Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
  • [SAFE]: The skill is a legitimate productivity tool for researchers, demonstrating high transparency and adherence to security best practices throughout its implementation.
  • [COMMAND_EXECUTION]: The entry script generate_schematic.py invokes a secondary helper script generate_schematic_ai.py using subprocess.run. This is implemented securely by passing arguments as a list (avoiding shell interpretation) and using a whitelist-based environment forwarding strategy that prevents the exposure of unrelated sensitive environment variables to the child process.
  • [EXTERNAL_DOWNLOADS]: The skill makes network requests to openrouter.ai to interface with the Gemini-3.1-Flash-Image (Nano Banana 2) and Gemini-3.7-Flash models. These operations are performed over HTTPS using the standard requests library and are clearly documented as the core functionality of the skill.
  • [DATA_EXFILTRATION]: The skill transmits user-provided prompts and the generated diagram data to the OpenRouter API for generation and quality review. The code includes robust security measures, such as a redaction mechanism that strips the OPENROUTER_API_KEY from error strings before they are logged or displayed, preventing accidental credential exposure.
  • [INDIRECT_PROMPT_INJECTION]: The skill features a smart iterative refinement loop where the output from an AI review model (critique) is interpolated into a subsequent prompt for the image generation model. While this creates an attack surface for indirect prompt injection, the impact is confined to the visual styling and content of the resulting image and does not grant the model or the input any elevated privileges or access to the host system.
Audit Metadata
Risk Level
SAFE
Analyzed
Nov 4, 2026, 09:46 PM