T09 · Insecure Skill Coding Practices
- Location
scripts/generate_card.py:184- Finding
Unescaped User Content Allows Active HTML and JavaScript Injection
- Content
View full analysis
{stars}' tags_html = "" if tags: tags_html = '' + \ ''.join(f'{t}' for t in tags) + '' body = f"""{author}{rating_html}📖 {cover_desc}{('💡 Reason to read:' + reason + '
') if reason else ''} {('📝 Key takeaway:' + takeaway + '
') if ta ...[truncated 5566 chars]- Remediation
View remediation
``` 5. **Isolate screenshot rendering.** Use a temporary browser profile, disable unnecessary browser permissions, block all network requests, avoid permissive local-file-access flags, and destroy the browser context after each card. 6. **Add security regression tests.** Test every text and list field with payloads containing `
