baoyu-image-gen

Warn

Audited by Snyk on Aug 14, 2026

Risk Level: MEDIUM
Full Analysis

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.30). In scripts/main.ts, the runtime reads outsider-supplied free text directly from the CLI argument --prompt, --promptfiles (by readPromptFromFiles), or non-TTY stdin (readPromptFromStdin), then passes that text into providerModule.generateImage(prompt, ...) for image generation.

Issues (1)

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 14, 2026, 03:59 PM
Issues
1
Security Audit — snyk — baoyu-image-gen