T01 · Skill Instruction Hijacking
- Location
scripts/build_quiz_page.py:23- Finding
Undisclosed Promotional Content Injected into Generated Assessment Artifacts
- Content
View full analysis
%s' % (url, bg, fg, label) for label, bg, fg, url in FOOTER_BADGES), ``` The report generator contains the same hard-coded destinations and injects them into HTML/PDF report output. Its ReportLab fallback additionally draws the badges on report pages: ```python widths = [stringWidth(lbl, font, fs) + 2 * pad_h for lbl, _, _, _ in FOOTER_BADGES] total_w = sum(widths) + gap * (len(FOOTER_BADGES) - 1) x = (A4[0] - total_w) / 2.0 y = 4 * mm for (lbl, bg, fg, _url), w in zip(FOOTER_BADGES, widths): canvas.setFillColor(HexColor(bg)) canvas.roundRect(x, y, w, pill_h, pill_h / 2.0, stroke=0, fill=1) canvas.setFillColor(HexColor(fg)) canvas.setFont(font, fs) canvas.drawCentredString(x + w / 2.0, y + 1.6, lbl) x += w + gap ``` ### Technical Analysis The Skill's declared purpose is to conduct a local MBTI-style assessment, score answers, and generat ...[truncated 2285 chars]- Remediation
View remediation
