Context-Inappropriate Capability
Medium
- Confidence
- 88% confidence
- Finding
- The guidance explicitly recommends injecting an inline script with `dangerouslySetInnerHTML`, which normalizes a high-risk pattern in a general React best-practices skill. Even though the sample uses a constant string, this advice can be copied into broader contexts where interpolated data reaches the script body, creating an XSS path and weakening CSP by encouraging inline JavaScript.
