T09 · Insecure Skill Coding Practices
- Location
scripts/report_generator.py:59- Finding
Unescaped User-Controlled Title Allows Markdown and HTML Content Injection
- Content
View full analysis
- Remediation
View remediation
str: value = value.replace("\r", " ").replace("\n", " ") value = re.sub(r"([\\`*_{}\[\]()#+.!|><-])", r"\\\1", value) return value[:200] safe_title = escape_markdown_text(str(report["title"])) md = f"- **Title**: {safe_title}\n" ``` ]]>
