edu-plane-geometry
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). 模板
template/board-geo.html在运行时从__LESSON_DATA__的DATA.lesson.problem/DATA.steps等字段直接读取并写入innerHTML/KaTeX 渲染(JSON注入路径为generate.py用template.replace(..., json.dumps(data))),因此若外部用户可影响这些字段的任意文本内容,就会被该工作流程的前端 LLM/JS渲染链路摄入。
MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).
- Potentially malicious external URL detected (high risk: 0.80). The HTML templates load remote JavaScript/CSS from CDNs (e.g. https://cdn.tailwindcss.com and https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.16.8/katex.min.js) which are fetched and executed by the browser at runtime and are relied upon for rendering/behavior (KaTeX for math rendering), so they constitute runtime remote code execution.
Issues (2)
W011
MEDIUMThird-party content exposure detected (indirect prompt injection risk).
W012
MEDIUMUnverifiable external dependency detected (runtime URL that controls agent).
Audit Metadata