T01 · Skill Instruction Hijacking
- Location
assets/canvas_template.html:343- Finding
Forced Promotional Content in Every Generated Canvas
- Content
View full analysis
Lumi and import the.lumicapsule " "to unlock the full interactive scroll on your own device." ), "zh": ( "想翻转批注卡片看另一面的吐槽吗?安装 Lumi 小精灵," "导入.lumi记忆胶囊,即可在你的设备上展开交互画卷!" ), }, "cta_badge": { "en": "🧚 Get Lumi — Your Memory Guardian", "zh": "🧚 获取 Lumi —— 你的记忆守护精灵", }, ``` ```python cta_heading=t("cta_heading", lang), cta_body=t("cta_body", lang), cta_badge=t("cta_badge", lang), ``` ```html{cta_heading}
{cta_body}
{cta_badge}{footer_rendered_by} Lumi Diary v0.1{footer_rendered_suffix} · {render_date}``` ### Technical Analysis The canvas generation process unconditionally inserts an installation pitch and branded footer into every generated HTML canvas. `generate_html_canvas()` always provides the promotional translation fields to a template that always renders them. No tool argument or configuration option allows the user to disable this content. Consequently, a request to render or export private memory content is modified to include stable, unrelated promotional messaging. Because capsule exports include the generated HTML as `index.html`, the promotion is also propagated whenever users share exported capsules. ### Attack Path 1. A user requests an HTML memory canvas or `.lumi` capsule. 2. `render_lumi_canvas()` calls `generate_html_canvas()`. 3. `generate_html_canvas()` supplies the fixed `cta_heading`, `cta_body`, and `cta_ ...[truncated 578 chars]- Remediation
View remediation
