scientific-schematics
Pass
Audited by Gen Agent Trust Hub on Nov 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The entry script "scripts/generate_schematic.py" executes a secondary Python script using "subprocess.run". The command is constructed as a list of arguments and uses "sys.executable", preventing shell injection vulnerabilities.
- [EXTERNAL_DOWNLOADS]: The skill performs network requests to the OpenRouter API ("openrouter.ai") to access AI models for image generation and quality review. This is the core functionality of the skill and uses a well-known service.
- [INDIRECT_PROMPT_INJECTION]: User-supplied descriptions are used to generate the diagrams, creating a surface for indirect prompt injection.
- Ingestion points: The "prompt" argument passed to "scripts/generate_schematic_ai.py" is derived from user input.
- Boundary markers: User input is delimited within prompt templates using the "USER REQUEST:" label.
- Capability inventory: The skill has capabilities for file writing (outputting PNG images and JSON logs), network communication via the "requests" library, and subprocess execution.
- Sanitization: No specific sanitization or filtering is applied to the user-provided text before it is interpolated into the model prompts.
Audit Metadata