image-local-replacer
Warn
Audited by Snyk on Aug 24, 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). 运行时会读取
replacements.json(由命令行参数config指定)中的text/background/cover/font等字段并把其中的text写入图片,因此若外部用户可提交该 JSON 里的任意文本,则会把其作为自由文本在运行时直接喂给处理逻辑(draw.text(...))。
Issues (1)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
Audit Metadata