scientific-schematics
Fail
Audited by Snyk on Aug 6, 2026
Risk Level: HIGH
Full Analysis
HIGH W007: Insecure credential handling detected in skill instructions.
- Insecure credential handling detected (high risk: 0.90). The prompt shows examples that embed API keys directly (inline api_key parameter in Python and a --api-key command-line flag), which requires handling or outputting secret values verbatim and creates exfiltration risk.
MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).
- Third-party content exposure detected (medium risk: 0.30). In
generate_schematic_ai.py, the outsider-supplieduser_prompt(CLIprompt) is embedded directly into the image-generation request and also into the Gemini review prompt (ORIGINAL REQUEST: {original_prompt}), so free text you provide is ingested by the LLM at runtime.
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.90). The skill makes runtime API calls to OpenRouter (base URL https://openrouter.ai/api/v1) to both generate images and receive textual critiques that are injected into the prompt-improvement logic (and the API key is required), so the external OpenRouter endpoint directly controls prompts at runtime.
Issues (3)
W007
HIGHInsecure credential handling detected in skill instructions.
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata