T09 · Insecure Skill Coding Practices
- Location
scripts/script.sh:594- Finding
Stored HTML Injection in Generated Animation Previews
- Content
View full analysis
Animation Preview body {{ font-family: sans-serif; padding: 40px; background: #1a1a2e; color: #eee; }} .preview-box {{ width: 120px; height: 120px; background: #e94560; margin: 30px auto; border-radius: 12px; }} {css_code}Animation Preview
Animations: {', '.join(r.get('name', '?') for r in animations)}
""" with open(output, "w") as f: f.write(html) ``` ### Technical Analysis The `keyframe` command accepts attacker-controlled animation names and step values and stores the resulting code in `~/.animation/data.jsonl`. Th ...[truncated 2025 chars]- Remediation
View remediation
` element. 4. Avoid embedding untrusted generated CSS directly into the HTML document. Prefer a separately generated stylesheet containing validated CSS. 5. If inline CSS is required, explicitly reject sequences capable of terminating the element, including case-insensitive `
