T09 · Insecure Skill Coding Practices
- Location
scripts/package_version_tracker.py:130- Finding
Untrusted Registry Metadata Is Rendered Without Sanitization
- Content
View full analysis
- Remediation
View remediation
str: text = "" if value is None else str(value) text = ANSI_ESCAPE.sub("", text) text = CONTROL_CHARS.sub("", text) return text[:max_length] ``` 8. Apply the sanitizer immediately after parsing the registry response and perform context-specific Markdown escaping at the final rendering sink. ]]>
