scientific-schematics
Pass
Audited by Gen Agent Trust Hub on Mar 31, 2026
Risk Level: SAFE
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/generate_schematic.pyinvokes the internal logic inscripts/generate_schematic_ai.pyusingsubprocess.run(). This call is implemented using an argument list rather than a raw shell string, which is a secure implementation that effectively mitigates command injection risks. - [EXTERNAL_DOWNLOADS]: The skill performs network requests to the OpenRouter API to access Google's Gemini models for both image generation and quality review. These interactions target well-known and reputable services necessary for the skill's primary functionality.
- [PROMPT_INJECTION]: The skill ingests user-supplied text as a diagram description. It uses the
SCIENTIFIC_DIAGRAM_GUIDELINEStemplate inscripts/generate_schematic_ai.pyas a boundary marker, wrapping the untrusted user input within a strict framework of technical requirements to ensure the model produces valid scientific content. - [SAFE]: The skill manages API credentials through standard environment variables and
.envfiles. No hardcoded secrets, sensitive file access patterns, or obfuscation techniques were detected during the analysis.
Audit Metadata