Context-Inappropriate Capability
Medium
- Confidence
- 93% confidence
- Finding
- The guidance explicitly recommends using an inline script via dangerouslySetInnerHTML to mutate the DOM before hydration. While the specific example uses a constant string rather than direct user input, this normalizes a hazardous pattern in a best-practices skill without discussing CSP, Trusted Types, or the requirement that injected content remain strictly static, which can lead downstream users to introduce XSS-prone variants.
