T09 · Insecure Skill Coding Practices
- Location
scripts/render_preview.py:11- Finding
Unescaped Drawing Data Enables Markdown and HTML Content Injection
- Content
View full analysis
Dict[str, str]: out: Dict[str, str] = {} for key, patterns in GB_KEYS.items(): for p in patterns: m = re.search(p, text) if m: # pick first non-None group for g in m.groups(): if g: out[key] = g.strip() break break return out ``` ```python ROW = re.compile( r"^(?P\d{1,3})\s+(?P[A-Za-z0-9./\-]+)\s+(?P[\u4e00-\u9fa5A-Za-z0-9 \-]+?)\s+(?P\d+)\s+(?P[^\s]+)(?:\s+(?P.+))?$" ) def extract_bom( ...[truncated 3152 chars]- Remediation
View remediation
value | injected | columns [deceptive link](https://attacker.example/) ``` 8. Verify that generated output displays each payload as literal text, does not change table structure, and does not create active remote resources. ]]>
