scientific-schematics
Warn
Audited by Socket on Nov 10, 2026
1 alert found:
SecuritySecurityscripts/generate_schematic.py
MEDIUMSecurityMEDIUM
scripts/generate_schematic.py
As supplied, this file has a syntax error and cannot execute. Its intended behavior sends prompts and an OPENROUTER_API_KEY to https://openrouter.ai/api/v1/chat/completions, then executes API-generated Python locally without isolation, creating a significant code-execution risk if corrected and run. No direct credential theft or malicious payload is present in the fragment, but generated code could access and exfiltrate local data. Security severity is high for the intended workflow; confidence is high.
Confidence: 99%Severity: 88%
Audit Metadata