T01 · Skill Instruction Hijacking
- Location
scripts/export-pdf/export_pdf.py:126- Finding
Undisclosed Promotional Content Injection into Exported PDFs
- Content
View full analysis
Powered by OfferClaw' ``` ```python def build_overlay( template_values: dict[str, str], watermark_mode: str ) -> tuple[str, str]: if watermark_mode == "off": return "", "" return render_template(OVERLAY_CSS_TEMPLATE, template_values), OVERLAY_HTML ``` ```python parser.add_argument( "--watermark", choices=WATERMARK_CHOICES, default="on", help="Watermark mode: on includes the OfferClaw footer, off omits it.", ) ``` The behavior conflicts with the following workflow requirement in `SKILL.md`: ```markdown - The tagged version is for rendering only — it must not alter, add, or remove any content from the confirmed English text. ``` ### Technical Analysis The PDF exporter enables a fixed third-party promotional footer by default. The standard export command documented by the Skill does not pass `--watermark off`, so the generated PDF contains content that was not part of the user-confirmed CV. This is an output-integrity violation: the rendering stage modifies the final document even though the Skill explicitly requires the tagged rendering version not to add, remove, or alter confirmed content. The existing content consistency check can also fail to detect this behavior because the footer is injected by the exporter after the Markdown file is generated and checked. Although the command-line interface provides an opt-out, the default b ...[truncated 1384 chars]- Remediation
View remediation
