edu-chem-tutorial

Warn

Audited by Snyk on Aug 8, 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). 运行时把 __TUTORIAL_DATA__(由 scripts/generate.py 注入到 template/tutorial.htmlconst _DATA = __TUTORIAL_DATA__)中的外部“spec”字段(如 steps[].body/points.itemssteps[].sceneArgs)直接用于 innerHTML 渲染到侧栏,因此只要攻击者能提交/注入 spec(可通过把其写入该占位符生成 HTML 的同一工作流输入),就会把其自由文本送入浏览器端 LLM/脚本可读渲染路径。

Issues (1)

W011
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Aug 8, 2026, 05:14 AM
Issues
1
Security Audit — snyk — edu-chem-tutorial